Browse Source

Added burn and burnBatch to filtered block of unexpectedBalanceChange

Thomas Adams 3 years ago
parent
commit
b10a2b8cd3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      certora/specs/ERC1155.spec

+ 3 - 1
certora/specs/ERC1155.spec

@@ -90,7 +90,9 @@ rule unexpectedBalanceChange(method f, env e)
                         && f.selector != _mint(address, uint256, uint256, bytes).selector 
                         && f.selector != _mintBatch(address, uint256[], uint256[], bytes).selector  
                         && f.selector != _burn(address, uint256, uint256).selector 
-                        && f.selector != _burnBatch(address, uint256[], uint256[]).selector } {
+                        && f.selector != _burnBatch(address, uint256[], uint256[]).selector 
+                        && f.selector != burn(address, uint256, uint256).selector 
+                        && f.selector != burnBatch(address, uint256[], uint256[]).selector } {
     address from; uint256 id;
     uint256 balanceBefore = balanceOf(from, id);