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 some typos in comments #362

Open
wants to merge 1 commit 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/mocks/fee-updater/SocketSimulator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ contract SocketSimulator is AccessControl {
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ contract FastSwitchboard is SwitchboardBase {
error AlreadyAttested();

// Error emitted if grant/revoke is tried for watcher role using generic grant/revoke functions.
// Watcher role is handled seperately bacause totalWatchers and fees need to be updated along with role change.
// Watcher role is handled seperately because totalWatchers and fees need to be updated along with role change.
error InvalidRole();

// Error emitted while attesting if root is zero or it doesnt match the root on socket for given proposal
// Error emitted while attesting if root is zero or it doesn't match the root on socket for given proposal
// helps in cases where attest tx has been sent but root changes on socket due to reorgs.
error InvalidRoot();

Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/tripCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type SummaryObj = {
* --testnets Run for testnets.
* Default is false.
*
* --integration Run for sepcified integration type. Can be fast or optimistic.
* --integration Run for specified integration type. Can be fast or optimistic.
* Default is fast.
*/

Expand Down
4 changes: 2 additions & 2 deletions scripts/admin/tripGlobal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ import { Contract } from "ethers";
* --testnets Run for testnets.
* Default is false.
*
* --integration Run for sepcified integration type. Can be fast or optimistic.
* --integration Run for specified integration type. Can be fast or optimistic.
* Default is fast.
*/

const main = async () => {
if (trip && untrip) {
console.log("both trip and untrip flags cant be passed. pass one of them.");
console.log("both trip and untrip flags can't be passed. pass one of them.");
return;
}
if (!trip && !untrip) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/admin/untripPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
* --testnets Run for testnets.
* Default is false.
*
* --integration Run for sepcified integration type. Can be fast or optimistic.
* --integration Run for specified integration type. Can be fast or optimistic.
* Default is fast.
*/

Expand Down