v0.44.0
What's Changed
- Important: this release drops the support to the beta-3 network. To continue interacting with beta-3 nodes, use previous versions. This release supports the upcoming beta-4 release.
- refactor: remove setter from account trait by @MujkicA in #1004
- chore: update sign_and_verify test by @MujkicA in #1003
- feat: implement
AsRef<[u8]>
forIdentity
type by @iqdecay in #1006 - chore: rename
fn_args_layout
tofn_params_layout
inrustfmt.toml
by @kayagokalp in #994 - docs: show example of block time travel by @iqdecay in #985
- docs: match folders with navigation by @sarahschwartz in #1010
- feat!: add output variable estimation for
ScriptCallHandler
by @MujkicA in #976 - chore: remove unused file by @hal3e in #1015
- ci: use nextest by @segfault-magnet in #1016
- feat: add
WalletUnlocked
toprelude
by @Salka1988 in #1021 - ci: add back doctest testing by @segfault-magnet in #1024
- docs: show README.md for fuels on crates.io by @Br1ght0ne in #1026
- feat: add
U256
support by @hal3e in #1014 - bug: reexport fuel_tx::Output by @segfault-magnet in #1030
- docs: update testnet to beta-3 version by @Salka1988 in #1022
- fix: export
TxPointer
,UtxoId
andNonce
by @hal3e in #1038 - feat: add
LogDecoder
getter for script instances by @hal3e in #1036 - feat: improve transaction builder error by @hal3e in #1037
- test: implement tests over
Bytes
type by @iqdecay in #1041 - feat: add support for DbType::RocksDb by @Salka1988 in #998
- ci: auto setup of PRs and issues by @digorithm in #724
- deps: upgrade
fuel-core
andfuel-vm
crates versions by @iqdecay in #997 - chore: remove pr automation by @hal3e in #1051
- Bump version to 0.44.0 by @Dentosal in #1045
New Contributors
Full Changelog: v0.43.0...v0.44.0
New features and breaking changes
Transaction dependencies estimation for script calls
Similar to the same feature for contract calls. This introduces a breaking change: TxDependencyExtension
needs to be in scope to use append_variable_outputs
and append_contract
.
Support for U256
type
Missing types in the prelude and re-exports
Some types were missing from the main umbrella crate. These were added to it so now you can pull these from fuels
. Types like fuel_tx::Output
, TxPointer
, UtxoId
, Nonce
, and more.
New LogDecoder
getter for script instances
Improved error messages for the transaction builder
Support for configuring the client's RocksDB through the SDK
#[tokio::test]
#[cfg(any(not(feature = "fuel-core-lib"), feature = "rocksdb"))]
async fn create_or_use_rocksdb() -> Result<()> {
use fuels::prelude::*;
use std::path::PathBuf;
// ANCHOR: create_or_use_rocksdb
let provider_config = Config {
database_path: PathBuf::from("/tmp/.spider/db"),
database_type: DbType::RocksDb,
..Config::local_node()
};
// ANCHOR_END: create_or_use_rocksdb
launch_custom_provider_and_get_wallets(Default::default(), Some(provider_config), None)
.await;
Ok(())
}