From ad40b65b2957d1c5776efabbe552471458a3c129 Mon Sep 17 00:00:00 2001 From: Ashitaka <96790496+ashitakah@users.noreply.github.com> Date: Tue, 23 Jul 2024 22:47:14 -0300 Subject: [PATCH] feat: pure to view (#36) --- solidity/contracts/Module.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/contracts/Module.sol b/solidity/contracts/Module.sol index fe1eb343..c47af2ae 100644 --- a/solidity/contracts/Module.sol +++ b/solidity/contracts/Module.sol @@ -28,7 +28,7 @@ abstract contract Module is IModule { ) external virtual onlyOracle {} /// @inheritdoc IModule - function validateParameters(bytes calldata _encodedParameters) external pure virtual returns (bool _valid) {} + function validateParameters(bytes calldata _encodedParameters) external view virtual returns (bool _valid) {} /** * @notice Computes the id a given request