diff --git a/CHANGELOG.md b/CHANGELOG.md index c93193261c9..8f91e87037d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [Version 0.34.0] + ### Added - [2051](https://github.com/FuelLabs/fuel-core/pull/2051): Add support for AWS KMS signing for the PoA consensus module. The new key can be specified with `--consensus-aws-kms AWS_KEY_ARN`. - [2092](https://github.com/FuelLabs/fuel-core/pull/2092): Allow iterating by keys in rocksdb, and other storages. diff --git a/Cargo.lock b/Cargo.lock index d1cc05410a5..02a643ebefe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3129,7 +3129,7 @@ dependencies = [ [[package]] name = "fuel-core" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "assert_matches", @@ -3219,11 +3219,11 @@ dependencies = [ [[package]] name = "fuel-core-bft" -version = "0.33.0" +version = "0.34.0" [[package]] name = "fuel-core-bin" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "aws-config", @@ -3257,7 +3257,7 @@ dependencies = [ [[package]] name = "fuel-core-chain-config" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "bech32", @@ -3283,7 +3283,7 @@ dependencies = [ [[package]] name = "fuel-core-client" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "cynic", @@ -3306,7 +3306,7 @@ dependencies = [ [[package]] name = "fuel-core-client-bin" -version = "0.33.0" +version = "0.34.0" dependencies = [ "clap 4.5.13", "fuel-core-client", @@ -3317,7 +3317,7 @@ dependencies = [ [[package]] name = "fuel-core-consensus-module" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "fuel-core-chain-config", @@ -3329,7 +3329,7 @@ dependencies = [ [[package]] name = "fuel-core-database" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "derive_more", @@ -3340,7 +3340,7 @@ dependencies = [ [[package]] name = "fuel-core-e2e-client" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "assert_cmd", @@ -3366,7 +3366,7 @@ dependencies = [ [[package]] name = "fuel-core-executor" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "fuel-core-storage", @@ -3380,7 +3380,7 @@ dependencies = [ [[package]] name = "fuel-core-gas-price-service" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3402,7 +3402,7 @@ dependencies = [ [[package]] name = "fuel-core-importer" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "derive_more", @@ -3420,7 +3420,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "clap 4.5.13", @@ -3431,7 +3431,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen-bin" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "atty", @@ -3444,7 +3444,7 @@ dependencies = [ [[package]] name = "fuel-core-metrics" -version = "0.33.0" +version = "0.34.0" dependencies = [ "parking_lot", "pin-project-lite", @@ -3456,7 +3456,7 @@ dependencies = [ [[package]] name = "fuel-core-p2p" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3493,7 +3493,7 @@ dependencies = [ [[package]] name = "fuel-core-poa" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3516,7 +3516,7 @@ dependencies = [ [[package]] name = "fuel-core-producer" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3535,7 +3535,7 @@ dependencies = [ [[package]] name = "fuel-core-relayer" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3567,7 +3567,7 @@ dependencies = [ [[package]] name = "fuel-core-services" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3581,7 +3581,7 @@ dependencies = [ [[package]] name = "fuel-core-storage" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "derive_more", @@ -3605,7 +3605,7 @@ dependencies = [ [[package]] name = "fuel-core-sync" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3670,7 +3670,7 @@ dependencies = [ [[package]] name = "fuel-core-trace" -version = "0.33.0" +version = "0.34.0" dependencies = [ "ctor", "tracing", @@ -3680,7 +3680,7 @@ dependencies = [ [[package]] name = "fuel-core-txpool" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "async-trait", @@ -3706,7 +3706,7 @@ dependencies = [ [[package]] name = "fuel-core-types" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "bs58", @@ -3723,7 +3723,7 @@ dependencies = [ [[package]] name = "fuel-core-upgradable-executor" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "derive_more", @@ -3740,7 +3740,7 @@ dependencies = [ [[package]] name = "fuel-core-wasm-executor" -version = "0.33.0" +version = "0.34.0" dependencies = [ "anyhow", "fuel-core-executor", @@ -3786,7 +3786,7 @@ dependencies = [ [[package]] name = "fuel-gas-price-algorithm" -version = "0.33.0" +version = "0.34.0" dependencies = [ "proptest", "serde", diff --git a/Cargo.toml b/Cargo.toml index f9c2bce237c..10507c97cc8 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.33.0" +version = "0.34.0" [workspace.dependencies] # Workspace members -fuel-core = { version = "0.33.0", path = "./crates/fuel-core", default-features = false } -fuel-core-client-bin = { version = "0.33.0", path = "./bin/fuel-core-client" } -fuel-core-bin = { version = "0.33.0", path = "./bin/fuel-core" } -fuel-core-keygen = { version = "0.33.0", path = "./crates/keygen" } -fuel-core-keygen-bin = { version = "0.33.0", path = "./bin/keygen" } -fuel-core-chain-config = { version = "0.33.0", path = "./crates/chain-config", default-features = false } -fuel-core-client = { version = "0.33.0", path = "./crates/client" } -fuel-core-database = { version = "0.33.0", path = "./crates/database" } -fuel-core-metrics = { version = "0.33.0", path = "./crates/metrics" } -fuel-core-services = { version = "0.33.0", path = "./crates/services" } -fuel-core-consensus-module = { version = "0.33.0", path = "./crates/services/consensus_module" } -fuel-core-bft = { version = "0.33.0", path = "./crates/services/consensus_module/bft" } -fuel-core-poa = { version = "0.33.0", path = "./crates/services/consensus_module/poa" } -fuel-core-executor = { version = "0.33.0", path = "./crates/services/executor", default-features = false } -fuel-core-importer = { version = "0.33.0", path = "./crates/services/importer" } -fuel-core-gas-price-service = { version = "0.33.0", path = "crates/services/gas_price_service" } -fuel-core-p2p = { version = "0.33.0", path = "./crates/services/p2p" } -fuel-core-producer = { version = "0.33.0", path = "./crates/services/producer" } -fuel-core-relayer = { version = "0.33.0", path = "./crates/services/relayer" } -fuel-core-sync = { version = "0.33.0", path = "./crates/services/sync" } -fuel-core-txpool = { version = "0.33.0", path = "./crates/services/txpool" } -fuel-core-storage = { version = "0.33.0", path = "./crates/storage", default-features = false } -fuel-core-trace = { version = "0.33.0", path = "./crates/trace" } -fuel-core-types = { version = "0.33.0", path = "./crates/types", default-features = false } +fuel-core = { version = "0.34.0", path = "./crates/fuel-core", default-features = false } +fuel-core-client-bin = { version = "0.34.0", path = "./bin/fuel-core-client" } +fuel-core-bin = { version = "0.34.0", path = "./bin/fuel-core" } +fuel-core-keygen = { version = "0.34.0", path = "./crates/keygen" } +fuel-core-keygen-bin = { version = "0.34.0", path = "./bin/keygen" } +fuel-core-chain-config = { version = "0.34.0", path = "./crates/chain-config", default-features = false } +fuel-core-client = { version = "0.34.0", path = "./crates/client" } +fuel-core-database = { version = "0.34.0", path = "./crates/database" } +fuel-core-metrics = { version = "0.34.0", path = "./crates/metrics" } +fuel-core-services = { version = "0.34.0", path = "./crates/services" } +fuel-core-consensus-module = { version = "0.34.0", path = "./crates/services/consensus_module" } +fuel-core-bft = { version = "0.34.0", path = "./crates/services/consensus_module/bft" } +fuel-core-poa = { version = "0.34.0", path = "./crates/services/consensus_module/poa" } +fuel-core-executor = { version = "0.34.0", path = "./crates/services/executor", default-features = false } +fuel-core-importer = { version = "0.34.0", path = "./crates/services/importer" } +fuel-core-gas-price-service = { version = "0.34.0", path = "crates/services/gas_price_service" } +fuel-core-p2p = { version = "0.34.0", path = "./crates/services/p2p" } +fuel-core-producer = { version = "0.34.0", path = "./crates/services/producer" } +fuel-core-relayer = { version = "0.34.0", path = "./crates/services/relayer" } +fuel-core-sync = { version = "0.34.0", path = "./crates/services/sync" } +fuel-core-txpool = { version = "0.34.0", path = "./crates/services/txpool" } +fuel-core-storage = { version = "0.34.0", path = "./crates/storage", default-features = false } +fuel-core-trace = { version = "0.34.0", path = "./crates/trace" } +fuel-core-types = { version = "0.34.0", path = "./crates/types", default-features = false } fuel-core-tests = { version = "0.0.0", path = "./tests" } -fuel-core-upgradable-executor = { version = "0.33.0", path = "./crates/services/upgradable-executor" } -fuel-core-wasm-executor = { version = "0.33.0", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } +fuel-core-upgradable-executor = { version = "0.34.0", path = "./crates/services/upgradable-executor" } +fuel-core-wasm-executor = { version = "0.34.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.33.0", path = "crates/fuel-gas-price-algorithm" } +fuel-gas-price-algorithm = { version = "0.34.0", path = "crates/fuel-gas-price-algorithm" } # Fuel dependencies fuel-vm-private = { version = "0.56.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 0ab3442be6c..89fbb12476b 100644 --- a/bin/fuel-core/chainspec/local-testnet/chain_config.json +++ b/bin/fuel-core/chainspec/local-testnet/chain_config.json @@ -296,7 +296,7 @@ "privileged_address": "9f0e19d6c2a6283a3222426ab2630d35516b1799b503f37b02105bebe1b8a3e9" } }, - "genesis_state_transition_version": 8, + "genesis_state_transition_version": 9, "consensus": { "PoAV2": { "genesis_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 b8d721e2f83..7a9f63f6509 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 e66befed596..e8be28900c4 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 @@ -300,7 +300,7 @@ expression: json "privileged_address": "0000000000000000000000000000000000000000000000000000000000000000" } }, - "genesis_state_transition_version": 8, + "genesis_state_transition_version": 9, "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 317858b36be..c8daf2812af 100644 --- a/crates/services/upgradable-executor/src/executor.rs +++ b/crates/services/upgradable-executor/src/executor.rs @@ -144,7 +144,8 @@ impl Executor { ("0-31-0", 5), ("0-32-0", 6), ("0-32-1", 7), - ("0-33-0", LATEST_STATE_TRANSITION_VERSION), + ("0-33-0", 8), + ("0-34-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 65a5b1d3dbf..1f3fbd9a204 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 = 8; +pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 9; #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]