Skip to content

Commit

Permalink
refactor: use calldata
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Dec 14, 2023
1 parent 49fc8fa commit 05eb54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/interfaces/IModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ interface IModule {
* @param _encodedParameters The encoded parameters for the request
* @param _valid Boolean indicating if the parameters are valid or not
*/
function validateParameters(bytes memory _encodedParameters) external pure returns (bool _valid);
function validateParameters(bytes calldata _encodedParameters) external pure returns (bool _valid);

/**
* @notice Returns the name of the module.
Expand Down

0 comments on commit 05eb54f

Please sign in to comment.