|
|
|
@ -1417,11 +1417,11 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH |
|
|
|
|
} |
|
|
|
|
// Copy the original db so we don't modify it
|
|
|
|
|
statedb := db.Copy() |
|
|
|
|
msg := types.NewMessage(args.from(), args.To, uint64(*args.Nonce), args.Value.ToInt(), uint64(*args.Gas), args.GasPrice.ToInt(), nil, nil, args.data(), accessList, false) |
|
|
|
|
msg := types.NewMessage(args.from(), args.To, uint64(*args.Nonce), args.Value.ToInt(), uint64(*args.Gas), args.GasPrice.ToInt(), big.NewInt(0), big.NewInt(0), args.data(), accessList, false) |
|
|
|
|
|
|
|
|
|
// Apply the transaction with the access list tracer
|
|
|
|
|
tracer := vm.NewAccessListTracer(accessList, args.from(), to, precompiles) |
|
|
|
|
config := vm.Config{Tracer: tracer, Debug: true} |
|
|
|
|
config := vm.Config{Tracer: tracer, Debug: true, NoBaseFee: true} |
|
|
|
|
vmenv, _, err := b.GetEVM(ctx, msg, statedb, header, &config) |
|
|
|
|
if err != nil { |
|
|
|
|
return nil, 0, nil, err |
|
|
|
|