Skip to content

Commit

Permalink
use new gas meter
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 13, 2024
1 parent 8c4d4a5 commit 112e836
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/evm/keeper/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"sync/atomic"
"testing"

storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -55,6 +56,7 @@ func Fuzz_Concurrent_Counter(f *testing.F) {
for i := uint8(0); i < numThread; i++ {
wg.Add(1)
cacheCtx, _ := ctx.CacheContext()
cacheCtx = cacheCtx.WithGasMeter(storetypes.NewInfiniteGasMeter())
cacheCtxes[i] = cacheCtx
go func(ctx sdk.Context) {
defer wg.Done()
Expand Down

0 comments on commit 112e836

Please sign in to comment.