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

Upgrade to Cosmos v0.46 #1477

Merged
merged 103 commits into from
Apr 4, 2023
Merged

Upgrade to Cosmos v0.46 #1477

merged 103 commits into from
Apr 4, 2023

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Feb 24, 2023

Version upgrades:

  • cosmos v0.45.10 -> v0.46.10
  • ethermint v0.14.0 -> v0.21.0
  • ibc v3.4.0 -> v6.1.0

Note that Cosmos and Ethermint forked dependencies use a pseudo-version targeting the latest commits on the branches, and should be updated to use a tagged version when review of those dependecies are completed.

Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
Signed-off-by: drklee3 <derrick@dlee.dev>
x/community/keeper/proposal_handler_test.go Outdated Show resolved Hide resolved
cmd/kava/cmd/root.go Outdated Show resolved Hide resolved
contrib/devnet/init-new-chain.sh Show resolved Hide resolved
x/evmutil/client/cli/evm.go Outdated Show resolved Hide resolved
@karzak
Copy link
Member

karzak commented Mar 24, 2023

On the cosmos-v46 branch of kvtool, I'm currently getting

2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.Params
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.ChainConfig
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.State
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.TransactionLogs
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.Log
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.TxResult
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.AccessTuple
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.TraceConfig
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.EIP712AllowedMsg
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.EIP712NestedMsgType
2023/03/24 13:52:17 proto: duplicate proto type registered: ethermint.evm.v1.EIP712MsgAttrType

@pirtleshell pirtleshell reopened this Mar 31, 2023
Copy link
Member

@rhuairahrighairidh rhuairahrighairidh left a comment

Choose a reason for hiding this comment

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

had a final look through, found a couple of small things I added to #1522 , but otherwise looks good for internal testnet 🚀

Comment on lines +210 to +214

if rp.RewardsPerSecond.Amount.IsZero() {
return fmt.Errorf("reward amount cannot be zero: %v", rp.RewardsPerSecond)
}

Copy link
Member

Choose a reason for hiding this comment

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

nit: what was the reason for this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is passed to sdk.NewDecCoinsFromCoins in the accumulator which would have the sdk bug in the method if it has a 0 amount

@galxy25 galxy25 merged commit f757d7a into master Apr 4, 2023
@galxy25 galxy25 deleted the dl-cosmos-v.46 branch April 4, 2023 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants