Skip to content

Commit

Permalink
upstream alpha7
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Dec 20, 2024
1 parent 2f700f7 commit d3f904e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,6 @@ func (st *StateTransition) TransitionDb(refunds bool, gasBailout bool) (*Executi

// BSC always gave gas bailout due to system transactions that set 2^256/2 gas limit and
// for Parlia consensus this flag should be always be set
if st.isParlia {
gasBailout = true
}

var skipCheck bool
if st.evm.ChainConfig().Parlia != nil && st.msg.Gas() == math.MaxUint64/2 && st.msg.From() == coinbase {
skipCheck = true
Expand Down

0 comments on commit d3f904e

Please sign in to comment.