Skip to content

Commit

Permalink
feat(protocol): increase zk(risc0 & sp1) rate in mainnet (#18481)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Nov 10, 2024
1 parent e84e472 commit f24a908
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f24a908

Please sign in to comment.