Skip to content

Commit

Permalink
fix: calldata
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTimepunk committed Jan 17, 2024
1 parent 5fb4fe1 commit 28acd21
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/interfaces/ISuperRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
6 changes: 3 additions & 3 deletions src/settings/SuperRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28acd21

Please sign in to comment.