Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathb1 committed Dec 12, 2024
1 parent dde8198 commit 7e22f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/transaction_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (tt *TransactionTest) Run(chainID *big.Int) error {
if stx, ok := tx.(*types.SetCodeTransaction); ok {
authorizationsLen = uint64(len(stx.GetAuthorizations()))
}
requiredGas, err := core.IntrinsicGas(msg.Data(), msg.AccessList(), msg.To() == nil, rules.IsHomestead, rules.IsIstanbul, rules.IsShanghai, authorizationsLen)
requiredGas, err := core.IntrinsicGas(msg.Data(), msg.AccessList(), msg.To() == nil, rules.IsHomestead, rules.IsIstanbul, rules.IsShanghai, rules.IsPrague, authorizationsLen)
if err != nil {
return nil, nil, 0, err
}
Expand Down
2 changes: 1 addition & 1 deletion txnprovider/txpool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ func (p *TxPool) best(ctx context.Context, n int, txns *TxnsRlp, onTopOf, availa
best := p.pending.best

isShanghai := p.isShanghai() || p.isAgra()
isPrague := p.isCancun()
isPrague := p.isPrague()

txns.Resize(uint(min(n, len(best.ms))))
var toRemove []*metaTxn
Expand Down

0 comments on commit 7e22f1e

Please sign in to comment.