Skip to content

fix(examples): use correct verifyBatchInclusion function and update python scripts on examples/verify #1795

Description

@JuArce

Description

The example available in examples/verify uses the deprecated verifyBatchInclusion function which does not receive senderAddress. It should use the following function

function verifyBatchInclusion(
bytes32proofCommitment,
bytes32pubInputCommitment,
bytes32provingSystemAuxDataCommitment,
bytes20proofGeneratorAddr,
bytes32batchMerkleRoot,
bytesmemorymerkleProof,
uint256verificationDataBatchIndex,
addresssenderAddress
) externalviewonlyWhenNotPaused(2) returns (bool) {
...
}

Also, the python scripts to generate the verification data does not work. It uses an old version of the encoded data file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions