Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
prettymuchbryce committed Feb 15, 2023
1 parent fec75d9 commit 4ae2ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/capability/capability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ func (suite *CapabilityTestSuite) TestInitializeMemStore() {
prevGas := ctx.GasMeter().GasConsumed()
restartedModule := capability.NewAppModule(suite.cdc, *newKeeper, true)
restartedModule.BeginBlock(ctx, abci.RequestBeginBlock{})
gasUsed := ctx.GasMeter().GasConsumed()
suite.Require().True(newKeeper.IsInitialized(ctx), "memstore initialized flag not set")
blockGasUsed := ctx.BlockGasMeter().GasConsumed()
gasUsed := ctx.GasMeter().GasConsumed()

suite.Require().Equal(prevBlockGas, blockGasUsed, "beginblocker consumed block gas during execution")
suite.Require().Equal(prevGas, gasUsed, "beginblocker consumed gas during execution")
Expand Down

0 comments on commit 4ae2ecf

Please sign in to comment.