diff --git a/x/commitment/keeper/airdrop.go b/x/commitment/keeper/airdrop.go index 77a4f5efe..18b83f155 100644 --- a/x/commitment/keeper/airdrop.go +++ b/x/commitment/keeper/airdrop.go @@ -9,7 +9,7 @@ import ( ) const MaxElysAmount = 3_218_460_000_000 -const MaxEdenAmount = 3_316_344_000_000 +const MaxEdenAmount = 3_441_097_000_000 func (k Keeper) GetAtomStaker(ctx sdk.Context, address sdk.AccAddress) (val types.AtomStaker) { store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) diff --git a/x/commitment/migrations/v7_migration.go b/x/commitment/migrations/v7_migration.go index a2bb44aa9..a1f7fe858 100644 --- a/x/commitment/migrations/v7_migration.go +++ b/x/commitment/migrations/v7_migration.go @@ -1,6 +1,7 @@ package migrations import ( + "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/elys-network/elys/x/commitment/types" ) @@ -18,14 +19,14 @@ func (m Migrator) V7Migration(ctx sdk.Context) error { m.keeper.SetParams(ctx, newParams) // List of atom stakers with addresses and amounts - // atomStakers := []types.AtomStaker{ - // {Address: "address1", Amount: math.NewInt(1000)}, - // } + atomStakers := []types.AtomStaker{ + {Address: "address1", Amount: math.NewInt(1000)}, + } // // Add missing wallet addresses to atom stakers DS - // for _, staker := range atomStakers { - // m.keeper.SetAtomStaker(ctx, staker) - // } + for _, staker := range atomStakers { + m.keeper.SetAtomStaker(ctx, staker) + } return nil }