Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling issues #395

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/interfaces/ICapacitor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion contracts/socket/SocketDst.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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_,
Expand Down
6 changes: 3 additions & 3 deletions contracts/socket/SocketSrc.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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][
Expand Down