mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
lint
This commit is contained in:
@@ -2603,7 +2603,7 @@ async fn weak_subjectivity_sync_test(slots: Vec<Slot>, checkpoint_slot: Slot) {
|
|||||||
.deconstruct();
|
.deconstruct();
|
||||||
if wss_fork.fulu_enabled() {
|
if wss_fork.fulu_enabled() {
|
||||||
info!(block_slot = %block.slot(), ?block_root, "Corrupting data column KZG proof");
|
info!(block_slot = %block.slot(), ?block_root, "Corrupting data column KZG proof");
|
||||||
let (mut data_columns, expected_column_indices) = cols.unwrap();
|
let mut data_columns = cols.unwrap();
|
||||||
assert!(
|
assert!(
|
||||||
!data_columns.is_empty(),
|
!data_columns.is_empty(),
|
||||||
"data column sidecars shouldn't be empty"
|
"data column sidecars shouldn't be empty"
|
||||||
@@ -2618,7 +2618,6 @@ async fn weak_subjectivity_sync_test(slots: Vec<Slot>, checkpoint_slot: Slot) {
|
|||||||
Some(block_root),
|
Some(block_root),
|
||||||
block,
|
block,
|
||||||
data_columns.to_vec(),
|
data_columns.to_vec(),
|
||||||
expected_column_indices,
|
|
||||||
&harness.spec,
|
&harness.spec,
|
||||||
)
|
)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
@@ -3819,7 +3818,6 @@ fn available_to_rpc_block<E: EthSpec>(block: AvailableBlock<E>, spec: &ChainSpec
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|d| CustodyDataColumn::from_asserted_custody(d))
|
.map(|d| CustodyDataColumn::from_asserted_custody(d))
|
||||||
.collect(),
|
.collect(),
|
||||||
vec![],
|
|
||||||
spec,
|
spec,
|
||||||
)
|
)
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
|
|||||||
Reference in New Issue
Block a user