-
Notifications
You must be signed in to change notification settings - Fork 96
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
Major upgrade to core (Alliance, IBC-hooks, ICA controller, token factory, cosmos v0.46) #106
Conversation
Codecov Report
@@ Coverage Diff @@
## test #106 +/- ##
=======================================
Coverage ? 70.77%
=======================================
Files ? 5
Lines ? 739
Branches ? 0
=======================================
Hits ? 523
Misses ? 200
Partials ? 16 |
0682490
to
72ee4f4
Compare
go.mod
Outdated
github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect | ||
github.com/cosmos/gogoproto v1.4.4 // indirect | ||
github.com/cosmos/gorocksdb v1.2.0 // indirect | ||
github.com/cosmos/iavl v0.19.5 // indirect | ||
github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect | ||
github.com/cosmos/ledger-go v0.9.2 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update?
#93
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emidev98 looked into it but doesn't seem like it was a simple upgrade. Will need to look further into it. Isn't consensus breaking so we could spend more time and investigate after this major release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be really good to have these libraries upgrade for the next major version. Should we check with @soulmachine in case he has more experience with the Ledger App to upgrade them for the next release?
go.mod
Outdated
github.com/cosmos/cosmos-sdk => github.com/terra-money/cosmos-sdk v0.45.12-terra.1 | ||
github.com/CosmWasm/wasmd => github.com/notional-labs/wasmd v0.30.0-sdk469.4 | ||
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 | ||
github.com/cosmos/cosmos-sdk => github.com/terra-money/cosmos-sdk v0.46.11-terra.rc.5 | ||
github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we running a forked version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For cosmwasm, there is no release for cosmos-sdk 46. Notional Labs released a version that supports it.
For ics23, they forked and renamed it into the cosmos organization here: github.com/confio/ics23 -> https://github.com/cosmos/ics23
For cosmos-sdk, we need a forked version because we updated how periodic vesting works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regarding
github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2
…into fix/swagger/gen
Fix/swagger/gen
merging to test, test track pisco, main tracks phoenix |
* upgraded to use cosmos-sdk 46 * feat: added token factory * feat: added ibc wasm hooks * feat: added healthcheck route * fix: renamed rest to error * fix: comsos-sdk/46 imports * feat: cosmossdk-46 add ICA * feat: added token factory genesis * feat: refactored upgrades and added tokenfactory genesis * refactored terra app configs * fix: added tokenfactory to app init * feat: remove icagenesis from InitChainer * feat: enable ica * feat: ICA demo and instructions to run the demo * fix: added test script to test chain upgrade + fixes for stores * fix: lint issues * fix: added ibc fee module * fix: make sure chain upgrade tester runs for the current codebase * feat: add alliance * fix: updated github workflows and added go.mod * fix: moved alliance keeper up * feat: added alliance and token factory swagger * feat: added ica host and controller swagger * chore: update chain upgrade tester * feat: intechain acc test all in one * feat: restructure integration tests * feat: integration tests ibc-hooks * feat: integration tests with ibc-hooks * feat: integration tests for alliance * fix: typos for progoc gen * feat: integration tests for versting accounts * feat: waiting for alliance to be instantiated * feat: integration tests for token factoryg * feat: spendable balance caclculated by block * chore: update cosmos sdk * feat: validate the custom bank module integration * fix: ci on cosmossdk 46 * fix: tests for vesting accounts * removed dependency on cometbft-db * chore: dependencies * fix: golang version ci * feat: upgrade ci from v3 to v4 * feat: add cosmwasm_1_1 * tests: added chain simulation * updated cosmos-sdk * added simulate into CI * test: add unit tests for simulation * fix:Gosec Security Scanner * test: alliance integration tests params * fix: swagger gen (#116) * add release * reup of release,dockerfile,makefile * add readme/cc frommain * fix error in readme * add multiplatform builds * remove darwin from multiplatform builds * update release build * update makefile * uncomment version for binary build * create rls thru github cli * set gh_token env variable * change draft to prerelease * change darwin to linux for mac build * change darwin to linux for mac build * create release then upload artifacts * add github token to release action * fix checkout in release job * calculate rls hashes thru github action * calculate checksum * calculate checksum * calculate checksum * calculate checksum * use --repo switch instead cloning * Major upgrade to core (Alliance, IBC-hooks, ICA controller, token factory, cosmos v0.46) (#106) * Cleanup (#98) * golangci-lint run ./... --fix * gofumpt * cleaner linter config * remove init.go * Update/readme (#110) * Create banner.png * Update readme.md * Delete banner.png * Create CODE_OF_CONDUCT.md * Update readme.md * fix: swagger gen * Revert "Cleanup (#98)" (#115) This reverts commit a97277b. * feat: update swagger gen --------- Co-authored-by: Jacob Gadikian <[email protected]> Co-authored-by: Evan <[email protected]> Co-authored-by: emidev98 <[email protected]> Co-authored-by: emidev98 <[email protected]> Co-authored-by: Greg Junge <[email protected]> * Update markdown files (#123) * Update readme.md * Update CHANGELOG.md * Update RELEASES.md * Update SECURITY.md * Update README.md * Update README.md * fix: security wasmvm (#122) * fix: security wasmvm * add dokerfile updates * update wasmd * update ledger-go dep * chore: increase code version --------- Co-authored-by: gregnuj <[email protected]> * Release/v2.3 (#127) * fix: security wasmvm * add dokerfile updates * update wasmd * update ledger-go dep * Update markdown files (#123) (#124) * Update readme.md * Update CHANGELOG.md * Update RELEASES.md * Update SECURITY.md * Update README.md * Update README.md Co-authored-by: Evan <[email protected]> * Test (#126) * Update markdown files (#123) * Update readme.md * Update CHANGELOG.md * Update RELEASES.md * Update SECURITY.md * Update README.md * Update README.md * fix: security wasmvm (#122) * fix: security wasmvm * add dokerfile updates * update wasmd * update ledger-go dep * chore: increase code version --------- Co-authored-by: gregnuj <[email protected]> Co-authored-by: Evan <[email protected]> Co-authored-by: emidev98 <[email protected]> * fix: coverage report --------- Co-authored-by: javiersuweijie <[email protected]> Co-authored-by: javier <[email protected]> Co-authored-by: gregnuj <[email protected]> Co-authored-by: Michal Turcan <[email protected]> Co-authored-by: Jacob Gadikian <[email protected]> Co-authored-by: Evan <[email protected]>
Change log
cosmos-sdk
to use 0.46.xwasm
to usegithub.com/notional-labs/wasmd v0.30.0-sdk469.4
ibc
andpacketfowardingmiddleware
from v3 to v6ibc-hooks
as a custom moduletoken-factory
moduleica-controller
modulealliance
moduleMisc updates
Tests performed
terrad
, putting in a software update proposal and switching to the newbinary
Integration Tests