Skip to content

Commit

Permalink
chore(protocol): change Hekla sharingPctg to 80% & gasIssuancePerSeco…
Browse files Browse the repository at this point in the history
…nd to 1000000 (#18322)
  • Loading branch information
dantaik authored Oct 28, 2024
1 parent 0607ef7 commit 75feb5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ contract HeklaTaikoL1 is TaikoL1 {
maxAnchorHeightOffset: 64,
baseFeeConfig: LibSharedData.BaseFeeConfig({
adjustmentQuotient: 8,
sharingPctg: 75,
gasIssuancePerSecond: 5_000_000,
sharingPctg: 80,
gasIssuancePerSecond: 1_000_000,
minGasExcess: 1_340_000_000,
maxGasIssuancePerBlock: 600_000_000 // two minutes
}),
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/test/layer2/Lib1559Math.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contract TestLib1559Math is TaikoL2Test {
console2.log("Mainnet minimal basefee: ", Lib1559Math.basefee(1_340_000_000, 5_000_000 * 8));
}

function test_change_of_quotient_and_gips() public {
function test_change_of_quotient_and_gasIssuancePerSecond() public {
uint64 excess = 150 * 2_000_000;
uint64 target = 4 * 2_000_000;
uint256 unit = 10_000_000; // 0.01 gwei
Expand Down Expand Up @@ -74,7 +74,7 @@ contract TestLib1559Math is TaikoL2Test {
}
}

function test_change_of_quotient_and_gips2() public {
function test_change_of_quotient_and_gasIssuancePerSecond2() public {
uint64 excess = 1;
uint64 target = 60_000_000 * 8;
uint256 unit = 10_000_000; // 0.01 gwei
Expand Down

0 comments on commit 75feb5b

Please sign in to comment.