Skip to content

Commit

Permalink
chore: fix typos (#1405)
Browse files Browse the repository at this point in the history
* chore: fix typos

* update changeset
  • Loading branch information
shuoer86 authored Nov 6, 2023
1 parent fe579dc commit caf3bc7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .changeset/few-wombats-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 2 additions & 2 deletions apps/docs/src/guide/types/conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ The following example demonstrates how to convert between `Bytes32` and to `b256

## 2. ContractId

The Contract `id` property has the [AbstractAddress](./address#abstractaddress-class) type. This means that a contract ID can be converted amoung all the supported convertions from the `AbstractClass`.
The Contract `id` property has the [AbstractAddress](./address#abstractaddress-class) type. This means that a contract ID can be converted among all the supported convertions from the `AbstractClass`.

<<< @/../../docs-snippets/src/guide/types/conversion.test.ts#conversion-2{ts:line-numbers}

## 3. Wallet Address

The Wallet `address` property has the [AbstractAddress](./address#abstractaddress-class) type. So just like a contract ID, it can be converted amoung all the supported convertions from the `AbstractClass`.
The Wallet `address` property has the [AbstractAddress](./address#abstractaddress-class) type. So just like a contract ID, it can be converted among all the supported convertions from the `AbstractClass`.

<<< @/../../docs-snippets/src/guide/types/conversion.test.ts#conversion-3{ts:line-numbers}

Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@

- [#814](https://github.com/FuelLabs/fuels-ts/pull/814) [`5454ca3b`](https://github.com/FuelLabs/fuels-ts/commit/5454ca3b616401fda051962129b1d8a221e3139d) Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - export `mnemonic` package in `fuels` umbrella package
create/exports const `MNEMONIC_SIZES`
avoid throw error in predicate funciton `Mnemonic.isMnemonicValid`
avoid throw error in predicate function `Mnemonic.isMnemonicValid`

### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/mnemonic/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@

- [#814](https://github.com/FuelLabs/fuels-ts/pull/814) [`5454ca3b`](https://github.com/FuelLabs/fuels-ts/commit/5454ca3b616401fda051962129b1d8a221e3139d) Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - export `mnemonic` package in `fuels` umbrella package
create/exports const `MNEMONIC_SIZES`
avoid throw error in predicate funciton `Mnemonic.isMnemonicValid`
avoid throw error in predicate function `Mnemonic.isMnemonicValid`

### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/program/src/functions/base-invocation-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export class BaseInvocationScope<TReturn = any> {
/**
* NOTE: Simulating a transaction with UTXOs validation requires the transaction
* to be signed by the wallet. This is only possible if the wallet is unlocked.
* Since there is no garantee at this point that the account instance is an unlocked wallet
* Since there is no guarantee at this point that the account instance is an unlocked wallet
* (BaseWalletUnlocked instance), we need to check it before run the simulation. Perhaps
* we should think in a redesign of the AbstractAccount class to avoid this problem.
*/
Expand Down

0 comments on commit caf3bc7

Please sign in to comment.