v0.56.0
What's Changed
- feat!: add support for experimental encoding in logs by @hal3e in #1259
- chore!: remove unused
response
method by @hal3e in #1263 - chore: bump
forc
to0.49.2
by @hal3e in #1268 - chore: refactor
fuel_types
imports by @hal3e in #1273 - chore: bump
forc
to0.50.0
by @hal3e in #1272 - fix!: encoding capacity overflow by @iqdecay in #1249
- chore: seal traits by @MujkicA in #1276
- chore: bump
fuel-core
to0.22.1
by @hal3e in #1280 - refactor:
Error
type by @hal3e in #1270 - chore: bump
forc
to0.51.1
by @hal3e in #1284 - chore: update deprecated functions by @hal3e in #1293
- feat!: add
decode_as_debug_str
toABIDecoder
by @hal3e in #1291 - docs: expand converting types page by @sarahschwartz in #1295
- fix: configurables encoding to have top level u8 and bool single-byte optimizations by @segfault-magnet in #1294
- feat!: update
fuel-core
to0.23.0
by @hal3e in #1292 - Bump versions to 0.56.0 by @digorithm in #1298
Full Changelog: v0.55.0...v0.56.0
Removed unused response method
We've removed response method from ScriptCallHandler
, ContractCallHandler
and MultiContractCallHandler
.
Fix encoding capacity overflow bug
Configurables
structs must be instantiated through a::new(encoder_config)
or::default()
method.Configurables::with_some_string_config(some_string)
methods now return aResult<Configurables>
instead ofConfigurables
.Predicates::encode_data
now returns aResult<UnresolvedBytes>
instead ofUnresolvedBytes
.PredicateEncoder
structs must be instantiated through a::new(encoder_config)
or::default()
method.
New decode_as_debug_str
for the `ABIDecoder
You can now decode straight into a debug string:
let debug_output = ABIDecoder::default().decode_as_debug_str(¶m_type, &[0, 0, 0, 0, 0, 0, 0, 123])?;
This was done so users could use ParamTypes
at runtime to debug logs or return receipts. In addition, users are able to go directly from ProgramABI
and some data to decoded debug.
BREAKING CHANGE: EnumVariants
are now imported through param_types::EnumVariants
Support for fuel-core
0.23.0
TxPolicies
gas_price
is replaced withtip
.dry_run
now returnsTxStatus
. The receipts can be taken withtx_status.take_receipts()
.checked_dry_run
is deleted.TransactionResponse
'sblock_id
is replaced withblock_height
.estimate_transaction_cost
has a new argumentblock_horizon
used to estimate the gas price.