Skip to content

Commit

Permalink
Merge branch 'master' into oleksii/abi-decoder-crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
digorithm authored Sep 12, 2023
2 parents 22a6818 + 1113751 commit bfdc613
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuels-rs"
rust-version = "1.71.1"
version = "0.47.0"
version = "0.48.0"

[workspace.dependencies]
Inflector = "0.11.4"
Expand Down Expand Up @@ -83,10 +83,10 @@ fuel-types = { version = "0.35.3", default-features = false }
fuel-vm = "0.35.3"

# Workspace projects
fuels = { version = "0.47.0", path = "./packages/fuels" }
fuels-accounts = { version = "0.47.0", path = "./packages/fuels-accounts", default-features = false }
fuels-code-gen = { version = "0.47.0", path = "./packages/fuels-code-gen", default-features = false }
fuels-core = { version = "0.47.0", path = "./packages/fuels-core", default-features = false }
fuels-macros = { version = "0.47.0", path = "./packages/fuels-macros", default-features = false }
fuels-programs = { version = "0.47.0", path = "./packages/fuels-programs", default-features = false }
fuels-test-helpers = { version = "0.47.0", path = "./packages/fuels-test-helpers", default-features = false }
fuels = { version = "0.48.0", path = "./packages/fuels" }
fuels-accounts = { version = "0.48.0", path = "./packages/fuels-accounts", default-features = false }
fuels-code-gen = { version = "0.48.0", path = "./packages/fuels-code-gen", default-features = false }
fuels-core = { version = "0.48.0", path = "./packages/fuels-core", default-features = false }
fuels-macros = { version = "0.48.0", path = "./packages/fuels-macros", default-features = false }
fuels-programs = { version = "0.48.0", path = "./packages/fuels-programs", default-features = false }
fuels-test-helpers = { version = "0.48.0", path = "./packages/fuels-test-helpers", default-features = false }
4 changes: 2 additions & 2 deletions docs/src/connecting/short-lived.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ let wallet = launch_provider_and_get_wallet().await;
The `fuel-core-lib` feature allows us to run a `fuel-core` node without installing the `fuel-core` binary on the local machine. Using the `fuel-core-lib` feature flag entails downloading all the dependencies needed to run the fuel-core node.

```rust,ignore
fuels = { version = "0.47.0", features = ["fuel-core-lib"] }
fuels = { version = "0.48.0", features = ["fuel-core-lib"] }
```

### RocksDb

The `rocksdb` is an additional feature that, when combined with `fuel-core-lib`, provides persistent storage capabilities while using `fuel-core` as a library.

```rust,ignore
fuels = { version = "0.47.0", features = ["rocksdb"] }
fuels = { version = "0.48.0", features = ["rocksdb"] }
```
4 changes: 2 additions & 2 deletions docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ cargo test -- --nocapture
Add these dependencies on your `Cargo.toml`:

```toml
fuels = "0.47"
fuels = "0.48"
```

> **Note** We're using version `0.47` of the SDK, which is the latest version at the time of this writing.
> **Note** We're using version `0.48` of the SDK, which is the latest version at the time of this writing.
And then, in your Rust file that's going to make use of the SDK:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/wallets/mnemonic-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A mnemonic phrase is a cryptographically-generated sequence of words that's used to derive a private key. For instance: `"oblige salon price punch saddle immune slogan rare snap desert retire surprise";` would generate the address `0xdf9d0e6c6c5f5da6e82e5e1a77974af6642bdb450a10c43f0c6910a212600185`.

In addition to that, we also support [Hierarchical Deterministic Wallets](https://www.ledger.com/academy/crypto/what-are-hierarchical-deterministic-hd-wallets) and [derivation paths](https://learnmeabitcoin.com/technical/derivation-paths). You may recognize the string `"m/44'/60'/0'/0/0"` from somewhere; that's a derivation path. In simple terms, it's a way to derive many wallets from a single root wallet.
In addition to that, we also support [Hierarchical Deterministic Wallets](https://www.ledger.com/academy/crypto/what-are-hierarchical-deterministic-hd-wallets) and [derivation paths](https://thebitcoinmanual.com/articles/btc-derivation-path/). You may recognize the string `"m/44'/60'/0'/0/0"` from somewhere; that's a derivation path. In simple terms, it's a way to derive many wallets from a single root wallet.

The SDK gives you two wallets from mnemonic instantiation methods: one that takes a derivation path (`Wallet::new_from_mnemonic_phrase_with_path`) and one that uses the default derivation path, in case you don't want or don't need to configure that (`Wallet::new_from_mnemonic_phrase`).

Expand Down

0 comments on commit bfdc613

Please sign in to comment.