-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
156e2e5
to
f37f99a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is a good idea to add any malus stuff in the real node. We should add a mechanism that allows us to feed any override into the node from the malus crate.
There is another CLI flag that might help with your testing -
Line 112 in decdbed
pub grandpa_pause: Vec<u32>, |
The cli flag is now only available for malus binaries. As an extra protection, it's only activated if
I'm not sure yet if |
malus_delay_finality
cli flagfinality_delay
cli flag
* master: westend xcm: collectives parachain is trusted teleporter (#5798) Cleanup light client leftovers (#5794) Fix benchmarking tests (#5791) allow re-use and avoid compiling kusama parachain code (#5792) Introduce async runtime calling trait for runtime-api subsystem (#5782) add `Extrinsic Ordering` check that runs against a local reference node (#5790) Co #11456: Expose `benchmark extrinsic` command (#5620) `staking-miner`: Add handling of `SIGTERM`, `SIGKILL`, `SIGQUIT` and `SIGINT` (#5780) Zombienet: paritydb test (#5310) Fix Typo (#5766) Fix Core Version display in the release notes (#5781) companion for new pools reward scheme (#5757) fix disable-runtime-api feature flag (#5773) split NetworkBridge into two subsystems (#5616) Implement prune only stagnant check mode (#5761)
bot merge |
* companion for paritytech/polkadot#5770 * update lockfile for {"polkadot", "substrate"} Co-authored-by: parity-processbot <>
* master: (37 commits) Backport crate version bumps to 0.9.27 (#5826) Fix GHA (#5825) [ci] Add timeout to benchmark jobs (#5822) Parachains db column "migration" (#5797) Companion for #11831 (#5784) [ci] Return production image (#5818) add migration for staking v10 (#5817) Prepare for rust 1.62.1 (#5811) Bump strum to 0.24.1 (#5816) Bump substrate (#5814) Add missing trigger wildcards for some CI workflows (#5812) malus: add `finality_delay` cli flag (#5770) [ci] publish parachain-implementers-guide (#5806) westend xcm: collectives parachain is trusted teleporter (#5798) Cleanup light client leftovers (#5794) Fix benchmarking tests (#5791) allow re-use and avoid compiling kusama parachain code (#5792) Introduce async runtime calling trait for runtime-api subsystem (#5782) add `Extrinsic Ordering` check that runs against a local reference node (#5790) Co #11456: Expose `benchmark extrinsic` command (#5620) ...
This allows to pass a
--finality-delay X
cli param to malus to configure the finality delay.The ugly part is that it's feature gated withThis param propagates to cumulus unfortunately, not sure if there's a sane way to hide it.#[cfg(feature = "malus")]
innew_full
function. However, due to how cargo resolves features, in some packages,malus
is enabled when launching from workspace root, but not if individually (e.g. running only adder-collator tests). I'm open to ideas to how avoid that w/o exposing this flag to validators.cumulus companion: paritytech/cumulus#1442