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

feat: Canto v8 #129

Merged
merged 227 commits into from
Aug 2, 2024
Merged

feat: Canto v8 #129

merged 227 commits into from
Aug 2, 2024

Conversation

dudong2
Copy link
Collaborator

@dudong2 dudong2 commented Jul 25, 2024

Description

Key dependency changes:

  • Cosmos-SDK v0.45.9 to v0.50.8
  • CometBFT (Tendermint) v0.34.25 to v0.38.9
  • ibc-go v3.2.0 to v8.3.2
  • go-ethereum v1.10.19 to v1.10.26

remained tasks

  • package name bump (v7 -> v8)
  • security patch

The above 2 tasks must be completed before release.

notable changed files

app

modules

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • included the necessary unit and integration tests
  • reviewed "Files changed" and left comments if necessary

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@dudong2 dudong2 changed the title feat: bump up cosmos-sdk v0.50.x and cometbft v0.38.x feat: Canto v8 Jul 26, 2024
@dudong2 dudong2 marked this pull request as draft July 26, 2024 03:36
dudong2 and others added 19 commits July 26, 2024 12:37
Co-authored-by: Sujong Lee <[email protected]>
feat. simulation codes for canto modules
feat: bump up cosmos-sdk v0.50.8, cometbft v0.38.9, ibc-go v8.3.2
* fix: wrong denom check at RegisterCoin

problem:
- `coinMetadata.Base` is used as the denom for the token pair
- However, the check is incorrectly performed using `coinMetadata.Name`, so it fails to detect if the denom is already registered

solution: check using `coinMetadata.Base`, not `.Name`

more context:
Unfortunately, there is already one case on the mainnet where multiple token pairs exist for the same denom(= ibc/13B6057538B93225F6EBACCB64574C49B2C1568C5AE6CCFE0A039D7DAC02BF29). However, this is not a major issue because only the latest token pair registered in the denom index is actually used.

 With this patch, such cases will no longer occur.

* chore: recover missing test codes and refactoring
feat: Bump up ethermint v0.22.0-sdk50-1
* add tc for working hash of modules

* chore: fix comment

* chore: add comment remove un-necessary comment

* chore: format imports
@dudong2 dudong2 marked this pull request as ready for review August 1, 2024 01:58
@poorphd
Copy link
Contributor

poorphd commented Aug 1, 2024

@tkkwon1998 Can you review this PR?

Copy link
Member

@tkkwon1998 tkkwon1998 left a comment

Choose a reason for hiding this comment

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

lgtm

@dudong2
Copy link
Collaborator Author

dudong2 commented Aug 2, 2024

@tkkwon1998
thank you for approve!
additionaly, please approve for github workflow and merge.

@tkkwon1998 tkkwon1998 merged commit 35694fa into Canto-Network:main Aug 2, 2024
8 checks passed
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.

5 participants