chore(StakeManager.spec): fix wrong Sload requirement

This commit is contained in:
Ricardo Guilherme Schmidt 2024-09-28 23:24:45 -03:00
parent fefc4dc4f0
commit e2646f8e1b
No known key found for this signature in database
GPG Key ID: 54B4454CC123AD17
1 changed files with 1 additions and 1 deletions

View File

@ -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()