From 28acd21d69d9da5b8851d1aded12f83f56306f17 Mon Sep 17 00:00:00 2001 From: Timepunk <45543880+0xTimepunk@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:09:38 +0000 Subject: [PATCH] fix: calldata --- src/interfaces/ISuperRegistry.sol | 12 ++++++------ src/settings/SuperRegistry.sol | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/interfaces/ISuperRegistry.sol b/src/interfaces/ISuperRegistry.sol index f2b179963..3538c652c 100644 --- a/src/interfaces/ISuperRegistry.sol +++ b/src/interfaces/ISuperRegistry.sol @@ -189,14 +189,14 @@ interface ISuperRegistry { /// @param vaultLimit_ is the max limit of vaults per transaction function setVaultLimitPerDestination(uint64 chainId_, uint256 vaultLimit_) external; - /// @dev sets a new addresses on specific chains. + /// @dev sets new addresses on specific chains. /// @param ids_ are the identifiers of the address on that chain - /// @param newAddresses_ arethe new addresses on that chain - /// @param chainIds_ are the chain id sof that chain + /// @param newAddresses_ are the new addresses on that chain + /// @param chainIds_ are the chain ids of that chain function batchSetAddress( - bytes32[] memory ids_, - address[] memory newAddresses_, - uint64[] memory chainIds_ + bytes32[] calldata ids_, + address[] calldata newAddresses_, + uint64[] calldata chainIds_ ) external; diff --git a/src/settings/SuperRegistry.sol b/src/settings/SuperRegistry.sol index 41bc22c67..47e508259 100644 --- a/src/settings/SuperRegistry.sol +++ b/src/settings/SuperRegistry.sol @@ -277,9 +277,9 @@ contract SuperRegistry is ISuperRegistry, QuorumManager { /// @inheritdoc ISuperRegistry function batchSetAddress( - bytes32[] memory ids_, - address[] memory newAddresses_, - uint64[] memory chainIds_ + bytes32[] calldata ids_, + address[] calldata newAddresses_, + uint64[] calldata chainIds_ ) external override