Skip to content

Commit

Permalink
test: update on expected gas
Browse files Browse the repository at this point in the history
  • Loading branch information
da1suk8 committed Apr 21, 2023
1 parent ca911f1 commit 7aac26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/wasm/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func TestInstantiate(t *testing.T) {

gasAfter := ctx.GasMeter().GasConsumed()
if types.EnableGasVerification {
require.Equal(t, uint64(0x194a1), gasAfter-gasBefore)
require.Equal(t, uint64(0x194a5), gasAfter-gasBefore)
}

// ensure it is stored properly
Expand Down Expand Up @@ -854,7 +854,7 @@ func TestExecute(t *testing.T) {
// make sure gas is properly deducted from ctx
gasAfter := ctx.GasMeter().GasConsumed()
if types.EnableGasVerification {
require.Equal(t, uint64(0x16c68), gasAfter-gasBefore)
require.Equal(t, uint64(0x16c6c), gasAfter-gasBefore)
}
// ensure bob now exists and got both payments released
bobAcct = accKeeper.GetAccount(ctx, bob)
Expand Down

0 comments on commit 7aac26f

Please sign in to comment.