From b4571b873d593bc928deaecc90a882d68083f40c Mon Sep 17 00:00:00 2001 From: atheesh Date: Wed, 29 May 2024 10:52:04 +0530 Subject: [PATCH] lint --- simapp/upgrades.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simapp/upgrades.go b/simapp/upgrades.go index cdfa1075c9fc..720ee1eff266 100644 --- a/simapp/upgrades.go +++ b/simapp/upgrades.go @@ -35,10 +35,10 @@ func (app SimApp) RegisterUpgradeHandlers() { func(ctx context.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { app.AuthzKeeper.SetAuthzRulesKeys(ctx, &authz.AllowedGrantRulesKeys{ Keys: []*authz.Rule{ - &authz.Rule{Key: sdk.MsgTypeURL(&banktypes.MsgSend{}), Values: []string{ + {Key: sdk.MsgTypeURL(&banktypes.MsgSend{}), Values: []string{ authz.MaxAmount, authz.AllowedRecipients, }}, - &authz.Rule{Key: sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), Values: []string{ + {Key: sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), Values: []string{ authz.AllowedStakeValidators, authz.AllowedMaxStakeAmount, }}, },