go.mod: upgrade to github.com/holiman/uint256 v1.2.0 (#22745)
This commit is contained in:
committed by
GitHub
parent
f19a679b09
commit
ae5fcdc67f
@ -568,11 +568,11 @@ func BenchmarkOpSHA3(bench *testing.B) {
|
||||
env.interpreter = evmInterpreter
|
||||
mem.Resize(32)
|
||||
pc := uint64(0)
|
||||
start := uint256.NewInt()
|
||||
start := new(uint256.Int)
|
||||
|
||||
bench.ResetTimer()
|
||||
for i := 0; i < bench.N; i++ {
|
||||
stack.pushN(*uint256.NewInt().SetUint64(32), *start)
|
||||
stack.pushN(*uint256.NewInt(32), *start)
|
||||
opSha3(&pc, evmInterpreter, &ScopeContext{mem, stack, nil})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user