Skip to content

Commit

Permalink
remove mutext lock in lib_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Jan 17, 2025
1 parent ada59f4 commit a06cd0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/api/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -840,9 +840,7 @@ func BenchmarkContractCall(b *testing.B) {
gasMeter2 := NewMockGasMeter(TESTING_GAS_LIMIT)
igasMeter2 := types.GasMeter(gasMeter2)
store.SetGasMeter(gasMeter2)
testMutex.Lock()
info = MockInfoBin(b, "fred")
testMutex.Unlock()
msg := []byte(`{"allocate_large_memory":{"pages":0}}`) // replace with noop once we have it
res, _, err = Execute(cache, checksum, env, info, msg, &igasMeter2, store, api, &querier, TESTING_GAS_LIMIT, TESTING_PRINT_DEBUG)
require.NoError(b, err)
Expand Down

0 comments on commit a06cd0d

Please sign in to comment.