Skip to content

feat: Canto v8#129

Merged
tkkwon1998 merged 227 commits intoCanto-Network:mainfrom
b-harvest:v8/develop
Aug 2, 2024
Merged

feat: Canto v8#129
tkkwon1998 merged 227 commits intoCanto-Network:mainfrom
b-harvest:v8/develop

Conversation

@dudong2
Copy link
Copy Markdown
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 <leesj9476lsj@gmail.com>
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
Copy Markdown
Contributor

poorphd commented Aug 1, 2024

@tkkwon1998 Can you review this PR?

Copy link
Copy Markdown
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
Copy Markdown
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
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