From eea8c605258d79d5243f3f822c0e1205b0802f3c Mon Sep 17 00:00:00 2001 From: Green Baneling Date: Tue, 15 Oct 2024 01:28:01 +0200 Subject: [PATCH] Release v0.40.0 (#2356) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Version v0.40.0 ### Added - [2347](https://github.com/FuelLabs/fuel-core/pull/2347): Add GraphQL complexity histogram to metrics. - [2350](https://github.com/FuelLabs/fuel-core/pull/2350): Added a new CLI flag `graphql-number-of-threads` to limit the number of threads used by the GraphQL service. The default value is `2`, `0` enables the old behavior. - [2335](https://github.com/FuelLabs/fuel-core/pull/2335): Added CLI arguments for configuring GraphQL query costs. ### Fixed - [2345](https://github.com/FuelLabs/fuel-core/pull/2345): In PoA increase priority of block creation timer trigger compare to txpool event management ### Changed - [2334](https://github.com/FuelLabs/fuel-core/pull/2334): Prepare the GraphQL service for the switching to `async` methods. - [2310](https://github.com/FuelLabs/fuel-core/pull/2310): New metrics: "The gas prices used in a block" (`importer_gas_price_for_block`), "The total gas used in a block" (`importer_gas_per_block`), "The total fee (gwei) paid by transactions in a block" (`importer_fee_per_block_gwei`), "The total number of transactions in a block" (`importer_transactions_per_block`), P2P metrics for swarm and protocol. - [2340](https://github.com/FuelLabs/fuel-core/pull/2340): Avoid long heavy tasks in the GraphQL service by splitting work into batches. - [2341](https://github.com/FuelLabs/fuel-core/pull/2341): Updated all pagination queries to work with the async stream instead of the sync iterator. - [2350](https://github.com/FuelLabs/fuel-core/pull/2350): Limited the number of threads used by the GraphQL service. #### Breaking - [2310](https://github.com/FuelLabs/fuel-core/pull/2310): The `metrics` command-line parameter has been replaced with `disable-metrics`. Metrics are now enabled by default, with the option to disable them entirely or on a per-module basis. - [2341](https://github.com/FuelLabs/fuel-core/pull/2341): The maximum number of processed coins from the `coins_to_spend` query is limited to `max_inputs`. ## What's Changed * fix(gas_price_service): service name and unused trait impl by @rymnc in https://github.com/FuelLabs/fuel-core/pull/2317 * Do not require build of docker images to pass CI by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2342 * Prepare the GraphQL service for the switching to `async` methods by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2334 * Limited the number of threads used by the GraphQL service by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2350 * Increase priority of timer over txpool event by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2345 * Disable flaky `test_poa_multiple_producers` test by @rafal-ch in https://github.com/FuelLabs/fuel-core/pull/2353 * feat: CLI arguments for configuring GraphQL query costs. by @netrome in https://github.com/FuelLabs/fuel-core/pull/2335 * Add graphql query complexity histogram metric by @AurelienFT in https://github.com/FuelLabs/fuel-core/pull/2349 * Updated all pagination queries to work with the `Stream` instead of `Iterator` by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2341 * Avoid long heavy tasks in the GraphQL service by @xgreenx in https://github.com/FuelLabs/fuel-core/pull/2340 * Add more metrics by @rafal-ch in https://github.com/FuelLabs/fuel-core/pull/2310 **Full Changelog**: https://github.com/FuelLabs/fuel-core/compare/v0.39.0...v0.40.0 --------- Co-authored-by: Rafał Chabowski Co-authored-by: acerone85 Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com> Co-authored-by: Rafał Chabowski <88321181+rafal-ch@users.noreply.github.com> --- CHANGELOG.md | 12 +- Cargo.lock | 123 +++++++++--------- Cargo.toml | 58 ++++----- .../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 +- 7 files changed, 101 insertions(+), 101 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f22fef5263..b8dce9c8ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [Version 0.40.0] + ### Added +- [2347](https://github.com/FuelLabs/fuel-core/pull/2347): Add GraphQL complexity histogram to metrics. - [2350](https://github.com/FuelLabs/fuel-core/pull/2350): Added a new CLI flag `graphql-number-of-threads` to limit the number of threads used by the GraphQL service. The default value is `2`, `0` enables the old behavior. - [2335](https://github.com/FuelLabs/fuel-core/pull/2335): Added CLI arguments for configuring GraphQL query costs. @@ -16,19 +19,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - [2334](https://github.com/FuelLabs/fuel-core/pull/2334): Prepare the GraphQL service for the switching to `async` methods. - [2310](https://github.com/FuelLabs/fuel-core/pull/2310): New metrics: "The gas prices used in a block" (`importer_gas_price_for_block`), "The total gas used in a block" (`importer_gas_per_block`), "The total fee (gwei) paid by transactions in a block" (`importer_fee_per_block_gwei`), "The total number of transactions in a block" (`importer_transactions_per_block`), P2P metrics for swarm and protocol. - -#### Breaking -- [2310](https://github.com/FuelLabs/fuel-core/pull/2310): The `metrics` command-line parameter has been replaced with `disable-metrics`. Metrics are now enabled by default, with the option to disable them entirely or on a per-module basis. -- [2341](https://github.com/FuelLabs/fuel-core/pull/2341): Updated all pagination queries to work with the async stream instead of the sync iterator. - [2340](https://github.com/FuelLabs/fuel-core/pull/2340): Avoid long heavy tasks in the GraphQL service by splitting work into batches. +- [2341](https://github.com/FuelLabs/fuel-core/pull/2341): Updated all pagination queries to work with the async stream instead of the sync iterator. - [2350](https://github.com/FuelLabs/fuel-core/pull/2350): Limited the number of threads used by the GraphQL service. #### Breaking +- [2310](https://github.com/FuelLabs/fuel-core/pull/2310): The `metrics` command-line parameter has been replaced with `disable-metrics`. Metrics are now enabled by default, with the option to disable them entirely or on a per-module basis. - [2341](https://github.com/FuelLabs/fuel-core/pull/2341): The maximum number of processed coins from the `coins_to_spend` query is limited to `max_inputs`. -### Added -- [2347](https://github.com/FuelLabs/fuel-core/pull/2347): Add GraphQL complexity histogram - ## [Version 0.39.0] ### Added diff --git a/Cargo.lock b/Cargo.lock index 91b6d16585..bc6071f408 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1330,9 +1330,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.1.29" +version = "1.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58e804ac3194a48bb129643eb1d62fcc20d18c6b8c181704489353d13120bcd1" +checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945" dependencies = [ "jobserver", "libc", @@ -3168,7 +3168,7 @@ dependencies = [ [[package]] name = "fuel-core" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "assert_matches", @@ -3197,7 +3197,7 @@ dependencies = [ "fuel-core-sync", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "fuel-core-upgradable-executor", "futures", "hex", @@ -3247,7 +3247,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-sync", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "itertools 0.12.1", "num_enum", @@ -3268,11 +3268,11 @@ dependencies = [ [[package]] name = "fuel-core-bft" -version = "0.39.0" +version = "0.40.0" [[package]] name = "fuel-core-bin" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "aws-config", @@ -3287,7 +3287,7 @@ dependencies = [ "fuel-core-metrics", "fuel-core-poa", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "hex", "humantime", "itertools 0.12.1", @@ -3297,6 +3297,7 @@ dependencies = [ "rand", "serde", "serde_json", + "strum 0.25.0", "tempfile", "test-case", "tikv-jemallocator", @@ -3308,7 +3309,7 @@ dependencies = [ [[package]] name = "fuel-core-chain-config" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "bech32", @@ -3316,7 +3317,7 @@ dependencies = [ "derivative", "fuel-core-chain-config", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "insta", "itertools 0.12.1", "parquet", @@ -3334,14 +3335,14 @@ dependencies = [ [[package]] name = "fuel-core-client" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "base64 0.22.1", "cynic", "derive_more", "eventsource-client", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "hex", "hyper-rustls", @@ -3358,22 +3359,22 @@ dependencies = [ [[package]] name = "fuel-core-client-bin" -version = "0.39.0" +version = "0.40.0" dependencies = [ "clap 4.5.20", "fuel-core-client", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "serde_json", "tokio", ] [[package]] name = "fuel-core-compression" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "fuel-core-compression", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "paste", "postcard", "proptest", @@ -3386,30 +3387,30 @@ dependencies = [ [[package]] name = "fuel-core-consensus-module" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "fuel-core-chain-config", "fuel-core-poa", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "test-case", ] [[package]] name = "fuel-core-database" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "derive_more", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", ] [[package]] name = "fuel-core-e2e-client" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "assert_cmd", @@ -3417,7 +3418,7 @@ dependencies = [ "fuel-core-chain-config", "fuel-core-client", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "hex", "humantime-serde", @@ -3434,12 +3435,12 @@ dependencies = [ [[package]] name = "fuel-core-executor" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "hex", "parking_lot", "serde", @@ -3448,14 +3449,14 @@ dependencies = [ [[package]] name = "fuel-core-gas-price-service" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", "enum-iterator", "fuel-core-services", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "fuel-gas-price-algorithm", "futures", "num_enum", @@ -3472,14 +3473,14 @@ dependencies = [ [[package]] name = "fuel-core-importer" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "derive_more", "fuel-core-metrics", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "mockall", "parking_lot", "rayon", @@ -3490,18 +3491,18 @@ dependencies = [ [[package]] name = "fuel-core-keygen" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "clap 4.5.20", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "libp2p-identity", "serde", ] [[package]] name = "fuel-core-keygen-bin" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "atty", @@ -3514,9 +3515,8 @@ dependencies = [ [[package]] name = "fuel-core-metrics" -version = "0.39.0" +version = "0.40.0" dependencies = [ - "derive_more", "once_cell", "parking_lot", "pin-project-lite", @@ -3530,7 +3530,7 @@ dependencies = [ [[package]] name = "fuel-core-p2p" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3541,7 +3541,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "hex", "hickory-resolver", @@ -3568,7 +3568,7 @@ dependencies = [ [[package]] name = "fuel-core-poa" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3579,7 +3579,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "k256", "mockall", "rand", @@ -3593,7 +3593,7 @@ dependencies = [ [[package]] name = "fuel-core-producer" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3601,7 +3601,7 @@ dependencies = [ "fuel-core-producer", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "mockall", "proptest", "rand", @@ -3612,7 +3612,7 @@ dependencies = [ [[package]] name = "fuel-core-relayer" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3626,7 +3626,7 @@ dependencies = [ "fuel-core-services", "fuel-core-storage", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "mockall", "once_cell", @@ -3645,7 +3645,7 @@ dependencies = [ [[package]] name = "fuel-core-services" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3654,6 +3654,7 @@ dependencies = [ "futures", "mockall", "parking_lot", + "pin-project-lite", "rayon", "tokio", "tracing", @@ -3661,13 +3662,13 @@ dependencies = [ [[package]] name = "fuel-core-storage" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "derive_more", "enum-iterator", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "fuel-vm 0.58.2", "impl-tools", "itertools 0.12.1", @@ -3685,13 +3686,13 @@ dependencies = [ [[package]] name = "fuel-core-sync" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", "fuel-core-services", "fuel-core-trace", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "mockall", "rand", @@ -3726,7 +3727,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "fuel-core-upgradable-executor", "futures", "hex", @@ -3752,7 +3753,7 @@ dependencies = [ [[package]] name = "fuel-core-trace" -version = "0.39.0" +version = "0.40.0" dependencies = [ "ctor", "tracing", @@ -3762,7 +3763,7 @@ dependencies = [ [[package]] name = "fuel-core-txpool" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "async-trait", @@ -3771,7 +3772,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "mockall", "num-rational", @@ -3803,7 +3804,7 @@ dependencies = [ [[package]] name = "fuel-core-types" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "bs58", @@ -3819,13 +3820,13 @@ dependencies = [ [[package]] name = "fuel-core-upgradable-executor" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "derive_more", "fuel-core-executor", "fuel-core-storage", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "fuel-core-wasm-executor", "ntest", "parking_lot", @@ -3836,13 +3837,13 @@ dependencies = [ [[package]] name = "fuel-core-wasm-executor" -version = "0.39.0" +version = "0.40.0" dependencies = [ "anyhow", "fuel-core-executor", "fuel-core-storage", "fuel-core-types 0.35.0", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "postcard", "proptest", "serde", @@ -3912,7 +3913,7 @@ dependencies = [ [[package]] name = "fuel-gas-price-algorithm" -version = "0.39.0" +version = "0.40.0" dependencies = [ "proptest", "rand", @@ -6719,9 +6720,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.13" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdbef9d1d47087a895abd220ed25eb4ad973a5e26f6a4367b038c25e28dfc2d9" +checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", "thiserror", @@ -7871,9 +7872,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rusty-fork" @@ -8820,7 +8821,7 @@ dependencies = [ "fuel-core-storage", "fuel-core-trace", "fuel-core-txpool", - "fuel-core-types 0.39.0", + "fuel-core-types 0.40.0", "futures", "itertools 0.12.1", "rand", diff --git a/Cargo.toml b/Cargo.toml index 10230180a1..d80bf4f5bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,40 +51,40 @@ homepage = "https://fuel.network/" keywords = ["blockchain", "cryptocurrencies", "fuel-vm", "vm"] license = "BUSL-1.1" repository = "https://github.com/FuelLabs/fuel-core" -version = "0.39.0" +version = "0.40.0" [workspace.dependencies] # Workspace members -fuel-core = { version = "0.39.0", path = "./crates/fuel-core", default-features = false } -fuel-core-client-bin = { version = "0.39.0", path = "./bin/fuel-core-client" } -fuel-core-bin = { version = "0.39.0", path = "./bin/fuel-core" } -fuel-core-keygen = { version = "0.39.0", path = "./crates/keygen" } -fuel-core-keygen-bin = { version = "0.39.0", path = "./bin/keygen" } -fuel-core-chain-config = { version = "0.39.0", path = "./crates/chain-config", default-features = false } -fuel-core-client = { version = "0.39.0", path = "./crates/client" } -fuel-core-compression = { version = "0.39.0", path = "./crates/compression" } -fuel-core-database = { version = "0.39.0", path = "./crates/database" } -fuel-core-metrics = { version = "0.39.0", path = "./crates/metrics" } -fuel-core-services = { version = "0.39.0", path = "./crates/services" } -fuel-core-consensus-module = { version = "0.39.0", path = "./crates/services/consensus_module" } -fuel-core-bft = { version = "0.39.0", path = "./crates/services/consensus_module/bft" } -fuel-core-poa = { version = "0.39.0", path = "./crates/services/consensus_module/poa" } -fuel-core-executor = { version = "0.39.0", path = "./crates/services/executor", default-features = false } -fuel-core-importer = { version = "0.39.0", path = "./crates/services/importer" } -fuel-core-gas-price-service = { version = "0.39.0", path = "crates/services/gas_price_service" } -fuel-core-p2p = { version = "0.39.0", path = "./crates/services/p2p" } -fuel-core-producer = { version = "0.39.0", path = "./crates/services/producer" } -fuel-core-relayer = { version = "0.39.0", path = "./crates/services/relayer" } -fuel-core-sync = { version = "0.39.0", path = "./crates/services/sync" } -fuel-core-txpool = { version = "0.39.0", path = "./crates/services/txpool_v2" } -fuel-core-storage = { version = "0.39.0", path = "./crates/storage", default-features = false } -fuel-core-trace = { version = "0.39.0", path = "./crates/trace" } -fuel-core-types = { version = "0.39.0", path = "./crates/types", default-features = false } +fuel-core = { version = "0.40.0", path = "./crates/fuel-core", default-features = false } +fuel-core-client-bin = { version = "0.40.0", path = "./bin/fuel-core-client" } +fuel-core-bin = { version = "0.40.0", path = "./bin/fuel-core" } +fuel-core-keygen = { version = "0.40.0", path = "./crates/keygen" } +fuel-core-keygen-bin = { version = "0.40.0", path = "./bin/keygen" } +fuel-core-chain-config = { version = "0.40.0", path = "./crates/chain-config", default-features = false } +fuel-core-client = { version = "0.40.0", path = "./crates/client" } +fuel-core-compression = { version = "0.40.0", path = "./crates/compression" } +fuel-core-database = { version = "0.40.0", path = "./crates/database" } +fuel-core-metrics = { version = "0.40.0", path = "./crates/metrics" } +fuel-core-services = { version = "0.40.0", path = "./crates/services" } +fuel-core-consensus-module = { version = "0.40.0", path = "./crates/services/consensus_module" } +fuel-core-bft = { version = "0.40.0", path = "./crates/services/consensus_module/bft" } +fuel-core-poa = { version = "0.40.0", path = "./crates/services/consensus_module/poa" } +fuel-core-executor = { version = "0.40.0", path = "./crates/services/executor", default-features = false } +fuel-core-importer = { version = "0.40.0", path = "./crates/services/importer" } +fuel-core-gas-price-service = { version = "0.40.0", path = "crates/services/gas_price_service" } +fuel-core-p2p = { version = "0.40.0", path = "./crates/services/p2p" } +fuel-core-producer = { version = "0.40.0", path = "./crates/services/producer" } +fuel-core-relayer = { version = "0.40.0", path = "./crates/services/relayer" } +fuel-core-sync = { version = "0.40.0", path = "./crates/services/sync" } +fuel-core-txpool = { version = "0.40.0", path = "./crates/services/txpool_v2" } +fuel-core-storage = { version = "0.40.0", path = "./crates/storage", default-features = false } +fuel-core-trace = { version = "0.40.0", path = "./crates/trace" } +fuel-core-types = { version = "0.40.0", path = "./crates/types", default-features = false } fuel-core-tests = { version = "0.0.0", path = "./tests" } -fuel-core-upgradable-executor = { version = "0.39.0", path = "./crates/services/upgradable-executor" } -fuel-core-wasm-executor = { version = "0.39.0", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false } +fuel-core-upgradable-executor = { version = "0.40.0", path = "./crates/services/upgradable-executor" } +fuel-core-wasm-executor = { version = "0.40.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.39.0", path = "crates/fuel-gas-price-algorithm" } +fuel-gas-price-algorithm = { version = "0.40.0", path = "crates/fuel-gas-price-algorithm" } # Fuel dependencies fuel-vm-private = { version = "0.58.2", 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 342086aaa1..2977f4b4b0 100644 --- a/bin/fuel-core/chainspec/local-testnet/chain_config.json +++ b/bin/fuel-core/chainspec/local-testnet/chain_config.json @@ -297,7 +297,7 @@ "privileged_address": "9f0e19d6c2a6283a3222426ab2630d35516b1799b503f37b02105bebe1b8a3e9" } }, - "genesis_state_transition_version": 15, + "genesis_state_transition_version": 16, "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 96191c0113..c3123c6bb3 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 @@ -301,7 +301,7 @@ expression: json "privileged_address": "0000000000000000000000000000000000000000000000000000000000000000" } }, - "genesis_state_transition_version": 15, + "genesis_state_transition_version": 16, "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 fedecf28d4..38ebabe028 100644 --- a/crates/services/upgradable-executor/src/executor.rs +++ b/crates/services/upgradable-executor/src/executor.rs @@ -154,7 +154,8 @@ impl Executor { ("0-37-0", 12), ("0-37-1", 13), ("0-38-0", 14), - ("0-39-0", LATEST_STATE_TRANSITION_VERSION), + ("0-39-0", 15), + ("0-40-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 951435ea56..65aba0f139 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 = 15; +pub const LATEST_STATE_TRANSITION_VERSION: StateTransitionBytecodeVersion = 16; #[derive(Copy, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]