Skip to content

Commit

Permalink
docs(protocol): change Hekla tier provider config to require 100% SGX (
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored May 14, 2024
1 parent 2f9f584 commit 149b7ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/protocol/contracts/L1/tiers/HeklaTierProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ contract HeklaTierProvider is EssentialContract, ITierProvider {

/// @inheritdoc ITierProvider
function getMinTier(uint256 _rand) public pure override returns (uint16) {
// 50% will be selected to require SGX proofs.
if (_rand % 2 == 0) return LibTiers.TIER_SGX;
// Other blocks are optimistic, without validity proofs.
return LibTiers.TIER_OPTIMISTIC;
// All blocks require SGX proofs.
return LibTiers.TIER_SGX;
}
}
4 changes: 2 additions & 2 deletions packages/protocol/deployments/hekla-contract-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@

### tierProvider

- impl: `0x02932D1c8C9EBf283aA809E7591A070c82b1696D`
- impl: `0x750D885DCAB712bA808D66D934CF315D0D98d04c.`
- logs:
- upgraded on May 10, 2024 at commit `4903bec`
- upgraded on May 14, 2024 at commit `0ef7b8caa`

### guardian_prover_minority

Expand Down

0 comments on commit 149b7ae

Please sign in to comment.