Skip to content

Commit

Permalink
fix(protocol): revert Hekla ring buffer size changes (#17779)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: dantaik <[email protected]>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent 30631a9 commit e18cb87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions packages/protocol/contracts/L1/TaikoL1Hekla.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ contract TaikoL1Hekla is TaikoL1 {
function getConfig() public pure override returns (TaikoData.Config memory) {
return TaikoData.Config({
chainId: LibNetwork.TAIKO_HEKLA,
blockMaxProposals: 504_000, // = 7200 * 70
blockRingBufferSize: 540_000, // = 7200 * 75
blockMaxProposals: 324_000, // Never change this value as ring buffer is being reused!!!
blockRingBufferSize: 324_512, // Never change this value as ring buffer is being
// reused!!!
maxBlocksToVerify: 16,
blockMaxGasLimit: 240_000_000,
livenessBond: 125e18, // 125 Taiko token
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/script/upgrade/UpgradeTaikoL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ pragma solidity 0.8.24;

import "forge-std/src/Script.sol";
import "forge-std/src/console2.sol";
import "../../contracts/L1/TaikoL1.sol";
import "../../contracts/L1/TaikoL1Hekla.sol";
import "./UpgradeScript.s.sol";

contract UpgradeTaikoL1 is UpgradeScript {
function run() external setUp {
upgrade("TaikoL1", address(new TaikoL1()));
upgrade("TaikoL1", address(new TaikoL1Hekla()));
}
}

0 comments on commit e18cb87

Please sign in to comment.