-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: multi-network upgrade handler (#5959)
* multi-network upgrade handler * run mainnet upgrade handler for e2e network IDs * fixes * fix * widen tolerance * more resilient way to calculate coins used * add logs to upgrade handler * scale error tolerance with spread factor * change back init tag * update changelog * Fix imports * check liquidity prior to creating pool * check base/quote rather than all denoms * check if pool only has 2 assets * skip pools that are already linked * add log and fix issue * add an additional log * more logs * more prints * skip if incentive gauge duration does not exist * use gogotypes * use store.Has * error instead of panic on getgaugeId from poolId * Update app/upgrades/v17/upgrades_test.go Co-authored-by: Roman <[email protected]> * remove extra prints * remove old logs * enable superfluid assets both chains * remove unused func * setting the default ibc-hooks params * separate method for enable superfluid for testnet * drastically simplify the upgrade handler * check superfluid error type directly * remove use of pointer of coinsUsed and poolLinks * Update app/upgrades/v17/upgrades.go * Update app/upgrades/v17/upgrades.go * add spot price check when adding testnet assets * fix osmo amount * add error check * add additional check from testnet to mainnet * remove this check from mainnet handler * fix lingering merge conflict --------- Co-authored-by: devbot-wizard <[email protected]> Co-authored-by: Roman <[email protected]> Co-authored-by: Nicolas Lara <[email protected]>
- Loading branch information
1 parent
af41714
commit a0bfd58
Showing
10 changed files
with
472 additions
and
114 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
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.