From 5dfde6733ebdaf679a3097e37a5a3ff4cdb5246f Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Mon, 28 Oct 2024 10:57:27 +0800 Subject: [PATCH 1/3] chore(protocol): change Hekla base sharingPctg to 80% This reverts commit 1565b0c2044295fd670462d8daaf57fbb3d000a2. --- packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol b/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol index 162ca9e930c..a9754fc644e 100644 --- a/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol +++ b/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol @@ -22,7 +22,7 @@ contract HeklaTaikoL1 is TaikoL1 { maxAnchorHeightOffset: 64, baseFeeConfig: LibSharedData.BaseFeeConfig({ adjustmentQuotient: 8, - sharingPctg: 75, + sharingPctg: 80, gasIssuancePerSecond: 5_000_000, minGasExcess: 1_340_000_000, maxGasIssuancePerBlock: 600_000_000 // two minutes From 40ed33cee62923ee9a5a14978835e8f3e058c558 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Mon, 28 Oct 2024 10:59:53 +0800 Subject: [PATCH 2/3] Update Lib1559Math.t.sol --- packages/protocol/test/layer2/Lib1559Math.t.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/protocol/test/layer2/Lib1559Math.t.sol b/packages/protocol/test/layer2/Lib1559Math.t.sol index dd821e0e13e..b650f231e23 100644 --- a/packages/protocol/test/layer2/Lib1559Math.t.sol +++ b/packages/protocol/test/layer2/Lib1559Math.t.sol @@ -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 @@ -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 From 58906def64094b8303ab029ea0ca0676a2feef31 Mon Sep 17 00:00:00 2001 From: Daniel Wang <99078276+dantaik@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:09:50 +0800 Subject: [PATCH 3/3] Update packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol --- packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol b/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol index a9754fc644e..df331237bb0 100644 --- a/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol +++ b/packages/protocol/contracts/layer1/hekla/HeklaTaikoL1.sol @@ -23,7 +23,7 @@ contract HeklaTaikoL1 is TaikoL1 { baseFeeConfig: LibSharedData.BaseFeeConfig({ adjustmentQuotient: 8, sharingPctg: 80, - gasIssuancePerSecond: 5_000_000, + gasIssuancePerSecond: 1_000_000, minGasExcess: 1_340_000_000, maxGasIssuancePerBlock: 600_000_000 // two minutes }),