Skip to content

Commit

Permalink
refactor(x/authz)!: Use KVStoreService, context.Context and return er…
Browse files Browse the repository at this point in the history
…rors instead of panic (cosmos#15962)
  • Loading branch information
facundomedica committed Apr 27, 2023
1 parent 0407b57 commit 3524795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func NewSimApp(
stakingtypes.NewMultiStakingHooks(app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks()),
)

app.AuthzKeeper = authzkeeper.NewKeeper(keys[authzkeeper.StoreKey], appCodec, app.MsgServiceRouter(), app.AccountKeeper)
app.AuthzKeeper = authzkeeper.NewKeeper(runtime.NewKVStoreService(keys[authzkeeper.StoreKey]), appCodec, app.MsgServiceRouter(), app.AccountKeeper)

groupConfig := group.DefaultConfig()
/*
Expand Down

0 comments on commit 3524795

Please sign in to comment.