Skip to content

Commit

Permalink
test(RewardsStreamerMP): fix EmergencyMode spec
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast authored and 0x-r4bbit committed Dec 3, 2024
1 parent dffaea2 commit 7211b49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions certora/specs/EmergencyMode.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ definition isViewFunction(method f) returns bool = (
f.selector == sig:streamer.MIN_LOCKUP_PERIOD().selector ||
f.selector == sig:streamer.MAX_LOCKUP_PERIOD().selector ||
f.selector == sig:streamer.MAX_MULTIPLIER().selector ||
f.selector == sig:streamer.accountedRewards().selector ||
f.selector == sig:streamer.rewardIndex().selector ||
f.selector == sig:streamer.lastMPUpdatedTime().selector ||
f.selector == sig:streamer.owner().selector ||
Expand All @@ -23,7 +22,8 @@ definition isViewFunction(method f) returns bool = (
f.selector == sig:streamer.emergencyModeEnabled().selector ||
f.selector == sig:streamer.getStakedBalance(address).selector ||
f.selector == sig:streamer.getAccount(address).selector ||
f.selector == sig:streamer.getPendingRewards(address).selector ||
f.selector == sig:streamer.rewardsBalanceOf(address).selector ||
f.selector == sig:streamer.totalRewardsSupply().selector ||
f.selector == sig:streamer.calculateAccountRewards(address).selector
);

Expand All @@ -38,7 +38,7 @@ definition isTrustedCodehashAccessFunction(method f) returns bool = (
);

definition isInitializerFunction(method f) returns bool = (
f.selector == sig:streamer.initialize(address,address,address).selector
f.selector == sig:streamer.initialize(address,address).selector
);

definition isUUPSUpgradeableFunction(method f) returns bool = (
Expand Down

0 comments on commit 7211b49

Please sign in to comment.