forked from Canto-Network/Canto
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): merge upstream main (#32)
* feat: onboarding IBC middleware * fix: recovery test to use ibc/testing * refactor: package name change v6 -> v7 * docs: module specs * feat: proto for coinswap module * feat: swap event emit in ibc callback * test: convert fail test case added (cherry picked from commit 4b2176a) * feat: WIP coinswap module * refactor: delete migration code * refactor: coinswap module for Canto * fix: allowing vesting account * fix: use ethsecp256k address for Canto address * fix: emit swap event fix * test: IBC transfer to a blocked addr * refactor: remove unnecessary test case * fix: default params for coinswap and upgrade handler to use the default params * refactor: package name v7 -> v6 * refactor: remove ibc/testing/simapp * fix: go mod * fix: proto for coinswap * refactor: sort imports and revert unnecessary changes * fix: package name change v7 -> v6 * fix: bug in AmountOf * fix: validate params * remove x/vesting * remove vesting test in x/recovery * remove switch case for genesis clawback vesting account * remove vesting from app.go * remove vesting from ante * fix: default max sawp amount reference github issue: code-423n4/2023-06-canto-findings#36 * fix: swappedAmount in error case reference github issue: code-423n4/2023-06-canto-findings#71 * remove vesting import from handler_options * Revert "remove vesting import from handler_options" This reverts commit 2a152c4. * remove comment * remove vesting from ante handler * remove x/fees and app.go imports * add decorator to reject msgCreateClawbackVestingAccount in anteHandler * adding MsgCreateClawbackVestingAccount to authz limiter * add v6 upgrade handlers * setup upgrade handler in app.go * fix: resolve conflicts * feat: add workflow to build, test, codecov for ci/cd * fix: seperate antehandler for simulation * fix: simulation errors * fix: simulation workflow, update sims.yml, add GOPATH on makefile * fix: removing unused keeper from handler options * fix: update simulation target modules, refactor duplicated struct * remove x/recovery * remove recovery proto * remove recovery imports in app.go * add placeholder for ICS4wrapper in transferKeeper init * fix: remove recovery from storeKeysPrefixes * fix: simulation seed randomness was removed to make the ci/cd result deterministic * chore: add branches rule for workflow * Merge remote-tracking branch 'origin/canto-main' into onboarding-middleware-conflict-resolve # Conflicts: # app/app.go # x/recovery/keeper/ibc_callbacks.go # x/recovery/keeper/ibc_callbacks_integration_suite_test.go (cherry picked from commit 4d45df7) * Merge remote-tracking branch 'upstream/main' into onboarding-middleware-conflict-resolve # Conflicts: # app/app.go # app/app_test.go # app/test_helpers.go (cherry picked from commit ec76588) * fix: SetupTestingCantoApp (cherry picked from commit 5ac28de) * fix: coinswap module is added to simulation manager (cherry picked from commit ca2307f) * fix: bug in coinswap module's param change simulation (cherry picked from commit ba5685f) * chore: remove deprecated fee, vesting module's proto files (cherry picked from commit a7c7d17) * docs: remove deprecated module's on swagger config * build: fix proto gen, swagger script (cherry picked from commit f43ce50) * chore: formatting proto files * fix: re-generate proto pb.go files * docs: update swagger, statik * fix: update swagger for onboarding, coinswap module * refactor: package version bump v6 -> v7 * refactor: update *.pb.go files * package version bump from v6 to v7 * chore: apply proto-all after merge * fix: remove un-used imports and update coinswap sim-op lstoken can be used as maxToken which is not registered as params. with no-op, we can proceed sim tests. --------- Co-authored-by: poorphd <[email protected]> Co-authored-by: T.K. Kwon <[email protected]> Co-authored-by: Byungchul Park <[email protected]> Co-authored-by: dongsam <[email protected]>
- Loading branch information
1 parent
d39e530
commit 454af92
Showing
427 changed files
with
20,942 additions
and
25,407 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
branches: | ||
- main | ||
- release/** | ||
- upgrade/** | ||
permissions: | ||
contents: read | ||
|
||
|
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 |
---|---|---|
|
@@ -6,8 +6,8 @@ on: | |
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
- release/** | ||
- upgrade/** | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.