From 2a1bfe740aae6a8a16604fdaa2092d16be3ccafa Mon Sep 17 00:00:00 2001 From: Ashitaka <96790496+ashitakah@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:50:33 -0300 Subject: [PATCH] feat: validate-view (#35) --- solidity/interfaces/IModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/interfaces/IModule.sol b/solidity/interfaces/IModule.sol index c0e5b52a..25a050a3 100644 --- a/solidity/interfaces/IModule.sol +++ b/solidity/interfaces/IModule.sol @@ -73,7 +73,7 @@ interface IModule { * @param _encodedParameters The encoded parameters for the request * @return _valid Boolean indicating if the parameters are valid or not */ - function validateParameters(bytes calldata _encodedParameters) external pure returns (bool _valid); + function validateParameters(bytes calldata _encodedParameters) external view returns (bool _valid); /** * @notice Returns the name of the module.