From a0c21a382c779de54b119a6f9b2d5cd869f47f1d Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Thu, 2 Jan 2025 12:37:39 +0800 Subject: [PATCH] feat(protocol): adjust zk(risc0 & sp1) ratio (#18684) --- .../contracts/layer1/mainnet/rollup/MainnetTierRouter.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol b/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol index 331a3bee38f..282d65e8342 100644 --- a/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol +++ b/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol @@ -36,7 +36,7 @@ contract MainnetTierRouter is ITierRouter, TierProviderBase { function getMinTier(address _proposer, uint256 _rand) public view override returns (uint16) { if (_proposer == DAO_FALLBACK_PROPOSER) { if (_rand % 1000 == 0) return LibTiers.TIER_ZKVM_RISC0; - else if (_rand % 1000 < 99) return LibTiers.TIER_ZKVM_SP1; + else if (_rand % 1000 < 29) return LibTiers.TIER_ZKVM_SP1; else return LibTiers.TIER_SGX; } return LibTiers.TIER_SGX;