Skip to content

Commit

Permalink
Merge pull request #224 from testinprod-io/feature/mininny/add-empty-…
Browse files Browse the repository at this point in the history
…blobfee-for-deposit-tx

Add empty uint256 to st.emv.BlobFee
  • Loading branch information
mininny authored Oct 10, 2024
2 parents 782c79d + 58a317c commit 9117cf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ func (st *StateTransition) preCheck(gasBailout bool) error {
// Gas is free, but no refunds!
st.initialGas = st.msg.Gas()
st.gasRemaining += st.msg.Gas() // Add gas here in order to be able to execute calls.
st.evm.BlobFee = new(uint256.Int)
// Don't touch the gas pool for system transactions
if st.msg.IsSystemTx() {
if st.evm.ChainConfig().IsOptimismRegolith(st.evm.Context.Time) {
Expand Down

0 comments on commit 9117cf0

Please sign in to comment.