From ea46e9fd08e48ab6be725d05384fd30bddb97c8b Mon Sep 17 00:00:00 2001 From: AurelienFT <32803821+AurelienFT@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:43:50 +0100 Subject: [PATCH] Release/v0.41.5 (#2663) ## Version 0.41.5 ### Changed - [2387](https://github.com/FuelLabs/fuel-core/pull/2387): Update description `tx-max-depth` flag. - [2630](https://github.com/FuelLabs/fuel-core/pull/2630): Removed some noisy `tracing::info!` logs - [2643](https://github.com/FuelLabs/fuel-core/pull/2643): Before this fix when tip is zero, transactions that use 30M have the same priority as transactions with 1M gas. Now they are correctly ordered. ### Added - [2617](https://github.com/FuelLabs/fuel-core/pull/2617): Add integration skeleton of parallel-executor. - [2553](https://github.com/FuelLabs/fuel-core/pull/2553): Scaffold global merkle root storage crate. - [2598](https://github.com/FuelLabs/fuel-core/pull/2598): Add initial test suite for global merkle root storage updates. - [2635](https://github.com/FuelLabs/fuel-core/pull/2635): Add metrics to gas price service ### Fixed - [2632](https://github.com/FuelLabs/fuel-core/pull/2632): Improved performance of certain async trait impls in the gas price service. - [2662](https://github.com/FuelLabs/fuel-core/pull/2662): Fix balances query endpoint cost without indexation and behavior coins to spend with one parameter at zero. --- CHANGELOG.md | 4 +- Cargo.lock | 120 +++++++++--------- Cargo.toml | 62 ++++----- README.md | 2 +- .../chainspec/local-testnet/chain_config.json | 2 +- ..._tests__snapshot_local_testnet_config.snap | 2 +- .../upgradable-executor/src/executor.rs | 3 +- crates/types/src/blockchain/header.rs | 2 +- 8 files changed, 99 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe98f9b0a06..d8b1d3f141d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] -### Added -- [2635](https://github.com/FuelLabs/fuel-core/pull/2635): Add metrics to gas price service +## [Version 0.41.5] ### Changed - [2387](https://github.com/FuelLabs/fuel-core/pull/2387): Update description `tx-max-depth` flag. @@ -18,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - [2617](https://github.com/FuelLabs/fuel-core/pull/2617): Add integration skeleton of parallel-executor. - [2553](https://github.com/FuelLabs/fuel-core/pull/2553): Scaffold global merkle root storage crate. - [2598](https://github.com/FuelLabs/fuel-core/pull/2598): Add initial test suite for global merkle root storage updates. +- [2635](https://github.com/FuelLabs/fuel-core/pull/2635): Add metrics to gas price service - [2664](https://github.com/FuelLabs/fuel-core/pull/2664): Add print with all information when a transaction is refused because of a collision. ### Fixed diff --git a/Cargo.lock b/Cargo.lock index f7e7605a5b6..f297fafa629 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3369,7 +3369,7 @@ dependencies = [ [[package]] name = "fuel-core" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "assert_matches", @@ -3401,7 +3401,7 @@ dependencies = [ "fuel-core-sync", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-core-upgradable-executor", "futures", "hex", @@ -3452,7 +3452,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-sync", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "hex", "itertools 0.12.1", @@ -3474,11 +3474,11 @@ dependencies = [ [[package]] name = "fuel-core-bft" -version = "0.41.4" +version = "0.41.5" [[package]] name = "fuel-core-bin" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "aws-config", @@ -3493,7 +3493,7 @@ dependencies = [ "fuel-core-metrics", "fuel-core-shared-sequencer", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "hex", "humantime", "itertools 0.12.1", @@ -3516,7 +3516,7 @@ dependencies = [ [[package]] name = "fuel-core-chain-config" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "bech32", @@ -3524,7 +3524,7 @@ dependencies = [ "derivative", "fuel-core-chain-config", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "insta", "itertools 0.12.1", "parquet", @@ -3542,14 +3542,14 @@ dependencies = [ [[package]] name = "fuel-core-client" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "base64 0.22.1", "cynic", "derive_more 0.99.18", "eventsource-client", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "hex", "hyper-rustls 0.24.2", @@ -3566,23 +3566,23 @@ dependencies = [ [[package]] name = "fuel-core-client-bin" -version = "0.41.4" +version = "0.41.5" dependencies = [ "clap", "fuel-core-client", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "serde_json", "tokio", ] [[package]] name = "fuel-core-compression" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "enum_dispatch", "fuel-core-compression", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "paste", "postcard", "proptest", @@ -3595,30 +3595,30 @@ dependencies = [ [[package]] name = "fuel-core-consensus-module" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "fuel-core-chain-config", "fuel-core-poa", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "test-case", ] [[package]] name = "fuel-core-database" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "derive_more 0.99.18", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", ] [[package]] name = "fuel-core-e2e-client" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "assert_cmd", @@ -3626,7 +3626,7 @@ dependencies = [ "fuel-core-chain-config", "fuel-core-client", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "hex", "humantime-serde", @@ -3643,12 +3643,12 @@ dependencies = [ [[package]] name = "fuel-core-executor" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "hex", "parking_lot", "serde", @@ -3657,7 +3657,7 @@ dependencies = [ [[package]] name = "fuel-core-gas-price-service" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3665,7 +3665,7 @@ dependencies = [ "fuel-core-metrics", "fuel-core-services", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-gas-price-algorithm", "futures", "mockito", @@ -3685,12 +3685,12 @@ dependencies = [ [[package]] name = "fuel-core-global-merkle-root-storage" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "enum-iterator", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "num_enum", "rand", "strum 0.25.0", @@ -3699,14 +3699,14 @@ dependencies = [ [[package]] name = "fuel-core-importer" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "derive_more 0.99.18", "fuel-core-metrics", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "mockall", "parking_lot", "rayon", @@ -3717,18 +3717,18 @@ dependencies = [ [[package]] name = "fuel-core-keygen" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "clap", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "libp2p-identity", "serde", ] [[package]] name = "fuel-core-keygen-bin" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "atty", @@ -3741,7 +3741,7 @@ dependencies = [ [[package]] name = "fuel-core-metrics" -version = "0.41.4" +version = "0.41.5" dependencies = [ "once_cell", "parking_lot", @@ -3756,7 +3756,7 @@ dependencies = [ [[package]] name = "fuel-core-p2p" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3767,7 +3767,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "hex", "hickory-resolver", @@ -3797,17 +3797,17 @@ dependencies = [ [[package]] name = "fuel-core-parallel-executor" -version = "0.41.4" +version = "0.41.5" dependencies = [ "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-core-upgradable-executor", "tokio", ] [[package]] name = "fuel-core-poa" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3816,7 +3816,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "mockall", "rand", "serde", @@ -3829,7 +3829,7 @@ dependencies = [ [[package]] name = "fuel-core-producer" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3837,7 +3837,7 @@ dependencies = [ "fuel-core-producer", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "mockall", "proptest", "rand", @@ -3848,7 +3848,7 @@ dependencies = [ [[package]] name = "fuel-core-relayer" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3862,7 +3862,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "mockall", "once_cell", @@ -3881,7 +3881,7 @@ dependencies = [ [[package]] name = "fuel-core-services" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3898,7 +3898,7 @@ dependencies = [ [[package]] name = "fuel-core-shared-sequencer" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -3906,7 +3906,7 @@ dependencies = [ "cosmos-sdk-proto", "cosmrs", "fuel-core-services", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-sequencer-proto", "futures", "postcard", @@ -3922,13 +3922,13 @@ dependencies = [ [[package]] name = "fuel-core-storage" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "derive_more 0.99.18", "enum-iterator", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-vm 0.59.1", "impl-tools", "itertools 0.12.1", @@ -3946,13 +3946,13 @@ dependencies = [ [[package]] name = "fuel-core-sync" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", "fuel-core-services", "fuel-core-trace", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "mockall", "rand", @@ -3987,7 +3987,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-core-upgradable-executor", "futures", "hex", @@ -4015,7 +4015,7 @@ dependencies = [ [[package]] name = "fuel-core-trace" -version = "0.41.4" +version = "0.41.5" dependencies = [ "ctor", "tracing", @@ -4025,7 +4025,7 @@ dependencies = [ [[package]] name = "fuel-core-txpool" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "async-trait", @@ -4035,7 +4035,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "mockall", "num-rational", @@ -4067,7 +4067,7 @@ dependencies = [ [[package]] name = "fuel-core-types" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "aws-config", @@ -4087,13 +4087,13 @@ dependencies = [ [[package]] name = "fuel-core-upgradable-executor" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "derive_more 0.99.18", "fuel-core-executor", "fuel-core-storage", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "fuel-core-wasm-executor", "parking_lot", "postcard", @@ -4103,13 +4103,13 @@ dependencies = [ [[package]] name = "fuel-core-wasm-executor" -version = "0.41.4" +version = "0.41.5" dependencies = [ "anyhow", "fuel-core-executor", "fuel-core-storage", "fuel-core-types 0.35.0", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "postcard", "proptest", "serde", @@ -4179,7 +4179,7 @@ dependencies = [ [[package]] name = "fuel-gas-price-algorithm" -version = "0.41.4" +version = "0.41.5" dependencies = [ "proptest", "rand", @@ -9835,7 +9835,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.41.4", + "fuel-core-types 0.41.5", "futures", "itertools 0.12.1", "rand", diff --git a/Cargo.toml b/Cargo.toml index b90d4aa5d7e..854f4a5966f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,42 +59,42 @@ homepage = "https://fuel.network/" keywords = ["blockchain", "cryptocurrencies", "fuel-vm", "vm"] license = "BUSL-1.1" repository = "https://github.com/FuelLabs/fuel-core" -version = "0.41.4" +version = "0.41.5" [workspace.dependencies] # Workspace members -fuel-core = { version = "0.41.4", path = "./crates/fuel-core", default-features = false } -fuel-core-client-bin = { version = "0.41.4", path = "./bin/fuel-core-client" } -fuel-core-bin = { version = "0.41.4", path = "./bin/fuel-core" } -fuel-core-keygen = { version = "0.41.4", path = "./crates/keygen" } -fuel-core-keygen-bin = { version = "0.41.4", path = "./bin/keygen" } -fuel-core-chain-config = { version = "0.41.4", path = "./crates/chain-config", default-features = false } -fuel-core-client = { version = "0.41.4", path = "./crates/client" } -fuel-core-compression = { version = "0.41.4", path = "./crates/compression" } -fuel-core-database = { version = "0.41.4", path = "./crates/database" } -fuel-core-metrics = { version = "0.41.4", path = "./crates/metrics" } -fuel-core-services = { version = "0.41.4", path = "./crates/services" } -fuel-core-consensus-module = { version = "0.41.4", path = "./crates/services/consensus_module" } -fuel-core-bft = { version = "0.41.4", path = "./crates/services/consensus_module/bft" } -fuel-core-poa = { version = "0.41.4", path = "./crates/services/consensus_module/poa" } -fuel-core-shared-sequencer = { version = "0.41.4", path = "crates/services/shared-sequencer" } -fuel-core-executor = { version = "0.41.4", path = "./crates/services/executor", default-features = false } -fuel-core-importer = { version = "0.41.4", path = "./crates/services/importer" } -fuel-core-gas-price-service = { version = "0.41.4", path = "crates/services/gas_price_service" } -fuel-core-p2p = { version = "0.41.4", path = "./crates/services/p2p" } -fuel-core-parallel-executor = { version = "0.41.4", path = "./crates/services/parallel-executor" } -fuel-core-producer = { version = "0.41.4", path = "./crates/services/producer" } -fuel-core-relayer = { version = "0.41.4", path = "./crates/services/relayer" } -fuel-core-sync = { version = "0.41.4", path = "./crates/services/sync" } -fuel-core-txpool = { version = "0.41.4", path = "./crates/services/txpool_v2" } -fuel-core-storage = { version = "0.41.4", path = "./crates/storage", default-features = false } -fuel-core-trace = { version = "0.41.4", path = "./crates/trace" } -fuel-core-types = { version = "0.41.4", path = "./crates/types", default-features = false } +fuel-core = { version = "0.41.5", path = "./crates/fuel-core", default-features = false } +fuel-core-client-bin = { version = "0.41.5", path = "./bin/fuel-core-client" } +fuel-core-bin = { version = "0.41.5", path = "./bin/fuel-core" } +fuel-core-keygen = { version = "0.41.5", path = "./crates/keygen" } +fuel-core-keygen-bin = { version = "0.41.5", path = "./bin/keygen" } +fuel-core-chain-config = { version = "0.41.5", path = "./crates/chain-config", default-features = false } +fuel-core-client = { version = "0.41.5", path = "./crates/client" } +fuel-core-compression = { version = "0.41.5", path = "./crates/compression" } +fuel-core-database = { version = "0.41.5", path = "./crates/database" } +fuel-core-metrics = { version = "0.41.5", path = "./crates/metrics" } +fuel-core-services = { version = "0.41.5", path = "./crates/services" } +fuel-core-consensus-module = { version = "0.41.5", path = "./crates/services/consensus_module" } +fuel-core-bft = { version = "0.41.5", path = "./crates/services/consensus_module/bft" } +fuel-core-poa = { version = "0.41.5", path = "./crates/services/consensus_module/poa" } +fuel-core-shared-sequencer = { version = "0.41.5", path = "crates/services/shared-sequencer" } +fuel-core-executor = { version = "0.41.5", path = "./crates/services/executor", default-features = false } +fuel-core-importer = { version = "0.41.5", path = "./crates/services/importer" } +fuel-core-gas-price-service = { version = "0.41.5", path = "crates/services/gas_price_service" } +fuel-core-p2p = { version = "0.41.5", path = "./crates/services/p2p" } +fuel-core-parallel-executor = { version = "0.41.5", path = "./crates/services/parallel-executor" } +fuel-core-producer = { version = "0.41.5", path = "./crates/services/producer" } +fuel-core-relayer = { version = "0.41.5", path = "./crates/services/relayer" } +fuel-core-sync = { version = "0.41.5", path = "./crates/services/sync" } +fuel-core-txpool = { version = "0.41.5", path = "./crates/services/txpool_v2" } +fuel-core-storage = { version = "0.41.5", path = "./crates/storage", default-features = false } +fuel-core-trace = { version = "0.41.5", path = "./crates/trace" } +fuel-core-types = { version = "0.41.5", path = "./crates/types", default-features = false } fuel-core-tests = { version = "0.0.0", path = "./tests" } -fuel-core-upgradable-executor = { version = "0.41.4", path = "./crates/services/upgradable-executor" } -fuel-core-wasm-executor = { version = "0.41.4", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } +fuel-core-upgradable-executor = { version = "0.41.5", path = "./crates/services/upgradable-executor" } +fuel-core-wasm-executor = { version = "0.41.5", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } fuel-core-xtask = { version = "0.0.0", path = "./xtask" } -fuel-gas-price-algorithm = { version = "0.41.4", path = "crates/fuel-gas-price-algorithm" } +fuel-gas-price-algorithm = { version = "0.41.5", path = "crates/fuel-gas-price-algorithm" } # Fuel dependencies fuel-vm-private = { version = "0.59.1", package = "fuel-vm", default-features = false } diff --git a/README.md b/README.md index 7226bc59af4..7000aa180b7 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ git clone https://github.com/FuelLabs/fuel-core.git Go to the latest release tag for ignition on the `fuel-core` repository : ``` -git checkout v0.41.4 +git checkout v0.41.5 ``` Build your node binary: diff --git a/bin/fuel-core/chainspec/local-testnet/chain_config.json b/bin/fuel-core/chainspec/local-testnet/chain_config.json index c734a2c9dd4..6928c6ad03a 100644 --- a/bin/fuel-core/chainspec/local-testnet/chain_config.json +++ b/bin/fuel-core/chainspec/local-testnet/chain_config.json @@ -304,7 +304,7 @@ "privileged_address": "9f0e19d6c2a6283a3222426ab2630d35516b1799b503f37b02105bebe1b8a3e9" } }, - "genesis_state_transition_version": 19, + "genesis_state_transition_version": 20, "consensus": { "PoAV2": { "genesis_signing_key": "e0a9fcde1b73f545252e01b30b50819eb9547d07531fa3df0385c5695736634d", diff --git a/crates/chain-config/src/config/snapshots/fuel_core_chain_config__config__chain__tests__snapshot_local_testnet_config.snap b/crates/chain-config/src/config/snapshots/fuel_core_chain_config__config__chain__tests__snapshot_local_testnet_config.snap index b32333cc8d6..69b3ffac6e6 100644 --- a/crates/chain-config/src/config/snapshots/fuel_core_chain_config__config__chain__tests__snapshot_local_testnet_config.snap +++ b/crates/chain-config/src/config/snapshots/fuel_core_chain_config__config__chain__tests__snapshot_local_testnet_config.snap @@ -308,7 +308,7 @@ expression: json "privileged_address": "0000000000000000000000000000000000000000000000000000000000000000" } }, - "genesis_state_transition_version": 19, + "genesis_state_transition_version": 20, "consensus": { "PoAV2": { "genesis_signing_key": "22ec92c3105c942a6640bdc4e4907286ec4728e8cfc0d8ac59aad4d8e1ccaefb", diff --git a/crates/services/upgradable-executor/src/executor.rs b/crates/services/upgradable-executor/src/executor.rs index 6c947bd9a28..3b218afea48 100644 --- a/crates/services/upgradable-executor/src/executor.rs +++ b/crates/services/upgradable-executor/src/executor.rs @@ -158,7 +158,8 @@ impl Executor { ("0-40-0", 16), ("0-40-1", 17), ("0-40-2", 18), - ("0-41-4", LATEST_STATE_TRANSITION_VERSION), + ("0-41-4", 19), + ("0-41-5", 20), ]; pub fn new( diff --git a/crates/types/src/blockchain/header.rs b/crates/types/src/blockchain/header.rs index 3dc39a683c8..54e0b7ea808 100644 --- a/crates/types/src/blockchain/header.rs +++ b/crates/types/src/blockchain/header.rs @@ -166,7 +166,7 @@ pub type ConsensusParametersVersion = u32; pub type StateTransitionBytecodeVersion = u32; /// The latest version of the state transition bytecode. -pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 19; +pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 20; #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]