diff --git a/packages/protocol/contracts/layer1/devnet/DevnetTierProvider.sol b/packages/protocol/contracts/layer1/devnet/DevnetTierProvider.sol index 0b84292663..4eb64bd94c 100644 --- a/packages/protocol/contracts/layer1/devnet/DevnetTierProvider.sol +++ b/packages/protocol/contracts/layer1/devnet/DevnetTierProvider.sol @@ -14,14 +14,21 @@ contract DevnetTierProvider is TierProviderBase, ITierRouter { /// @inheritdoc ITierProvider function getTierIds() public pure override returns (uint16[] memory tiers_) { - tiers_ = new uint16[](3); + tiers_ = new uint16[](6); tiers_[0] = LibTiers.TIER_OPTIMISTIC; - tiers_[1] = LibTiers.TIER_GUARDIAN_MINORITY; - tiers_[2] = LibTiers.TIER_GUARDIAN; + tiers_[1] = LibTiers.TIER_SGX; + tiers_[2] = LibTiers.TIER_ZKVM_RISC0; + tiers_[3] = LibTiers.TIER_GUARDIAN_MINORITY; + tiers_[4] = LibTiers.TIER_GUARDIAN; + tiers_[5] = LibTiers.TIER_ZKVM_SP1; } /// @inheritdoc ITierProvider - function getMinTier(address, uint256) public pure override returns (uint16) { - return LibTiers.TIER_OPTIMISTIC; + function getMinTier(address, uint256 _rand) public pure override returns (uint16) { + if (_rand % 4 == 0) { + return LibTiers.TIER_SGX; + } else { + return LibTiers.TIER_OPTIMISTIC; + } } } diff --git a/packages/protocol/contracts/layer2/based/TaikoL2.sol b/packages/protocol/contracts/layer2/based/TaikoL2.sol index 8740b50a1b..9a688bfd31 100644 --- a/packages/protocol/contracts/layer2/based/TaikoL2.sol +++ b/packages/protocol/contracts/layer2/based/TaikoL2.sol @@ -314,7 +314,7 @@ contract TaikoL2 is EssentialContract, IBlockHash { } function ontakeForkHeight() public pure virtual returns (uint64) { - return 0; + return 2; } /// @notice Calculates the basefee and the new gas excess value based on parent gas used and gas