-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
unknown unknown
committed
Oct 1, 2024
1 parent
0046910
commit f29f4b0
Showing
2 changed files
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package constantineupgrades | ||
|
||
import ( | ||
"context" | ||
|
||
storetypes "cosmossdk.io/store/types" | ||
upgradetypes "cosmossdk.io/x/upgrade/types" | ||
Check failure on line 7 in app/upgrades/constantineupgrades/contantineupgrades.go GitHub Actions / lint
|
||
"github.com/archway-network/archway/app/keepers" | ||
"github.com/archway-network/archway/app/upgrades" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
) | ||
|
||
var WASMD_50_Amino_Patch = upgrades.Upgrade{ | ||
UpgradeName: "wasmd_50_amino_patch", | ||
CreateUpgradeHandler: func(mm *module.Manager, cfg module.Configurator, _ keepers.ArchwayKeepers) upgradetypes.UpgradeHandler { | ||
return func(ctx context.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { | ||
return mm.RunMigrations(ctx, cfg, fromVM) | ||
} | ||
}, | ||
StoreUpgrades: storetypes.StoreUpgrades{}, | ||
} |