fix erc1155supply vacuity, change CI solc version to 8.4

This commit is contained in:
teryanarmen
2022-06-15 17:05:12 -07:00
parent 9708bc0397
commit 1701b0c7fd
9 changed files with 997 additions and 30 deletions

View File

@ -3,6 +3,7 @@ methods {
totalSupply(uint256) returns uint256 envfree
balanceOf(address, uint256) returns uint256 envfree
exists_wrapper(uint256) returns bool envfree
owner() returns address envfree
}
/// given two different token ids, if totalSupply for one changes, then
@ -19,6 +20,7 @@ filtered {
uint256 token2_before = totalSupply(token2);
env e; calldataarg args;
require e.msg.sender != owner(); // owner can call mintBatch and burnBatch in our harness
f(e, args);
uint256 token1_after = totalSupply(token1);