Skip to content

Commit c38f0e7

Browse files
committed
Update EVM initialization in TestEIP2537Precompile to include BlockContext and TxContext
1 parent 447af5e commit c38f0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/vm/contracts_write_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func printByteArrayWithCommas(arr []byte) string {
532532

533533
func TestEIP2537Precompile(t *testing.T) {
534534
precompile := &eip2537Precompile{}
535-
evm := NewEVM(Context{}, nil, params.TestChainConfig, Config{})
535+
evm := NewEVM(BlockContext{}, TxContext{}, nil, params.TestChainConfig, Config{})
536536

537537
for ti, tc := range bls12381TestCases {
538538
inputs, fullInput := compileInputs(tc.input)

0 commit comments

Comments
 (0)