From 14fd8688db19d3c8025cd13a80ebd898669f8b0d Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:11:16 +0100 Subject: [PATCH] Fix typos (#2894) --- precompiles/call-permit/README.md | 2 +- test/contracts/src/wormhole/Messages.sol | 6 +++--- tools/README.md | 2 +- tools/pov/README.md | 2 +- tools/test-scripts/test-staking.ts | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/precompiles/call-permit/README.md b/precompiles/call-permit/README.md index 52d68faec4..47b30f499d 100644 --- a/precompiles/call-permit/README.md +++ b/precompiles/call-permit/README.md @@ -16,7 +16,7 @@ made a transaction herself. **Bob** is thus paying the transaction fees and ## How to sign the permit -The following code is an exemple that is working in a Metamask-injected webpage. +The following code is an example that is working in a Metamask-injected webpage. **Bob** then need to make a transaction towards the precompile address with the same data and **Alice**'s signature. diff --git a/test/contracts/src/wormhole/Messages.sol b/test/contracts/src/wormhole/Messages.sol index 134864cf8b..17a51f749a 100644 --- a/test/contracts/src/wormhole/Messages.sol +++ b/test/contracts/src/wormhole/Messages.sol @@ -177,9 +177,9 @@ contract Messages is Getters { } /** - * @dev verifySignatures serves to validate arbitrary sigatures against an arbitrary guardianSet + * @dev verifySignatures serves to validate arbitrary signatures against an arbitrary guardianSet * - it intentionally does not solve for expectations within guardianSet (you should use verifyVM if you need these protections) - * - it intentioanlly does not solve for quorum (you should use verifyVM if you need these protections) + * - it intentionally does not solve for quorum (you should use verifyVM if you need these protections) * - it intentionally returns true when signatures is an empty set (you should use verifyVM if you need these protections) */ function verifySignatures( @@ -301,7 +301,7 @@ contract Messages is Getters { } /** - * @dev quorum serves solely to determine the number of signatures required to acheive quorum + * @dev quorum serves solely to determine the number of signatures required to achieve quorum */ function quorum( uint numGuardians diff --git a/tools/README.md b/tools/README.md index 8ea811494a..8e4e5a9e17 100644 --- a/tools/README.md +++ b/tools/README.md @@ -135,7 +135,7 @@ time by including only the native runtimes you need. For that you have to carefully check which runtimes you need, both on the moonbeam side and on the polkadot side. -Here is the list of cargo aliases allowing you to compile only some native rutimes: +Here is the list of cargo aliases allowing you to compile only some native runtimes: | command | native runtimes | | ------------------------ | ------------------------------------- | diff --git a/tools/pov/README.md b/tools/pov/README.md index 9cf03f6730..5c0c4deeac 100644 --- a/tools/pov/README.md +++ b/tools/pov/README.md @@ -16,7 +16,7 @@ This serves as tool for answering the questions in the following category: - Why does the PoV size increase/decrease? - How does an alternate implementation compare on the same metrics? -_Note:_ The numbers obtained via the script have a direct correlation with the specific benchmark that was crafted for this pupose and the provided input. +_Note:_ The numbers obtained via the script have a direct correlation with the specific benchmark that was crafted for this purpose and the provided input. ## Usage diff --git a/tools/test-scripts/test-staking.ts b/tools/test-scripts/test-staking.ts index 7de4504317..24726563c1 100644 --- a/tools/test-scripts/test-staking.ts +++ b/tools/test-scripts/test-staking.ts @@ -223,7 +223,7 @@ async function test() { nominations: { owner: string; amount: string }[]; } ).nominations[0].owner === GERALD, - "nomination didnt go through" + "nomination didn't go through" ); // Revoke Delegation @@ -264,4 +264,4 @@ async function test() { test(); // TODO: leave_candidates -// TODO: ethan (added candidate) doesnt produce blocks => need to move blockPerRound to storage +// TODO: ethan (added candidate) doesn't produce blocks => need to move blockPerRound to storage