Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tendermint: update to rc3 #6892

Merged
merged 37 commits into from
Aug 14, 2020
Merged

tendermint: update to rc3 #6892

merged 37 commits into from
Aug 14, 2020

Conversation

tac0turtle
Copy link
Member

@tac0turtle tac0turtle commented Jul 30, 2020

Description

Base PR for all related tendermint changes needed for rc3

ref #6365

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import changes thus far lgtm

go.mod Outdated Show resolved Hide resolved
x/staking/keeper/querier_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK - for import naming changes

go.mod Outdated Show resolved Hide resolved
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ 💜 🖤

I would say we can even move this out of draft mode.

@tac0turtle tac0turtle marked this pull request as ready for review July 30, 2020 14:38
@tac0turtle tac0turtle self-assigned this Jul 30, 2020
@tac0turtle tac0turtle changed the title tendermint: update 1 tendermint: update to rc2 Jul 30, 2020
@zmanian
Copy link
Member

zmanian commented Jul 31, 2020

https://github.com/cosmos/cosmos-sdk/blob/tm_update_1/codec/amino.go#L34-L36

relies on an Amino Register function that no longer exists on the Tendermint side.

Do we already have strategy for replacing this or are we looking for suggestion?

@tac0turtle
Copy link
Member Author

Do we already have strategy for replacing this or are we looking for suggestion?

I am a bit lost on why the sdk registered Evidence in the codec in the first place? Could you explain the need for sdk to register this?

Tendermint provides abci.Evidence, which is not the concrete type(s) of evidence. For the Rest Server it is again using a custom type and not the tendermint native types.

@tac0turtle
Copy link
Member Author

it doesnt fully complete the issue, but parts of it

@aaronc aaronc added this to the v0.40 [Stargate] milestone Aug 11, 2020
@tac0turtle
Copy link
Member Author

@alexanderbez @fedekunze @colin-axner want to do a double take?

@tac0turtle tac0turtle changed the title tendermint: update to rc2 tendermint: update to rc3 Aug 14, 2020
Makefile Outdated Show resolved Hide resolved
@@ -62,21 +62,11 @@ func (suite *TendermintTestSuite) TestValidate() {
},
{
name: "invalid height",
clientState: ibctmtypes.NewClientState(chainID, types.DefaultTrustLevel, trustingPeriod, ubdPeriod, maxClockDrift, 0, commitmenttypes.GetSDKSpecs()),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why these test cases got removed. The name doesn't match the error

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted but got failing tests now

x/ibc/07-tendermint/types/header.go Outdated Show resolved Hide resolved
x/ibc/07-tendermint/types/test_utils.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a final pass over all the baseapp, types, simapp, staking, capability, evidence and ibc(-transfer) pkgs. All changes LGTM! 🚀

@fedekunze fedekunze merged commit 8de96d1 into master Aug 14, 2020
@fedekunze fedekunze deleted the tm_update_1 branch August 14, 2020 17:58
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
* modify light imports

* change abci.header to tmproto.header

* use rc

* rc

* fix import

* Merge PR cosmos#6893: fix key imports

* fix rc2

* tendermint: update 3 (cosmos#6899)

* tendermint: update 4 (cosmos#6919)

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* tendermint: update 5 (cosmos#6923)

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* bump to latest master

* tendermint: update (cosmos#6972)

Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>

* Update x/ibc/07-tendermint/types/test_utils.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* address comment

* go mod

* bring back things

* fix test

* update tm proto files

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants