From 4f958b91b6c823ca6bd7449731a0c9005d97eb89 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:11:07 +0300 Subject: [PATCH 1/3] fix ICapacitor.sol --- contracts/interfaces/ICapacitor.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/interfaces/ICapacitor.sol b/contracts/interfaces/ICapacitor.sol index 1d1644438..db5fe8df7 100644 --- a/contracts/interfaces/ICapacitor.sol +++ b/contracts/interfaces/ICapacitor.sol @@ -26,7 +26,7 @@ interface ICapacitor { /** * @notice returns the root of packet for given id * @param id the id assigned to packet - * @return root root hash corresponding to given id + * @return root hash corresponding to given id */ function getRootByCount(uint64 id) external view returns (bytes32 root); From 579a61fecff46dca5ae14b48151a5ade28873a62 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:18:54 +0300 Subject: [PATCH 2/3] fix typo SocketDst.sol --- contracts/socket/SocketDst.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/socket/SocketDst.sol b/contracts/socket/SocketDst.sol index 58517e76d..1319a7eb0 100644 --- a/contracts/socket/SocketDst.sol +++ b/contracts/socket/SocketDst.sol @@ -247,7 +247,7 @@ abstract contract SocketDst is SocketBase { PlugConfig memory plugConfig_, bytes memory decapacitorProof_ ) internal { - // NOTE: is the the first un-trusted call in the system, another one is Plug.inbound + // NOTE: is the first un-trusted call in the system, another one is Plug.inbound if ( !ISwitchboard(plugConfig_.inboundSwitchboard__).allowPacket( packetRoot_, From 4874c3543b20a6cb0987534f51faa4fded99f747 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:19:42 +0300 Subject: [PATCH 3/3] fix typo SocketSrc.sol --- contracts/socket/SocketSrc.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/socket/SocketSrc.sol b/contracts/socket/SocketSrc.sol index 788468d2d..903c33c84 100644 --- a/contracts/socket/SocketSrc.sol +++ b/contracts/socket/SocketSrc.sol @@ -17,12 +17,12 @@ abstract contract SocketSrc is SocketBase { //////////////////////////////////////////////////////// /** - * @dev Error triggerred when invalid capacitor address is provided + * @dev Error triggered when invalid capacitor address is provided */ error InvalidCapacitorAddress(); /** - * @dev Error triggerred when siblingPlug is not found + * @dev Error triggered when siblingPlug is not found */ error PlugDisconnected(); @@ -92,7 +92,7 @@ abstract contract SocketSrc is SocketBase { // if no sibling plug is found for the given chain slug, revert if (plugConfig.siblingPlug == address(0)) revert PlugDisconnected(); - // fetches auxillary details for the message from the plug config + // fetches auxiliary details for the message from the plug config plugConfig.capacitor__ = _plugConfigs[msg.sender][siblingChainSlug_] .capacitor__; plugConfig.outboundSwitchboard__ = _plugConfigs[msg.sender][