Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(protocol): increase risc0 frequency in Hekla #18407

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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