diff --git a/CHANGELOG.md b/CHANGELOG.md index 349b561103e..a3a743f39b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [Version 0.31.0] + ### Added - [#2014](https://github.com/FuelLabs/fuel-core/pull/2014): Added a separate thread for the block importer. - [#2013](https://github.com/FuelLabs/fuel-core/pull/2013): Added a separate thread to process P2P database lookups. diff --git a/Cargo.lock b/Cargo.lock index 647067f48dc..79f0c9367d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2785,7 +2785,7 @@ dependencies = [ [[package]] name = "fuel-core" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "assert_matches", @@ -2875,11 +2875,11 @@ dependencies = [ [[package]] name = "fuel-core-bft" -version = "0.30.0" +version = "0.31.0" [[package]] name = "fuel-core-bin" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -2912,7 +2912,7 @@ dependencies = [ [[package]] name = "fuel-core-chain-config" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "bech32", @@ -2938,7 +2938,7 @@ dependencies = [ [[package]] name = "fuel-core-client" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "cynic", @@ -2961,7 +2961,7 @@ dependencies = [ [[package]] name = "fuel-core-client-bin" -version = "0.30.0" +version = "0.31.0" dependencies = [ "clap 4.5.8", "fuel-core-client", @@ -2972,7 +2972,7 @@ dependencies = [ [[package]] name = "fuel-core-consensus-module" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "fuel-core-chain-config", @@ -2984,7 +2984,7 @@ dependencies = [ [[package]] name = "fuel-core-database" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "derive_more", @@ -2995,7 +2995,7 @@ dependencies = [ [[package]] name = "fuel-core-e2e-client" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "assert_cmd", @@ -3021,7 +3021,7 @@ dependencies = [ [[package]] name = "fuel-core-executor" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "fuel-core-storage", @@ -3035,7 +3035,7 @@ dependencies = [ [[package]] name = "fuel-core-gas-price-service" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3051,7 +3051,7 @@ dependencies = [ [[package]] name = "fuel-core-importer" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "derive_more", @@ -3069,7 +3069,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "clap 4.5.8", @@ -3080,7 +3080,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen-bin" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "atty", @@ -3093,7 +3093,7 @@ dependencies = [ [[package]] name = "fuel-core-metrics" -version = "0.30.0" +version = "0.31.0" dependencies = [ "parking_lot", "pin-project-lite", @@ -3105,7 +3105,7 @@ dependencies = [ [[package]] name = "fuel-core-p2p" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3142,7 +3142,7 @@ dependencies = [ [[package]] name = "fuel-core-poa" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3161,7 +3161,7 @@ dependencies = [ [[package]] name = "fuel-core-producer" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3179,7 +3179,7 @@ dependencies = [ [[package]] name = "fuel-core-relayer" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3211,7 +3211,7 @@ dependencies = [ [[package]] name = "fuel-core-services" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3225,7 +3225,7 @@ dependencies = [ [[package]] name = "fuel-core-storage" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "derive_more", @@ -3249,7 +3249,7 @@ dependencies = [ [[package]] name = "fuel-core-sync" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3307,7 +3307,7 @@ dependencies = [ [[package]] name = "fuel-core-trace" -version = "0.30.0" +version = "0.31.0" dependencies = [ "ctor", "tracing", @@ -3317,7 +3317,7 @@ dependencies = [ [[package]] name = "fuel-core-txpool" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "async-trait", @@ -3342,7 +3342,7 @@ dependencies = [ [[package]] name = "fuel-core-types" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "bs58", @@ -3359,7 +3359,7 @@ dependencies = [ [[package]] name = "fuel-core-upgradable-executor" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "fuel-core-executor", @@ -3375,7 +3375,7 @@ dependencies = [ [[package]] name = "fuel-core-wasm-executor" -version = "0.30.0" +version = "0.31.0" dependencies = [ "anyhow", "fuel-core-executor", @@ -3421,7 +3421,7 @@ dependencies = [ [[package]] name = "fuel-gas-price-algorithm" -version = "0.30.0" +version = "0.31.0" dependencies = [ "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index 9543090b6d5..c19705bc988 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,39 +50,39 @@ homepage = "https://fuel.network/" keywords = ["blockchain", "cryptocurrencies", "fuel-vm", "vm"] license = "BUSL-1.1" repository = "https://github.com/FuelLabs/fuel-core" -version = "0.30.0" +version = "0.31.0" [workspace.dependencies] # Workspace members -fuel-core = { version = "0.30.0", path = "./crates/fuel-core", default-features = false } -fuel-core-client-bin = { version = "0.30.0", path = "./bin/fuel-core-client" } -fuel-core-bin = { version = "0.30.0", path = "./bin/fuel-core" } -fuel-core-keygen = { version = "0.30.0", path = "./crates/keygen" } -fuel-core-keygen-bin = { version = "0.30.0", path = "./bin/keygen" } -fuel-core-chain-config = { version = "0.30.0", path = "./crates/chain-config", default-features = false } -fuel-core-client = { version = "0.30.0", path = "./crates/client" } -fuel-core-database = { version = "0.30.0", path = "./crates/database" } -fuel-core-metrics = { version = "0.30.0", path = "./crates/metrics" } -fuel-core-services = { version = "0.30.0", path = "./crates/services" } -fuel-core-consensus-module = { version = "0.30.0", path = "./crates/services/consensus_module" } -fuel-core-bft = { version = "0.30.0", path = "./crates/services/consensus_module/bft" } -fuel-core-poa = { version = "0.30.0", path = "./crates/services/consensus_module/poa" } -fuel-core-executor = { version = "0.30.0", path = "./crates/services/executor", default-features = false } -fuel-core-importer = { version = "0.30.0", path = "./crates/services/importer" } -fuel-core-gas-price-service = { version = "0.30.0", path = "crates/services/gas_price_service" } -fuel-core-p2p = { version = "0.30.0", path = "./crates/services/p2p" } -fuel-core-producer = { version = "0.30.0", path = "./crates/services/producer" } -fuel-core-relayer = { version = "0.30.0", path = "./crates/services/relayer" } -fuel-core-sync = { version = "0.30.0", path = "./crates/services/sync" } -fuel-core-txpool = { version = "0.30.0", path = "./crates/services/txpool" } -fuel-core-storage = { version = "0.30.0", path = "./crates/storage", default-features = false } -fuel-core-trace = { version = "0.30.0", path = "./crates/trace" } -fuel-core-types = { version = "0.30.0", path = "./crates/types", default-features = false } +fuel-core = { version = "0.31.0", path = "./crates/fuel-core", default-features = false } +fuel-core-client-bin = { version = "0.31.0", path = "./bin/fuel-core-client" } +fuel-core-bin = { version = "0.31.0", path = "./bin/fuel-core" } +fuel-core-keygen = { version = "0.31.0", path = "./crates/keygen" } +fuel-core-keygen-bin = { version = "0.31.0", path = "./bin/keygen" } +fuel-core-chain-config = { version = "0.31.0", path = "./crates/chain-config", default-features = false } +fuel-core-client = { version = "0.31.0", path = "./crates/client" } +fuel-core-database = { version = "0.31.0", path = "./crates/database" } +fuel-core-metrics = { version = "0.31.0", path = "./crates/metrics" } +fuel-core-services = { version = "0.31.0", path = "./crates/services" } +fuel-core-consensus-module = { version = "0.31.0", path = "./crates/services/consensus_module" } +fuel-core-bft = { version = "0.31.0", path = "./crates/services/consensus_module/bft" } +fuel-core-poa = { version = "0.31.0", path = "./crates/services/consensus_module/poa" } +fuel-core-executor = { version = "0.31.0", path = "./crates/services/executor", default-features = false } +fuel-core-importer = { version = "0.31.0", path = "./crates/services/importer" } +fuel-core-gas-price-service = { version = "0.31.0", path = "crates/services/gas_price_service" } +fuel-core-p2p = { version = "0.31.0", path = "./crates/services/p2p" } +fuel-core-producer = { version = "0.31.0", path = "./crates/services/producer" } +fuel-core-relayer = { version = "0.31.0", path = "./crates/services/relayer" } +fuel-core-sync = { version = "0.31.0", path = "./crates/services/sync" } +fuel-core-txpool = { version = "0.31.0", path = "./crates/services/txpool" } +fuel-core-storage = { version = "0.31.0", path = "./crates/storage", default-features = false } +fuel-core-trace = { version = "0.31.0", path = "./crates/trace" } +fuel-core-types = { version = "0.31.0", path = "./crates/types", default-features = false } fuel-core-tests = { version = "0.0.0", path = "./tests" } -fuel-core-upgradable-executor = { version = "0.30.0", path = "./crates/services/upgradable-executor" } -fuel-core-wasm-executor = { version = "0.30.0", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } +fuel-core-upgradable-executor = { version = "0.31.0", path = "./crates/services/upgradable-executor" } +fuel-core-wasm-executor = { version = "0.31.0", 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.30.0", path = "crates/fuel-gas-price-algorithm" } +fuel-gas-price-algorithm = { version = "0.31.0", path = "crates/fuel-gas-price-algorithm" } # Fuel dependencies fuel-vm-private = { version = "0.55.0", package = "fuel-vm", default-features = false } diff --git a/bin/fuel-core/chainspec/local-testnet/chain_config.json b/bin/fuel-core/chainspec/local-testnet/chain_config.json index 51d6075f1a2..c90809be70f 100644 --- a/bin/fuel-core/chainspec/local-testnet/chain_config.json +++ b/bin/fuel-core/chainspec/local-testnet/chain_config.json @@ -279,7 +279,7 @@ "privileged_address": "9f0e19d6c2a6283a3222426ab2630d35516b1799b503f37b02105bebe1b8a3e9" } }, - "genesis_state_transition_version": 4, + "genesis_state_transition_version": 5, "consensus": { "PoA": { "signing_key": "e0a9fcde1b73f545252e01b30b50819eb9547d07531fa3df0385c5695736634d" diff --git a/bin/fuel-core/chainspec/local-testnet/state_transition_bytecode.wasm b/bin/fuel-core/chainspec/local-testnet/state_transition_bytecode.wasm index 9907ada7564..43a4a3402c6 100755 Binary files a/bin/fuel-core/chainspec/local-testnet/state_transition_bytecode.wasm and b/bin/fuel-core/chainspec/local-testnet/state_transition_bytecode.wasm differ 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 74839ff5df8..532eb750faf 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 @@ -283,7 +283,7 @@ expression: json "privileged_address": "0000000000000000000000000000000000000000000000000000000000000000" } }, - "genesis_state_transition_version": 4, + "genesis_state_transition_version": 5, "consensus": { "PoA": { "signing_key": "22ec92c3105c942a6640bdc4e4907286ec4728e8cfc0d8ac59aad4d8e1ccaefb" diff --git a/crates/services/upgradable-executor/src/executor.rs b/crates/services/upgradable-executor/src/executor.rs index 12acb9489c5..f6493958205 100644 --- a/crates/services/upgradable-executor/src/executor.rs +++ b/crates/services/upgradable-executor/src/executor.rs @@ -135,7 +135,8 @@ impl Executor { ("0-27-0", 1), ("0-28-0", 2), ("0-29-0", 3), - ("0-30-0", LATEST_STATE_TRANSITION_VERSION), + ("0-30-0", 4), + ("0-31-0", LATEST_STATE_TRANSITION_VERSION), ]; pub fn new( diff --git a/crates/types/src/blockchain/header.rs b/crates/types/src/blockchain/header.rs index 543ef5a08cf..861cda181da 100644 --- a/crates/types/src/blockchain/header.rs +++ b/crates/types/src/blockchain/header.rs @@ -163,7 +163,7 @@ pub type ConsensusParametersVersion = u32; pub type StateTransitionBytecodeVersion = u32; /// The latest version of the state transition bytecode. -pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 4; +pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 5; #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]