All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Description of the upcoming release here.
- #1371: Add new client function for querying the
MessageStatus
for a specific message (byNonce
) - #1356: Add peer reputation reporting to heartbeat code
- #1355: Added new metrics related to block importing, such as tps, sync delays etc
- #1339: Adds
baseAssetId
toFeeParameters
in the GraphQL API. - #1331: Add peer reputation reporting to block import code
- #1324: Added pyroscope profiling to fuel-core, intended to be used by a secondary docker image that has debug symbols enabled.
- #1309: Add documentation for running debug builds with CLion and Visual Studio Code.
- #1308: Add support for loading .env files when compiling with the
env
feature. This allows users to conveniently supply CLI arguments in a secure and IDE-agnostic way. - #1304: Implemented
submit_and_await_commit_with_receipts
method forFuelClient
. - #1286: Include readable names for test cases where missing.
- #1274: Added tests to benchmark block synchronization.
- #1263: Add gas benchmarks for
ED19
andECR1
instructions. - #1331: Add peer reputation reporting to block import code
- #1405: Use correct names for service metrics.
- #1399: The Relayer now queries Ethereum for its latest finalized block instead of using a configurable "finalization period" to presume finality.
- #1397: Improved keygen. Created a crate to be included from forc plugins and upgraded internal library to drop requirement of protoc to build
- #1349: Updated peer-to-peer transactions API to support multiple blocks in a single request, and updated block synchronization to request multiple blocks based on the configured range of headers.
- #1380: Add preliminary, hard-coded config values for heartbeat peer reputation, removing
todo
. - #1377: Remove
DiscoveryEvent
and useKademliaEvent
directly inDiscoveryBehavior
. - #1366: Improve caching during docker builds in CI by replacing gha
- #1358: Upgraded the Rust version used in CI to 1.72.0. Also includes associated Clippy changes.
- #1318: Modified block synchronization to use asynchronous task execution when retrieving block headers.
- #1314: Removed
types::ConsensusParameters
in favour offuel_tx:ConsensusParameters
. - #1302: Removed the usage of flake and building of the bridge contract ABI. It simplifies the maintenance and updating of the events, requiring only putting the event definition into the codebase of the relayer.
- #1293: Parallelized the
estimate_predicates
endpoint to utilize all available threads. - #1270: Modify the way block headers are retrieved from peers to be done in batches.
- #1342: Add error handling for P2P requests to return
None
to requester and log error. - #1383: Disallow usage of
log
crate internally in favor oftracing
crate. - #1390: Up the
ethers
version to2
to fix an issue withtungstenite
. - #1392: Fixed an overflow in
message_proof
. - #1393: Increase heartbeat timeout from
2
to60
seconds, as suggested in this issue. - #1395: Add DependentCost benchmarks for
k256
,s256
andmcpi
instructions.
- #1374: Renamed
base_chain_height
toda_height
and return current relayer height instead of latest Fuel block height. - #1363: Change message_proof api to take
nonce
instead ofmessage_id
- #1339: Added a new required field called
base_asset_id
to theFeeParameters
definition inConsensusParameters
, as well as default values forbase_asset_id
in thebeta
anddev
chainspecs. - #1355: Removed the
metrics
feature flag from the fuel-core crate, and metrics are now included by default. - #1322:
The
debug
flag is added to the CLI. The flag should be used for local development only. Enabling debug mode: - Allows GraphQL Endpoints to arbitrarily advance blocks. - Enables debugger GraphQL Endpoints. - Allows settingutxo_validation
tofalse
. - #1318: Removed the
--sync-max-header-batch-requests
CLI argument, and renamed--sync-max-get-txns
to--sync-block-stream-buffer-size
to better represent the current behavior in the import. - #1290: Standardize CLI args to use
-
instead of_
. - #1279: Added a new CLI flag to enable the Relayer service
--enable-relayer
, and disabled the Relayer service by default. When supplying the--enable-relayer
flag, the--relayer
argument becomes mandatory, and omitting it is an error. Similarly, providing a--relayer
argument without the--enable-relayer
flag is an error. Lastly, providing the--keypair
or--network
arguments will also produce an error if the--enable-p2p
flag is not set. - #1262: The
ConsensusParameters
aggregates all configuration data related to the consensus. It contains many fields that are segregated by the usage. The API of some functions was affected to use lesser types instead the wholeConsensusParameters
. It is a huge breaking change requiring repetitively monotonically updating all places that use theConsensusParameters
. But during updating, consider that maybe you can use lesser types. Usage of them may simplify signatures of methods and make them more user-friendly and transparent. - #1367: Update to the latest version of fuel-vm.