Skip to content
This repository was archived by the owner on May 18, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/standard/BaseStandardVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ abstract contract BaseStandardVerifier {
* @param _publicInputs - An array of the public inputs
* @return True if proof is valid, reverts otherwise
*/
function verify(bytes calldata _proof, bytes32[] calldata _publicInputs) external view returns (bool) {
function verify(bytes calldata _proof, bytes32[] calldata _publicInputs) public view returns (bool) {
loadVerificationKey(N_LOC, OMEGA_INVERSE_LOC);
// @note - The order of the checks in this implementation differs from the paper to save gas.
uint256 requiredPublicInputCount;
Expand Down
2 changes: 1 addition & 1 deletion src/ultra/BaseUltraVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ abstract contract BaseUltraVerifier {
* @param _publicInputs - An array of the public inputs
* @return True if proof is valid, reverts otherwise
*/
function verify(bytes calldata _proof, bytes32[] calldata _publicInputs) external view returns (bool) {
function verify(bytes calldata _proof, bytes32[] calldata _publicInputs) public view returns (bool) {
loadVerificationKey(N_LOC, OMEGA_INVERSE_LOC);

uint256 requiredPublicInputCount;
Expand Down