-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 8f78b1f.
- Loading branch information
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ import "../thirdparty/LibMerkleTrie.sol"; | |
/// @author dantaik <[email protected]> | ||
interface IProofVerifier { | ||
function verifyZKP( | ||
string memory circuitId, | ||
string memory verifierId, | ||
bytes calldata zkproof, | ||
bytes32 blockHash, | ||
address prover, | ||
|
@@ -34,15 +34,15 @@ contract ProofVerifier is IProofVerifier, EssentialContract { | |
} | ||
|
||
function verifyZKP( | ||
string memory circuitId, | ||
string memory verifierId, | ||
bytes calldata zkproof, | ||
bytes32 blockHash, | ||
address prover, | ||
bytes32 txListHash | ||
) external view returns (bool) { | ||
return | ||
LibZKP.verify({ | ||
plonkVerifier: resolve(circuitId, false), | ||
plonkVerifier: resolve(verifierId, false), | ||
zkproof: zkproof, | ||
blockHash: blockHash, | ||
prover: prover, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters