mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 23:47:55 -05:00
use encodeCall vs encodeWithSelector (#414)
This commit is contained in:
@@ -48,7 +48,7 @@ abstract contract ZkEvmV2 is AccessControlUpgradeable, L1MessageServiceV1, IZkEv
|
||||
}
|
||||
|
||||
(bool callSuccess, bytes memory result) = verifierToUse.call(
|
||||
abi.encodeWithSelector(IPlonkVerifier.Verify.selector, _proof, publicInput)
|
||||
abi.encodeCall(IPlonkVerifier.Verify, (_proof, publicInput))
|
||||
);
|
||||
|
||||
if (!callSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user