Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version v0.41.0
Added
Unknown
variant toConsensusParameters
graphql queriesUnknown
variant toBlock
graphql queriesTransactionType
type infuel-client
txpool_tx_size
)txpool_tx_time_in_txpool_seconds
)txpool_number_of_transactions
)txpool_number_of_transactions_pending_verification
)txpool_number_of_executable_transactions
)txpool_select_transactions_time_microseconds
)transaction_insertion_time_in_thread_pool_microseconds
)/fuel/req_res/0.0.2
. In comparison with/fuel/req/0.0.1
, which returns an empty response when a request cannot be fulfilled, this version returns more meaningful error codes. Nodes still support the version0.0.1
of the protocol to guarantee backward compatibility with fuel-core nodes. Empty responses received from nodes using the old protocol/fuel/req/0.0.1
are automatically converted into an errorProtocolV1EmptyResponse
with error code 0, which is also the only error code implemented. More specific error codes will be added in the future.GasPriceServiceV1
task.expiration
policy in the transaction pool. Add a mechanism to prune the transactions when they expired.Option<BlockHeight>
in favor ofBlockHeightQuery
where applicable.balances
GraphQL query, available only when 'balances indexation' is enabled.ecop
andeadd
and the benches that allow to calibrate them.amountU128
field to theBalance
GraphQL schema, providing the total balance as aU128
. The existingamount
field clamps any balance exceedingU64
tou64::MAX
.backup
andrestore
APIs on theCombinedDatabase
struct to create portable backups and restore from them.Fixed
cost
andreward
to removeexcess
wordingimporter_gas_price_for_block
metric is properly collected.transaction_insertion_time_in_thread_pool_milliseconds
metric is properly collected.message_receipts_proof
function by ignoring the receipts from failed transactions to matchmessage_outbox_root
.tai64
to avoid breaking changes for us.Changed
TransactionableStorage
trait to allow atomic changes to the storage.CombinedDb::from_config
now respectsstate_rewind_policy
with tmp RocksDB.StorageRead::read
that takes an offset in input./fuel/req_res/0.0.2
. The errors supported areProtocolV1EmptyResponse
(status code0
) for converting empty responses sent via protocol/fuel/req_res/0.0.1
,RequestedRangeTooLarge
(status code1
) if the client requests a range of objects such as sealed block headers or transactions too large,Timeout
(status code2
) if the remote peer takes too long to fulfill a request, orSyncProcessorOutOfCapacity
if the remote peer is fulfilling too many requests concurrently.modification_history_v2
for storing the modification history in the historical rocksDB. Keys in this column are stored in big endian order. Changed the behaviour of the historical rocksDB to write changes for new block heights to the new column, and to perform lookup of values from themodification_history_v2
table first, and then from themodification_history
table, performing a migration upon access if necessary.balance
andbalances
GraphQL query handlers now use index to provide the response in a more performant way. As the index is not created retroactively, the client must be initialized with an empty database and synced from the genesis block to utilize it. Otherwise, the legacy way of retrieving data will be used.coinsToSpend
GraphQL query handler now uses index to provide the response in a more performant way. As the index is not created retroactively, the client must be initialized with an empty database and synced from the genesis block to utilize it. Otherwise, the legacy way of retrieving data will be used.last_recorded_height
is set for the DA gas price source.Breaking
GasPriceServicev0
toGasPriceServiceV1
. Include new config values.fuel-core-client
can only work with new version of thefuel-core
. The0.40
and all older versions are not supported.fuel-vm
to0.59.1
release. Check release notes for more details.messageProof
GraphQL schema to return a non-nullableMessageProof
.TransactionType
instead offuel_tx::Transaction
.kv_store::Value
to beArc<[u8]>
instead ofArc<Vec<u8>>
.balances
query to account for pagination (first
/last
) and nested field complexity (child_complexity
). Queries with large pagination values or deeply nested fields may have higher complexity costs.variant has been removed. The
InsufficientCoinsvariant has been renamed to
InsufficientCoinsForTheMaxand it now contains the additional
max` fieldcoinsToSpend
GraphQL query is now limited to the maximum number of inputs allowed in transaction.coinsToSpend
GraphQL query may now return different coins, depending whether the indexation is enabled or not. However, regardless of the differences, the returned coins will accurately reflect the current state of the database within the context of the query.1024 * 1024 * 1024
.What's Changed
cargo update
by @github-actions in Weeklycargo update
#2373gas-price-analysis
by @rafal-ch in Satisfy clippy ingas-price-analysis
#2418cargo update
by @github-actions in Weeklycargo update
#2424cargo update
by @github-actions in Weeklycargo update
#2440Unknown
transactions, blocks and consensus parameters by @hal3e in feat: handleUnknown
transactions, blocks and consensus parameters #2154run()
return result with custom enum by @MitchTurner in Replace taskrun()
return result with custom enum #2429cargo update
by @github-actions in Weeklycargo update
#2453Option<BlockHeight>
and use new enum where applicable by @matt-user in refactor: removeOption<BlockHeight>
and use new enum where applicable #2033kv_store::Value
to be Arc<[u8]> instead of Arc<Vec> by @netrome in feat: Changekv_store::Value
to be Arc<[u8]> instead of Arc<Vec<u8>> #2411fuel-core-tests
by @netrome in fix: Add missing features tofuel-core-tests
#2467cargo update
by @github-actions in Weeklycargo update
#2470U64
and introduce newamountU128
getter by @rafal-ch in Revert balances amount toU64
and introduce newamountU128
getter #2472message_receipts_proof
by @AurelienFT in Ignore receipts from failed transactions inmessage_receipts_proof
#2478fuel-core
with minor hot fixes by @xgreenx in Sync the version of thefuel-core
with minor hot fixes #2516cargo update
by @github-actions in Weeklycargo update
#2530backup
instead by @rymnc in feat(rocksdb): remove getters for internal rocksdb handles, exposebackup
instead #2535latest_l2_height
in gas price service by @rafal-ch in Lock-freelatest_l2_height
in gas price service #2546balances
endpoint by @rafal-ch in Pagination queries forbalances
endpoint #2490New Contributors
Full Changelog: v0.40.0...v0.41.0