Add constraints correlating address(this).balance and msg.value

This commit is contained in:
Leo Alt
2021-08-25 21:10:08 +02:00
parent c69f91917d
commit 61160aa0e7
7 changed files with 123 additions and 23 deletions
+1 -3
View File
@@ -2283,9 +2283,7 @@ void SMTEncoder::resetStorageVariables()
void SMTEncoder::resetBalances()
{
// TODO this should be changed to `balances` only
// when `state` gets more members.
state().newState();
state().newBalances();
}
void SMTEncoder::resetReferences(VariableDeclaration const& _varDecl)