Skip to content

Commit 9d2e39d

Browse files
authored
Add Tx Type 4 (#243)
1 parent 5396f38 commit 9d2e39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oracle/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ func (b *FullBlock) GetProposerTip() (*big.Int, error) {
504504
tipFee.Mul(gasPrice, gasUsed)
505505
case 1:
506506
tipFee.Mul(gasPrice, gasUsed)
507-
case 2, 3:
507+
case 2, 3, 4:
508508
// Sum gastipcap and basefee or saturate to gasfeecap
509509
usedGasPrice := utils.SumAndSaturate(tx.GasTipCap(), b.ExecutionHeader.BaseFee, tx.GasFeeCap())
510510
tipFee = new(big.Int).Mul(usedGasPrice, gasUsed)

0 commit comments

Comments
 (0)