Skip to content

Commit

Permalink
refactor: use calldata (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent authored Dec 14, 2023
1 parent 49fc8fa commit 5679904
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 5679904

Please sign in to comment.