Skip to content

Commit

Permalink
Merge branch 'master' into dento/regenesis-old-blocks-and-txs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Apr 9, 2024
2 parents 056fead + 987ad60 commit 62a1a75
Show file tree
Hide file tree
Showing 24 changed files with 1,059 additions and 789 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]

Description of the upcoming release here.
### Fixed

- [#1814](https://github.com/FuelLabs/fuel-core/pull/1814): Bugfix: the `iter_all_by_prefix` was not working for all tables. The change adds a `Rust` level filtering.
=======
### Added

- [#1799](https://github.com/FuelLabs/fuel-core/pull/1799) Snapshot creation is now concurrent.

### Changed

- [#1812](https://github.com/FuelLabs/fuel-core/pull/1812): Follow-up PR to simplify the logic around parallel snapshot creation.

## [Version 0.24.2]

### Changed

#### Breaking
- [#1798](https://github.com/FuelLabs/fuel-core/pull/1798): add nonce to relayed transactions and also hash full messages in the inbox root.
- [#1798](https://github.com/FuelLabs/fuel-core/pull/1798): Add nonce to relayed transactions and also hash full messages in the inbox root.

### Fixed

Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ parking_lot = "0.12"
tokio = { version = "1.27", default-features = false }
tokio-rayon = "2.1.0"
tokio-stream = "0.1"
tokio-util = { version = "0.7", default-features = false }
tracing = "0.1"
thiserror = "1.0"
futures = "0.3"
Expand Down
14 changes: 5 additions & 9 deletions bin/fuel-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ dirs = "4.0"
dotenvy = { version = "0.15", optional = true }
fuel-core = { workspace = true }
fuel-core-chain-config = { workspace = true }
fuel-core-storage = { workspace = true, optional = true }
fuel-core-types = { workspace = true }
hex = "0.4"
humantime = "2.1"
itertools = { workspace = true, optional = true }
pyroscope = "0.5"
pyroscope_pprofrs = "0.2"
serde = { workspace = true }
serde_json = { workspace = true }
tikv-jemallocator = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
Expand All @@ -44,9 +41,12 @@ url = { version = "2.2", optional = true }

[dev-dependencies]
fuel-core = { workspace = true, features = ["test-helpers"] }
fuel-core-storage = { workspace = true }
fuel-core-types = { workspace = true, features = ["test-helpers"] }
itertools = { workspace = true }
pretty_assertions = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
tempfile = { workspace = true }
test-case = { workspace = true }

Expand All @@ -56,11 +56,7 @@ env = ["dep:dotenvy"]
p2p = ["fuel-core/p2p", "const_format"]
relayer = ["fuel-core/relayer", "dep:url"]
parquet = ["fuel-core-chain-config/parquet", "fuel-core-types/serde"]
rocksdb = ["fuel-core/rocksdb", "dep:fuel-core-storage", "dep:itertools"]
rocksdb-production = [
"fuel-core/rocksdb-production",
"dep:fuel-core-storage",
"dep:itertools",
]
rocksdb = ["fuel-core/rocksdb"]
rocksdb-production = ["fuel-core/rocksdb-production"]
# features to enable in production, but increase build times
production = ["env", "relayer", "rocksdb-production", "p2p", "parquet"]
2 changes: 1 addition & 1 deletion bin/fuel-core/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub async fn run_cli() -> anyhow::Result<()> {
Ok(opt) => match opt.command {
Fuel::Run(command) => run::exec(command).await,
#[cfg(any(feature = "rocksdb", feature = "rocksdb-production"))]
Fuel::Snapshot(command) => snapshot::exec(command),
Fuel::Snapshot(command) => snapshot::exec(command).await,
Fuel::GenerateFeeContract(command) => fee_contract::exec(command).await,
},
Err(e) => {
Expand Down
Loading

0 comments on commit 62a1a75

Please sign in to comment.