diff --git a/CHANGELOG.md b/CHANGELOG.md index 9672efa3092..0a256c49e6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [Version 0.33.0] + ### Added - [2094](https://github.com/FuelLabs/fuel-core/pull/2094): Added support for predefined blocks provided via the filesystem. - [2094](https://github.com/FuelLabs/fuel-core/pull/2094): Added `--predefined-blocks-path` CLI argument to pass the path to the predefined blocks. diff --git a/Cargo.lock b/Cargo.lock index 85a4b875506..8b081c59842 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2784,7 +2784,7 @@ dependencies = [ [[package]] name = "fuel-core" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "assert_matches", @@ -2874,11 +2874,11 @@ dependencies = [ [[package]] name = "fuel-core-bft" -version = "0.32.1" +version = "0.33.0" [[package]] name = "fuel-core-bin" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "clap 4.5.13", @@ -2909,7 +2909,7 @@ dependencies = [ [[package]] name = "fuel-core-chain-config" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "bech32", @@ -2935,7 +2935,7 @@ dependencies = [ [[package]] name = "fuel-core-client" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "cynic", @@ -2958,7 +2958,7 @@ dependencies = [ [[package]] name = "fuel-core-client-bin" -version = "0.32.1" +version = "0.33.0" dependencies = [ "clap 4.5.13", "fuel-core-client", @@ -2969,7 +2969,7 @@ dependencies = [ [[package]] name = "fuel-core-consensus-module" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "fuel-core-chain-config", @@ -2981,7 +2981,7 @@ dependencies = [ [[package]] name = "fuel-core-database" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "derive_more", @@ -2992,7 +2992,7 @@ dependencies = [ [[package]] name = "fuel-core-e2e-client" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "assert_cmd", @@ -3018,7 +3018,7 @@ dependencies = [ [[package]] name = "fuel-core-executor" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "fuel-core-storage", @@ -3032,7 +3032,7 @@ dependencies = [ [[package]] name = "fuel-core-gas-price-service" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3054,7 +3054,7 @@ dependencies = [ [[package]] name = "fuel-core-importer" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "derive_more", @@ -3072,7 +3072,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "clap 4.5.13", @@ -3083,7 +3083,7 @@ dependencies = [ [[package]] name = "fuel-core-keygen-bin" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "atty", @@ -3096,7 +3096,7 @@ dependencies = [ [[package]] name = "fuel-core-metrics" -version = "0.32.1" +version = "0.33.0" dependencies = [ "parking_lot", "pin-project-lite", @@ -3108,7 +3108,7 @@ dependencies = [ [[package]] name = "fuel-core-p2p" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3145,7 +3145,7 @@ dependencies = [ [[package]] name = "fuel-core-poa" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3166,7 +3166,7 @@ dependencies = [ [[package]] name = "fuel-core-producer" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "fuel-core-relayer" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3217,7 +3217,7 @@ dependencies = [ [[package]] name = "fuel-core-services" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3231,7 +3231,7 @@ dependencies = [ [[package]] name = "fuel-core-storage" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "derive_more", @@ -3255,7 +3255,7 @@ dependencies = [ [[package]] name = "fuel-core-sync" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3315,7 +3315,7 @@ dependencies = [ [[package]] name = "fuel-core-trace" -version = "0.32.1" +version = "0.33.0" dependencies = [ "ctor", "tracing", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "fuel-core-txpool" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "async-trait", @@ -3351,7 +3351,7 @@ dependencies = [ [[package]] name = "fuel-core-types" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "bs58", @@ -3368,7 +3368,7 @@ dependencies = [ [[package]] name = "fuel-core-upgradable-executor" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "derive_more", @@ -3385,7 +3385,7 @@ dependencies = [ [[package]] name = "fuel-core-wasm-executor" -version = "0.32.1" +version = "0.33.0" dependencies = [ "anyhow", "fuel-core-executor", @@ -3431,7 +3431,7 @@ dependencies = [ [[package]] name = "fuel-gas-price-algorithm" -version = "0.32.1" +version = "0.33.0" dependencies = [ "proptest", "serde", diff --git a/Cargo.toml b/Cargo.toml index a529d4fe0c6..3b7b9ddb0fb 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.32.1" +version = "0.33.0" [workspace.dependencies] # Workspace members -fuel-core = { version = "0.32.1", path = "./crates/fuel-core", default-features = false } -fuel-core-client-bin = { version = "0.32.1", path = "./bin/fuel-core-client" } -fuel-core-bin = { version = "0.32.1", path = "./bin/fuel-core" } -fuel-core-keygen = { version = "0.32.1", path = "./crates/keygen" } -fuel-core-keygen-bin = { version = "0.32.1", path = "./bin/keygen" } -fuel-core-chain-config = { version = "0.32.1", path = "./crates/chain-config", default-features = false } -fuel-core-client = { version = "0.32.1", path = "./crates/client" } -fuel-core-database = { version = "0.32.1", path = "./crates/database" } -fuel-core-metrics = { version = "0.32.1", path = "./crates/metrics" } -fuel-core-services = { version = "0.32.1", path = "./crates/services" } -fuel-core-consensus-module = { version = "0.32.1", path = "./crates/services/consensus_module" } -fuel-core-bft = { version = "0.32.1", path = "./crates/services/consensus_module/bft" } -fuel-core-poa = { version = "0.32.1", path = "./crates/services/consensus_module/poa" } -fuel-core-executor = { version = "0.32.1", path = "./crates/services/executor", default-features = false } -fuel-core-importer = { version = "0.32.1", path = "./crates/services/importer" } -fuel-core-gas-price-service = { version = "0.32.1", path = "crates/services/gas_price_service" } -fuel-core-p2p = { version = "0.32.1", path = "./crates/services/p2p" } -fuel-core-producer = { version = "0.32.1", path = "./crates/services/producer" } -fuel-core-relayer = { version = "0.32.1", path = "./crates/services/relayer" } -fuel-core-sync = { version = "0.32.1", path = "./crates/services/sync" } -fuel-core-txpool = { version = "0.32.1", path = "./crates/services/txpool" } -fuel-core-storage = { version = "0.32.1", path = "./crates/storage", default-features = false } -fuel-core-trace = { version = "0.32.1", path = "./crates/trace" } -fuel-core-types = { version = "0.32.1", path = "./crates/types", default-features = false } +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-tests = { version = "0.0.0", path = "./tests" } -fuel-core-upgradable-executor = { version = "0.32.1", path = "./crates/services/upgradable-executor" } -fuel-core-wasm-executor = { version = "0.32.1", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } +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-xtask = { version = "0.0.0", path = "./xtask" } -fuel-gas-price-algorithm = { version = "0.32.1", path = "crates/fuel-gas-price-algorithm" } +fuel-gas-price-algorithm = { version = "0.33.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 ea81dbae063..0ab3442be6c 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": 7, + "genesis_state_transition_version": 8, "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 304d1710c73..b8d721e2f83 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 6533737f1e0..e66befed596 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": 7, + "genesis_state_transition_version": 8, "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 30bbd35e5f2..317858b36be 100644 --- a/crates/services/upgradable-executor/src/executor.rs +++ b/crates/services/upgradable-executor/src/executor.rs @@ -143,7 +143,8 @@ impl Executor { ("0-30-0", 4), ("0-31-0", 5), ("0-32-0", 6), - ("0-32-1", LATEST_STATE_TRANSITION_VERSION), + ("0-32-1", 7), + ("0-33-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 f16ae180759..65a5b1d3dbf 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 = 7; +pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 8; #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]