From 60f4922d82e5f6f619e40d2d6417711162a9b59a Mon Sep 17 00:00:00 2001 From: gavin Date: Sat, 9 Nov 2024 21:28:29 +0800 Subject: [PATCH] feat(protocol): increase zk(risc0 & sp1) rate --- .../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 a2e0784e1fd..0499226f1ce 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 % 1000 == 0) return LibTiers.TIER_ZKVM_RISC0; - else if (_rand % 1000 == 1) return LibTiers.TIER_ZKVM_SP1; + if (_rand % 200 == 0) return LibTiers.TIER_ZKVM_RISC0; + else if (_rand % 40 == 1) return LibTiers.TIER_ZKVM_SP1; else return LibTiers.TIER_SGX; } return LibTiers.TIER_SGX;