mirror of
https://github.com/logos-co/staking.git
synced 2025-02-02 22:04:25 +00:00
chore(StakeManager.spec): fix wrong Sload requirement
This commit is contained in:
parent
f8d52e27e1
commit
fc3578ee48
@ -61,7 +61,7 @@ hook Sstore accounts[KEY address addr].totalMP uint256 newValue (uint256 oldValu
|
||||
}
|
||||
|
||||
hook Sload uint256 newValue accounts[KEY address addr].totalMP {
|
||||
require sumOfBalances >= to_mathint(newValue);
|
||||
require sumOfMultipliers >= to_mathint(newValue);
|
||||
}
|
||||
|
||||
invariant sumOfBalancesIsTotalSupplyBalance()
|
||||
|
Loading…
x
Reference in New Issue
Block a user