Skip to content

Commit

Permalink
update contract abi to match audit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbuild3r committed Oct 11, 2023
1 parent 9a71483 commit ba58636
Show file tree
Hide file tree
Showing 4 changed files with 6,120 additions and 15,637 deletions.
18,432 changes: 4,583 additions & 13,849 deletions sol/WorldIDIdentityManagerImplV1.json

Large diffs are not rendered by default.

3,322 changes: 1,536 additions & 1,786 deletions sol/WorldIDIdentityManagerImplV2.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/contracts/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abigen!(
struct RootInfo { uint256 root; uint128 supersededTimestamp; bool isValid }
event TreeChanged(uint256 indexed preRoot, uint8 indexed kind, uint256 indexed postRoot)
function registerIdentities(uint256[8] calldata insertionProof, uint256 preRoot, uint32 startIndex, uint256[] calldata identityCommitments, uint256 postRoot) public virtual
function deleteIdentities(uint256[8] calldata deletionProof, uint32 batchSize, bytes calldata packedDeletionIndices, uint256 preRoot, uint256 postRoot) public virtual
function deleteIdentities(uint256[8] calldata deletionProof, bytes calldata packedDeletionIndices, uint256 preRoot, uint256 postRoot) public virtual
function latestRoot() public view virtual returns (uint256 root)
function owner() public view virtual returns (address)
function queryRoot(uint256 root) public view virtual returns (RootInfo memory)
Expand Down
1 change: 0 additions & 1 deletion src/contracts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ impl IdentityManager {
.abi
.delete_identities(
proof_points_array,
batch_size,
packed_deletion_indices.into(),
pre_root,
post_root,
Expand Down

0 comments on commit ba58636

Please sign in to comment.