diff --git a/CHANGELOG.md b/CHANGELOG.md index d39dc8e7dd2..df3b9a1c700 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed +- [#1906](https://github.com/FuelLabs/fuel-core/pull/1906): Makes `cli::snapshot::Command` members public such that clients can create and execute snapshot commands programmatically. This enables snapshot execution in external programs, such as the regenesis test suite. - [#1891](https://github.com/FuelLabs/fuel-core/pull/1891): Regenesis now preserves `FuelBlockMerkleData` and `FuelBlockMerkleMetadata` in the off-chain table. These tables are checked when querying message proofs. - [#1886](https://github.com/FuelLabs/fuel-core/pull/1886): Use ref to `Block` in validation code - [#1876](https://github.com/FuelLabs/fuel-core/pull/1876): Updated benchmark to include the worst scenario for `CROO` opcode. Also include consensus parameters in bench output. diff --git a/bin/fuel-core/src/cli/snapshot.rs b/bin/fuel-core/src/cli/snapshot.rs index a3422233e68..b7143d987a8 100644 --- a/bin/fuel-core/src/cli/snapshot.rs +++ b/bin/fuel-core/src/cli/snapshot.rs @@ -27,11 +27,11 @@ pub struct Command { value_parser, default_value = default_db_path().into_os_string() )] - pub(crate) database_path: PathBuf, + pub database_path: PathBuf, /// Where to save the snapshot #[arg(name = "OUTPUT_DIR", long = "output-directory")] - pub(crate) output_dir: PathBuf, + pub output_dir: PathBuf, /// The maximum database cache size in bytes. #[arg( @@ -43,7 +43,7 @@ pub struct Command { /// The sub-command of the snapshot operation. #[command(subcommand)] - pub(crate) subcommand: SubCommands, + pub subcommand: SubCommands, } #[derive(Subcommand, Debug, Clone, Copy)]