Skip to content

Commit

Permalink
feat(protocol): increase risc0 frequency in Hekla (#18407)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Nov 4, 2024
1 parent fac5c16 commit 350264c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contract HeklaTierRouter is TierProviderBase, ITierRouter {
/// @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;
if (_rand % 100 == 0) return LibTiers.TIER_ZKVM_RISC0;
else if (_rand % 1000 == 1) return LibTiers.TIER_ZKVM_SP1;
else return LibTiers.TIER_SGX;
}
Expand Down
3 changes: 2 additions & 1 deletion packages/protocol/deployments/hekla-contract-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@

### tierRouter

- impl: `0x45f63AF6ff5803BF4F2817FEe690f1cd5d5bc681`
- impl: `0x98d4FaD098526c4582063FA588C5e96229270366`
- logs:
- deployed on Jun 10, 2024 at commit `d5965bb`
- upgraded on Jun 14, 2024 at commit `cc10b04`
Expand All @@ -163,6 +163,7 @@
- upgraded on Sep 02, 2024 at commit `9dae5c8`
- upgraded on Oct 24, 2024 at commit `78f9ac0`
- upgraded on Oct 30, 2024 at commit `63455f9`
- upgraded on Nov 4, 2024 at commit `90b2693`

### prover_set

Expand Down

0 comments on commit 350264c

Please sign in to comment.