conditional disabling

This commit is contained in:
Agnish Ghosh 2024-06-02 10:46:10 +05:30
parent ca19e12136
commit 578a10693f
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 7 additions and 7 deletions

View File

@ -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`