New
v0.73.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
Unclaimed project
Are you a maintainer of fuels-rs? Claim this project to take control of your public changelog and roadmap.
Changelog
Fuel Network Rust SDK
Last updated 21 days ago
In this release, we:
Features - #1651 - add support for abi errors, by @hal3e
Chores - #1656 - bump fuel-core to 0.43.2, by @kayagokalp
0.73.0, by @kayagokalpLogFormatter constructors renamed
// 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
// 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);
Empowering everyone to build reliable and efficient software.
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
A modern runtime for JavaScript and TypeScript.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.