Skip to content

Commit

Permalink
feat: don't override fork strategy in import_queue (#3049)
Browse files Browse the repository at this point in the history
* feat: don't override fork strategy in import_queue

* use ParachainBlockImport::new

* change new behaviour to be an opt-in instead of the default

* update moonkit dependency pin

* enable experimental_block_import_strategy when using the dev service
  • Loading branch information
RomarQ authored Nov 23, 2024
1 parent 776f962 commit 7bd296e
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 51 deletions.
30 changes: 15 additions & 15 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ slices = "0.2.0"
strum = { version = "0.26.3", default-features = false, features = ["derive"] }
strum_macros = "0.24"
smallvec = "1.11.0"
p256 = { version = "0.13.2", default-features = false, features = [
"ecdsa"] }
p256 = { version = "0.13.2", default-features = false, features = ["ecdsa"] }
ansi_term = "0.12.1"

# Other (client)
Expand Down
5 changes: 5 additions & 0 deletions node/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ pub struct RunCmd {
#[clap(long)]
pub dev_service: bool,

/// Enable the new block import strategy
/// Deprecated in: https://github.com/Moonsong-Labs/moonkit/pull/43
#[clap(long)]
pub experimental_block_import_strategy: bool,

#[cfg(feature = "lazy-loading")]
#[clap(long)]
pub fork_chain_from_rpc: Option<String>,
Expand Down
Loading

0 comments on commit 7bd296e

Please sign in to comment.