Skip to content

Commit

Permalink
disable BaseFee for calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Jul 31, 2023
1 parent 81c2e8d commit db9a26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w3vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (v *VM) apply(msg *w3types.Message, isCall bool, tracer vm.EVMLogger) (*Rec
gp := new(core.GasPool).AddGas(coreMsg.GasLimit)
evm := vm.NewEVM(*v.blockCtx, *txCtx, v.db, v.chainConfig, vm.Config{
Tracer: tracer,
NoBaseFee: v.noBaseFee,
NoBaseFee: v.noBaseFee || isCall,
})

snap := v.db.Snapshot()
Expand Down

0 comments on commit db9a26a

Please sign in to comment.