Download Latest Version v0.76.0 source code.tar.gz (365.5 kB)
Email in envelope

Get an email when there's a new version of Fuels-rs

Home / v0.73.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-14 1.5 kB
v0.73.0 source code.tar.gz 2025-05-14 367.4 kB
v0.73.0 source code.zip 2025-05-14 682.0 kB
Totals: 3 Items   1.1 MB 0

Summary

In this release, we: - Added support for the new abi errors. See the RFC for more information.

Breaking

  • Features - #1651 - add support for abi errors, by @hal3e

  • Chores - #1656 - bump fuel-core to 0.43.2, by @kayagokalp

Chores

  • #1657 - bump version to 0.73.0, by @kayagokalp

Migration Notes

1656 - Bump fuel-core to 0.43.2

1651 - Add support for abi errors

  • LogFormatter constructors renamed

```rust // old let fmt = LogFormatter::new::<MyLog>();

// new // for ordinary logs let fmt = LogFormatter::new_log::<MyLog>(); // for enums tagged with #[error_type] let fmt_err = LogFormatter::new_error::<MyError>(); ```

  • LogDecoder::new now needs the error-code map from the ABI

```rust // old let decoder = LogDecoder::new(formatters);

// new use std::collections::HashMap; use fuels::core::codec::{ErrorDetails, LogDecoder};

let formatters = / HashMap<LogId, LogFormatter> /; let error_codes: HashMap<u64, ErrorDetails> = / generated by Abigen or hand-built /;

let decoder = LogDecoder::new(formatters, error_codes); ```

Source: README.md, updated 2025-05-14