-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade SDK v0.47 to v0.50 (#1069)
# Related Github tickets - Upgrading SDK v0.47.4 to v0.50.2 # Background _This PR contains all the changes that has to be done for the upgrade, including integration tests/unit tests. This also contains latest master branch commits upto [this](66fb3ff90a08ae1699e068490d4e69f21f622401)_ # Testing completed - [x] `keeper_integration_tests` are moved to `tests/integration/{module}` with local fixture setup, leaving the dependency on app/app_setup.go (so the file app_setup.go is deleted) - [x] New test cases added are * **_util/keeper/address_test.go_** which covers **_util/keeper/address.go_** * **_/x/gravity/migrations/v1/migrate_test.go_** which covers **_/x/gravity/migrations/v1/migrate.go_** - [x] Most of the test coverage exists as it is with upgrade related changes, only few got updated as listed below * **_tests/integration/evm/keeper/keeper_integration_test.go_** had `putMessageInQueue` in the case `there is another upload valset already in` only but later we needed to add for two more functions, `TestFirstSnapshot_OnSnapshotBuilt()` function and `TestOldPublishedSnapshot_OnSnapshotBuilt` function * In **_x/paloma/ante.go_** after a series of discussion we arrived at the conclusion to use `libmeta.getSigner` but the test cases were failing so I mentioned [here](https://github.com/palomachain/paloma/blob/bcdf4d248c51caa2898f58d4b42e0d91add59395/x/paloma/ante.go#L96) with comment, you may interpret this change to adapt with the test case. - [ ] tested in a private testnet - [x] Upgrade testing is done # Breaking changes - [ ] I have checked my code for breaking changes - [ ] If there are breaking changes, there is a supporting migration. --------- Co-authored-by: vishal <[email protected]> Co-authored-by: Christian Lohr <[email protected]>
- Loading branch information
1 parent
2eb3a05
commit a4b1e22
Showing
339 changed files
with
9,734 additions
and
7,811 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ release/ | |
build/ | ||
dist/ | ||
.scratch/ | ||
|
||
tests/integration/evm/keeper/testdata |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.