Skip to content

Commit

Permalink
Fix typos (#2894)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Aug 2, 2024
1 parent ed4cd76 commit 14fd868
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion precompiles/call-permit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions test/contracts/src/wormhole/Messages.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ------------------------ | ------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion tools/pov/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tools/test-scripts/test-staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 14fd868

Please sign in to comment.