Skip to content

Commit

Permalink
ERC721
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx authored and ernestognw committed Sep 8, 2023
1 parent 8ab9afe commit 9891051
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 75 deletions.
4 changes: 0 additions & 4 deletions certora/harnesses/ERC721Harness.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ contract ERC721Harness is ERC721 {
_burn(tokenId);
}

function tokenExists(uint256 tokenId) external view returns (bool) {
return _ownerOf(tokenId) != address(0);
}

function unsafeOwnerOf(uint256 tokenId) external view returns (address) {
return _ownerOf(tokenId);
}
Expand Down
2 changes: 1 addition & 1 deletion certora/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if (process.exitCode) {
}

for (const { spec, contract, files, options = [] } of specs) {
limit(runCertora, spec, contract, files, [...options.flatMap(opt => opt.split(' ')), ...argv.options]);
limit(runCertora, spec, contract, files, [...options, ...argv.options].flatMap(opt => opt.split(' ')));
}

// Run certora, aggregate the output and print it at the end
Expand Down
Loading

0 comments on commit 9891051

Please sign in to comment.