mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-22 19:28:20 +00:00
conditional disabling
This commit is contained in:
parent
ca19e12136
commit
578a10693f
@ -545,12 +545,12 @@ proc validateDataColumnSidecar*(
|
|||||||
#
|
#
|
||||||
# [REJECT] The sidecar's block's parent (defined by
|
# [REJECT] The sidecar's block's parent (defined by
|
||||||
# `block_header.parent_root`) passes validation.
|
# `block_header.parent_root`) passes validation.
|
||||||
# let parent = dag.getBlockRef(block_header.parent_root).valueOr:
|
let parent = dag.getBlockRef(block_header.parent_root).valueOr:
|
||||||
# if block_header.parent_root in quarantine[].unviable:
|
if block_header.parent_root in quarantine[].unviable:
|
||||||
# quarantine[].addUnviable(block_root)
|
quarantine[].addUnviable(block_root)
|
||||||
# return dag.checkedReject("DataColumnSidecar: parent not validated")
|
return dag.checkedReject("DataColumnSidecar: parent not validated")
|
||||||
# else:
|
else:
|
||||||
# quarantine[].addMissing(block_header.parent_root)
|
quarantine[].addMissing(block_header.parent_root)
|
||||||
# return errIgnore("DataColumnSidecar: parent not found")
|
# return errIgnore("DataColumnSidecar: parent not found")
|
||||||
|
|
||||||
# [REJECT] The sidecar is proposed by the expected `proposer_index`
|
# [REJECT] The sidecar is proposed by the expected `proposer_index`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user