Skip to content

Commit aa531d5

Browse files
committed
update threshold
1 parent 9fc1161 commit aa531d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

consensus/misc/eip1559.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
)
2626

2727
// Protocol-enforced maximum L2 base fee.
28-
// We would only go above this if L1 base fee hits 2164 Gwei.
28+
// We would only go above this if L1 base fee hits 2931 Gwei.
2929
const MaximumL2BaseFee = 10000000000
3030

3131
// VerifyEip1559Header verifies some header attributes which were changed in EIP-1559,

consensus/misc/eip1559_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func TestCalcBaseFee(t *testing.T) {
118118
{100000000000, 374700000},
119119
{111111111111, 412477777},
120120
{2164000000000, 7392300000},
121-
{4164000000000, 10000000000}, // cap at max L2 base fee
121+
{2931000000000, 10000000000}, // cap at max L2 base fee
122122
}
123123
for i, test := range tests {
124124
if have, want := CalcBaseFee(config(), nil, big.NewInt(test.parentL1BaseFee)), big.NewInt(test.expectedL2BaseFee); have.Cmp(want) != 0 {

0 commit comments

Comments
 (0)