Skip to content

Commit

Permalink
fix: comment typos (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 authored Oct 18, 2023
1 parent 3d3cf79 commit 047520d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .changeset/forty-turtles-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe(__filename, () => {
// set predicate data to be the same as the configurable constant
predicate.setData(configurable.WHITELISTED);

// transfering funds to the predicate
// transferring funds to the predicate
const tx1 = await wallet.transfer(predicate.address, 500_000, BaseAssetId, { gasPrice });

await tx1.waitForResult();
Expand All @@ -38,7 +38,7 @@ describe(__filename, () => {

const amountToTransfer = 100;

// transfering funds from the predicate to destination if predicate returns true
// transferring funds from the predicate to destination if predicate returns true
const tx2 = await predicate.transfer(destinationWallet.address, amountToTransfer, BaseAssetId, {
gasPrice,
});
Expand All @@ -58,7 +58,7 @@ describe(__filename, () => {
// set predicate data to be the same as the configurable constant
predicate.setData('0xa703b26833939dabc41d3fcaefa00e62cee8e1ac46db37e0fa5d4c9fe30b4132');

// transfering funds to the predicate
// transferring funds to the predicate
const tx1 = await wallet.transfer(predicate.address, 300_000, BaseAssetId, { gasPrice });

await tx1.waitForResult();
Expand All @@ -69,7 +69,7 @@ describe(__filename, () => {

const amountToTransfer = 100;

// transfering funds from the predicate to destination if predicate returns true
// transferring funds from the predicate to destination if predicate returns true
const tx2 = await predicate.transfer(destinationWallet.address, amountToTransfer, BaseAssetId, {
gasPrice,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Predicate with multiple arguments

You can pass more than one arugment to a predicate. For example, this is a predicate that evaluates to `true` if the two arguments are not equal:
You can pass more than one argument to a predicate. For example, this is a predicate that evaluates to `true` if the two arguments are not equal:

<<< @/../../../packages/fuel-gauge/fixtures/forc-projects/predicate-multi-args/src/main.sw#predicate-multi-args-sw{rust:line-numbers}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe('PredicateConditionalInputs', () => {
bn(aliceAssetABefore).add(bn(amountToTransfer)).toNumber()
);

// predicate transfered the asset to alice
// predicate transferred the asset to alice
expect(bn(predicateAssetAAfter).toNumber()).toBe(
bn(predicateAssetABefore).sub(bn(amountToTransfer)).toNumber()
);
Expand Down
2 changes: 1 addition & 1 deletion packages/signer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**@fuel-ts/signer** is a sub-module for interacting with **Fuel**.

This module containts utilities for secp256-k1 signing, verifying and recovery operations.
This module contains utilities for secp256-k1 signing, verifying and recovery operations.

# Table of contents

Expand Down

0 comments on commit 047520d

Please sign in to comment.