mirror of
https://github.com/logos-co/staking.git
synced 2025-02-03 14:24:13 +00:00
fix(StakeManager.spec): ensure revertsWhenNoMigration
passes
The were changes in the contracts that caused this rule to fail. Namely `migrateTo` shouldn't be reverting so this as been removed from the rule and `transferNonPending` has been added as it was missing.
This commit is contained in:
parent
e723464245
commit
e9f0077488
@ -27,8 +27,8 @@ function getAccountBalance(address addr) returns uint256 {
|
||||
|
||||
function isMigrationfunction(method f) returns bool {
|
||||
return
|
||||
f.selector == sig:migrateFrom(address,bool,StakeManager.Account).selector ||
|
||||
f.selector == sig:migrateTo(bool).selector;
|
||||
f.selector == sig:migrateTo(bool).selector ||
|
||||
f.selector == sig:transferNonPending().selector;
|
||||
}
|
||||
|
||||
/* assume that migration is zero, causing the verification to take into account only
|
||||
|
Loading…
x
Reference in New Issue
Block a user