From 431435e6e74799caea94f53438238c63831cf07c Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Thu, 19 Dec 2024 12:36:30 +0800 Subject: [PATCH] feat(protocol): adjust the zk ratio(risc0 & sp1) (#18613) --- .../contracts/layer1/mainnet/rollup/MainnetTierRouter.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol b/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol index 0499226f1ce..331a3bee38f 100644 --- a/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol +++ b/packages/protocol/contracts/layer1/mainnet/rollup/MainnetTierRouter.sol @@ -35,8 +35,8 @@ contract MainnetTierRouter is ITierRouter, TierProviderBase { /// @inheritdoc ITierProvider function getMinTier(address _proposer, uint256 _rand) public view override returns (uint16) { if (_proposer == DAO_FALLBACK_PROPOSER) { - if (_rand % 200 == 0) return LibTiers.TIER_ZKVM_RISC0; - else if (_rand % 40 == 1) return LibTiers.TIER_ZKVM_SP1; + if (_rand % 1000 == 0) return LibTiers.TIER_ZKVM_RISC0; + else if (_rand % 1000 < 99) return LibTiers.TIER_ZKVM_SP1; else return LibTiers.TIER_SGX; } return LibTiers.TIER_SGX;