go-verkle
go-verkle copied to clipboard
Ensure that witness costs are charged per-tx and not per-block
The EIP definitions have changed, and the witness costs have to be charged per-transaction. We need to ensure that this is what the code does, because the old behavior was to charge said costs per-block.
In https://github.com/gballet/go-ethereum/pull/37, I'm fairly sure this is the case. The AccessWitness used is per-TxContext (which as the name implies, only exists for the lifetime of a transaction).
Long fixed. Closing.