Bot releases are hidden (Show)
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.65.0...v0.65.1
Published by digorithm 3 months ago
fuel-core
0.30.0
by @xgreenx in https://github.com/FuelLabs/fuels-rs/pull/1436
set_max_fee_policy
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1435
CallHandler
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1402
NodeConfig
by @MujkicA in https://github.com/FuelLabs/fuels-rs/pull/1396
raw_slice
and string_slice
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1448
forc
0.61.2
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1453
fuel-core
0.31.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1454
FuelCallResponse
renamed to CallResponse
ContractCallHandler
removed in favour of CallHandler
ScriptCallHandler
removed in favour of CallHandler
method_hash
removed in favour of CallHandler::new_contract_call
static_gas_price
to NodeConfig
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.64.0...v0.65.0
Published by digorithm 4 months ago
fuel-core
0.28.0
by @xgreenx in https://github.com/FuelLabs/fuels-rs/pull/1420
dry_run
tx with non-zero base asset and tip by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1422
0.64.0
by @digorithm in https://github.com/FuelLabs/fuels-rs/pull/1433
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.63.1...v0.64.0
Published by digorithm 4 months ago
SetOptions { profile }
command by @Br1ght0ne in https://github.com/FuelLabs/fuels-rs/pull/1404
0.63.1
by @digorithm in https://github.com/FuelLabs/fuels-rs/pull/1417
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.63.0...v0.63.1
Published by digorithm 5 months ago
forc
to 0.60.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1388
abi
in abigen
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1390
provider
from ScriptCallHandler
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1391
setup_program_test!
macro hygienic by @Br1ght0ne in https://github.com/FuelLabs/fuels-rs/pull/1389
Upload
and Upgrade
transactions by @xgreenx in https://github.com/FuelLabs/fuels-rs/pull/1382
fuel-core
to 0.27.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1395
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.62.0...v0.63.0
Published by segfault-magnet 5 months ago
wallet.rs
in-line BIP doc by @K1-R1 in https://github.com/FuelLabs/fuels-rs/pull/1370
forc
to 0.58.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1379
Hasher
through fuels::crypto
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1377
fuel-abi-types
0.5.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1381
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.61.0...v0.62.0
Published by digorithm 5 months ago
beta-5
endpoint by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1245
Clone
to Contract
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1362
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.60.0...v0.61.0
Published by digorithm 5 months ago
0.56.0
again (CI got stuck) by @segfault-magnet in https://github.com/FuelLabs/fuels-rs/pull/1358
abi
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1347
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.59.0...v0.60.0
Published by digorithm 6 months ago
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.58.0...v0.59.0
Published by digorithm 6 months ago
nextest
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1332
forc
to 0.54.0
and re-enable generics
tests by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1330
b256
tests by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1339
fuel-core
to 0.24.3
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1345
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.57.0...v0.58.0
This release makes the experimental encoding default and adds the legacy_encoding
flag to use the old one.
Published by digorithm 6 months ago
rust
to 1.76.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1304
no_input_to_cover_fees
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1302
forc
to 0.52.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1312
AssetId
from provider by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1313
U256
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1325
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.56.0...v0.57.0
Published by digorithm 7 months ago
Hotfix for the v0.55.0
.
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.55.0...v0.55.1
Published by digorithm 7 months ago
response
method by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1263
forc
to 0.49.2
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1268
fuel_types
imports by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1273
forc
to 0.50.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1272
fuel-core
to 0.22.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1280
Error
type by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1270
forc
to 0.51.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1284
decode_as_debug_str
to ABIDecoder
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1291
fuel-core
to 0.23.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1292
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.55.0...v0.56.0
We've removed response method from ScriptCallHandler
, ContractCallHandler
and MultiContractCallHandler
.
Configurables
structs must be instantiated through a ::new(encoder_config)
or ::default()
method.Configurables::with_some_string_config(some_string)
methods now return a Result<Configurables>
instead of Configurables
.Predicates::encode_data
now returns a Result<UnresolvedBytes>
instead of UnresolvedBytes
.PredicateEncoder
structs must be instantiated through a ::new(encoder_config)
or ::default()
method.decode_as_debug_str
for the `ABIDecoderYou 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
fuel-core
0.23.0
TxPolicies
gas_price
is replaced with tip
.dry_run
now returns TxStatus
. The receipts can be taken with tx_status.take_receipts()
.checked_dry_run
is deleted.TransactionResponse
's block_id
is replaced with block_height
.estimate_transaction_cost
has a new argument block_horizon
used to estimate the gas price.Published by digorithm 9 months ago
NetworkInfo
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1231
submit_and_await_commit
API by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1187
Signer
trait by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1241
forc
to 0.49.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1251
Address
/ContractId
types to Identity
by @dmihal in https://github.com/FuelLabs/fuels-rs/pull/1252
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.54.0...v0.55.0
NetworkInfo
NetworkInfo
and all related functions/methodsDryRunner
trait and added trait methodsScritpTransactionBuilder::new
and CreateTransactionBuilder::new
Provider::new
submit_and_await_commit
APIsend_transaction_and_await_commit
function now returns a TxStatus
instead of TxId
.
Signer
traitsign_message
and sign_transaction
from the Signer
traitsign
and address
methods to the Signer
traitSigner
trait moved do fuels::core::traits:::Signer
Message
, PublicKey
, SecretKey
and Signature
moved to fuels::crypto::
Transaction
's check_without_signatures
with check
Account
s add_witnessses
to add_witnesses
Clone
for TransactionBuilder
sAddress
/ContractId
types to Identity
It's not a breaking change, just a new cool UX feature. Convert from Address
/Bech32Address
/ContractId
/Bech32ContractId
to Identity
easily.
Published by digorithm 10 months ago
forc 0.48
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1225
rust
to 1.74.0
and update deps by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1226
calculate_num_of_elements
by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1230
fuel-core
to 0.22
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1233
TransactionStatus
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1234
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.53.0...v0.54.0
Published by digorithm 11 months ago
TransactionBuilder
from script and contract calls by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1220
U256
and use u256
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1217
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.52.0...v0.53.0
U256
is not supported anymore. If used in sway, the SDK will return a runtime error.Published by digorithm 11 months ago
TxPolicies
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1212
fuel-core
and fuel-vm
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1214
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.51.0...v0.52.0
ScriptTransactionBuilder
and CreateTransactionBuilder
do not have with_maturity
and with_gas_price
, (with_gas_limit
). They are set through the with_tx_policies method;Option<u64>
and None
if it was not set. This saves bytes as it is not serialized if None
;WitnessLimit
is set to the size of all witnesses in the builder. If the user uses append_witnesses
after finalizing the transaction, a new error will be returned that helps the user set the witness limit manually.Published by digorithm 11 months ago
beta-5
support by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1200
from_hex_str
for Bytes
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1205
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.50.1...v0.51.0
TxParameters
are replaced with TxPolicies
The TxParameters
, which were previously used to define transaction parameters, have been replaced with TxPolicies
. This change signifies a shift in how transactions are specified and managed.
GasPrice
and Maturity
fields are optionalIn the new system, the GasPrice
and Maturity
fields are no longer mandatory. This offers more flexibility in transaction creation, allowing these fields to be specified only when needed.
TxPolicies
introduced new fields:WitnessLimit
The WitnessLimit
field in TxPolicies
sets a limit on the maximum size of witnesses in bytes, introducing a new constraint on transaction witnesses.
MaxFee
The MaxFee
field specifies the upper limit for the transaction fee that a user is willing to pay, providing a clear boundary for transaction costs.
ScriptGasLimit
only limits script executionPreviously, ScriptGasLimit
also limited the predicate execution time, but this is no longer the case. It's now solely used for limiting script execution. The MaxFee
policy has been introduced to handle transaction cost limitations, and the GasLimit
field has been removed from the Create
transaction.
WitnessLimit
impacts max_gas
and max_fee
calculationThe introduction of WitnessLimit
affects the calculation of max_gas
and max_fee
, particularly in Create
transactions where it's the sole factor influencing these values.
Even the minimal gas charge now includes the cost of calculating the transaction ID, adding an additional fee component to every transaction.
GasPrice
policy is mandatory for each transactionEvery transaction now requires a GasPrice
policy to be set, making it a mandatory element in transaction creation.
GasLimit
and MAX_GAS_PER_TX
rulesWith the removal of the GasLimit
field from the Create
transaction, the max_gas
for any transaction must now be less than or equal to MAX_GAS_PER_TX
. Transactions that do not adhere to this rule will fail.
Transactions will be rejected if max_fee
exceeds the specified policies.max_fee
, or if witnessses_size
is greater than the policies.witness_limit
.
get_message_proof
now uses Nonce
The function get_message_proof
has shifted from using the message_id to now utilizing Nonce
, altering its operational mechanism.
ChainId
for address calculationIn predicates, the ChainId
is no longer used for calculating addresses, indicating a change in the method of address derivation.
manual_blocks_enabled
replaced with debug
In the local chain configuration, manual_blocks_enabled
has been superseded by the debug
option, reflecting a change in configuration parameters.
fee_checked_from_tx
utilizes FeeParameters
The process of fee checking from transactions (fee_checked_from_tx
) now employs FeeParameters
, indicating a shift in the fee verification approach.
fuel_tx::ConsensusParameters
The fuel_tx::ConsensusParameters
have undergone refactoring, which has implications for their usage and implementation.
BuildableTransaction
trait in transaction builderWhen building a transaction with a transaction builder, the BuildableTransacion
trait needs to be in scope, highlighting a requirement in the transaction construction process.
utxo_validation
and manual_blocks
For test providers, utxo_validation
and manual_blocks
are now enabled by default, simplifying the setup process for testing environments.
local_node
with default
The node configuration no longer includes local_node
. Instead, default
is used (e.g., let node_config = Config::default();
), reflecting a change in the configuration approach.
Published by digorithm 12 months ago
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.50.0...v0.50.1
Published by digorithm 12 months ago
dasel
and deps versions by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1160
String
directly in assert_eq
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1169
ParamType::String
by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1114
Predicate
wasm test by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1167
gas_forwarded
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1173
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.49.0...v0.50.0
Result
returnsThe following functions are now returning a Result
object:
launch_provider_and_get_wallet()
launch_custom_provider_and_get_wallets()
setup_test_provider()
setup_test_client()