feat!: return errors in module manager ABCI methods (#14847)
This commit is contained in:
@@ -78,7 +78,7 @@ func (s *E2ETestSuite) SetupSuite() {
|
||||
|
||||
// Make sure not to forget to persist `myParams` into the actual store,
|
||||
// this is done in InitChain.
|
||||
app.SetInitChainer(func(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain {
|
||||
app.SetInitChainer(func(ctx sdk.Context, req abci.RequestInitChain) (abci.ResponseInitChain, error) {
|
||||
subspace.SetParamSet(ctx, ¶mSet)
|
||||
|
||||
return app.InitChainer(ctx, req)
|
||||
|
||||
Reference in New Issue
Block a user