Skip to content

Commit

Permalink
feat(protocol): adjust zk(risc0 & sp1) ratio (#18684)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Jan 2, 2025
1 parent 210c585 commit a0c21a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a0c21a3

Please sign in to comment.