mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
Cell Dissemination (Partial messages) (#8314)
- https://github.com/ethereum/consensus-specs/pull/4558 - https://eips.ethereum.org/EIPS/eip-8136 Co-Authored-By: Daniel Knopik <daniel@dknopik.de> Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
@@ -2864,3 +2864,21 @@ fn invalid_block_roots_default_mainnet() {
|
||||
assert!(config.chain.invalid_block_roots.is_empty());
|
||||
})
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn partial_columns() {
|
||||
CommandLineTest::new()
|
||||
.flag("enable-partial-columns", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
assert!(config.network.enable_partial_columns);
|
||||
assert!(config.chain.enable_partial_columns);
|
||||
});
|
||||
// And disabled by default:
|
||||
CommandLineTest::new()
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| {
|
||||
assert!(!config.network.enable_partial_columns);
|
||||
assert!(!config.chain.enable_partial_columns);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user