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 11, 2023
1 parent 9b42e46 commit 5247508
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 @@ -391,7 +391,7 @@ func TestInstantiate(t *testing.T) {

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

// ensure it is stored properly
Expand Down Expand Up @@ -625,7 +625,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(0x16f9c), gasAfter-gasBefore)
require.Equal(t, uint64(0x16fa0), gasAfter-gasBefore)
}
// ensure bob now exists and got both payments released
bobAcct = accKeeper.GetAccount(ctx, bob)
Expand Down

0 comments on commit 5247508

Please sign in to comment.