From 703acc170143d914b8c8e8b81829a3f335faa81e Mon Sep 17 00:00:00 2001 From: vladbochok Date: Tue, 12 Nov 2024 02:07:08 +0700 Subject: [PATCH] Fix function visibility overly permissive --- .../contracts/state-transition/verifiers/VerifierFflonk.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l1-contracts/contracts/state-transition/verifiers/VerifierFflonk.sol b/l1-contracts/contracts/state-transition/verifiers/VerifierFflonk.sol index b6fbc6be6..3e0f5a573 100644 --- a/l1-contracts/contracts/state-transition/verifiers/VerifierFflonk.sol +++ b/l1-contracts/contracts/state-transition/verifiers/VerifierFflonk.sol @@ -137,7 +137,7 @@ contract VerifierFflonk is IVerifierV2 { function verify( uint256[] calldata, // _publicInputs uint256[] calldata // _proof - ) public view virtual returns (bool) { + ) external view virtual returns (bool) { // Beginning of the big inline assembly block that makes all the verification work. // Note: We use the custom memory layout, so the return value should be returned from the assembly, not // Solidity code.