Skip to content

Commit

Permalink
Merge pull request #250 from Layr-Labs/fix-prover-havocs
Browse files Browse the repository at this point in the history
update specs to include "nondet" summary of the calls to `ServiceMana…
  • Loading branch information
ChaoticWalrus authored Oct 16, 2023
2 parents 5d2d534 + ca61dc0 commit dad75a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions certora/specs/core/DelegationManager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ methods {
function decreaseDelegatedShares(address,address,uint256) external;
function increaseDelegatedShares(address,address,uint256) external;

// external calls from DelegationManager to ServiceManager
function _.updateStakes(address[]) external => NONDET;

// external calls to Slasher
function _.isFrozen(address) external => DISPATCHER(true);
function _.canWithdraw(address,uint32,uint256) external => DISPATCHER(true);
Expand Down
3 changes: 3 additions & 0 deletions certora/specs/core/StrategyManager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ methods {
function _.decreaseDelegatedShares(address,address,uint256) external => DISPATCHER(true);
function _.increaseDelegatedShares(address,address,uint256) external => DISPATCHER(true);

// external calls from DelegationManager to ServiceManager
function _.updateStakes(address[]) external => NONDET;

// external calls to Slasher
function _.isFrozen(address) external => DISPATCHER(true);
function _.canWithdraw(address,uint32,uint256) external => DISPATCHER(true);
Expand Down
3 changes: 3 additions & 0 deletions certora/specs/pods/EigenPodManager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ methods {
function _.decreaseDelegatedShares(address,address,uint256) external;
function _.increaseDelegatedShares(address,address,uint256) external;

// external calls from DelegationManager to ServiceManager
function _.updateStakes(address[]) external => NONDET;

// external calls to Slasher
function _.isFrozen(address) external => DISPATCHER(true);
function _.canWithdraw(address,uint32,uint256) external => DISPATCHER(true);
Expand Down

0 comments on commit dad75a4

Please sign in to comment.