Skip to content

Tags: FuelLabs/forc-wallet

Tags

v0.15.2

Toggle v0.15.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
forc-wallet version update 0.15.1 -> 0.15.2 (#250)

Co-authored-by: z <[email protected]>

v0.15.1

Toggle v0.15.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
upd forc-tracing 0.67.0 -> 0.68.8 (#246)

## Description

This pull request includes a version update for the `forc-tracing`
dependency in the `Cargo.toml` file.

*
[`Cargo.toml`](diffhunk://#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542L14-R14):
Updated the `forc-tracing` dependency from version `0.67` to `0.68`.

---------

Co-authored-by: z <[email protected]>

v0.15.0

Toggle v0.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
update fuels-rs (#245)

Note: Requires merging of FuelLabs/fuels-rs#1670
^ then a release is required - after which we can then update the
`fuels-rs` dependency
^ this PR has been developed by locally pointing `fuels-rs` to PR branch
above

## Description

This pull request introduces several updates to modernize the codebase,
simplify address handling, and improve maintainability.
Key changes include upgrading the Rust version and edition, removing
support for `Bech32` addresses, and refactoring related logic and tests
to use the `Address` type consistently.
- primary changes to Bech32 address removal are due to this pr:
FuelLabs/fuels-rs#1669

### Environment and Configuration Updates:
* Updated the Rust version to `1.85.0` in `.github/workflows/ci.yml` and
`rust-toolchain.toml` to ensure compatibility with the latest features.
[[1]](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL15-R15)
[[2]](diffhunk://#diff-2b1bde2cf3a858b7bf7424cb8bcbf01f35b94dc80b925d9432cbab3319ca9b4eL3-R3)
* Changed the Rust edition to `2024` in `Cargo.toml` for access to new
language features.

### Address Handling Simplifications:
* Removed support for Bech32 addresses and replaced all instances with
the `Address` type across the codebase, including CLI commands, caching,
and transfer logic.
[[1]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L101-R94)
[[2]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L215-L221)
[[3]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L528-R450)
* Eliminated the `To` enum and related parsing logic for Bech32 and hex
addresses, simplifying address validation and usage.

### Code Refactoring:
* Refactored functions to remove unnecessary conversions between Bech32
and `Address` types, reducing complexity in methods like
`print_accounts_cli`, `transfer_cli`, and
`verify_address_and_update_cache`.
[[1]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L304-R255)
[[2]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L528-R450)
[[3]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L612-R518)
* Updated test cases to align with the new `Address` type, removing
Bech32-related assertions and ensuring compatibility with hex-based
addresses.
[[1]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L679-R589)
[[2]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L701-R611)

### Dependency and Import Cleanup:
* Reorganized imports in `src/account.rs` and `src/balance.rs` to remove
unused dependencies and improve readability.
[[1]](diffhunk://#diff-24f1b99fe644657495a289a0eacb2189c4aa3d51dd1f39253c667c424ba4ca96L6-L27)
[[2]](diffhunk://#diff-01340666501d0dc6f96a6ea7a2d24d1d17a0ae1e499ca3cf32d2615a454353ceR2-R14)

### Documentation Adjustments:
* Updated comments and type aliases to reflect the transition from
Bech32 to `Address`, ensuring clarity in the codebase.

---------

Co-authored-by: z <[email protected]>

v0.14.0

Toggle v0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump version to 0.14 (#239)

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refac: Update fuels and other dependencies (#236)

The key changes are:
- `WalletUnlocked` changes to `Wallet<Unlocked<S>>`
- `Provider` is now required to unlock a wallet, so I added `--node-url`
as an option at the top level of the CLI so it can be set for any of the
operations. Removed it from the subcommands.
- Introduced `CliContext` containing the wallet_path and node_url since
they have to get passed around in many places
- Added a more thorough unit test of `derive_account_unlocked` that uses
a mock Provider

Closes #226

v0.12.0

Toggle v0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump version `0.11.1` -> `0.12.0` (#231)

v0.11.1

Toggle v0.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump to 0.11.1 (#221)

# Changelog

- version bump `0.11.0` -> `0.11.1`

v0.11.0

Toggle v0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump to 0.11.0 (#214)

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
upgrade to fuels v0.66.6 and bump to v0.10.0 (#208)

Upgraded fuels version and ran `cargo update`

v0.9.1

Toggle v0.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump version to 0.9.1 (#207)