From 451ae293ce7cc9ff4ee9230dfb932698d979e884 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 20 Dec 2021 17:55:10 +1100 Subject: [PATCH] Specify no invalid parents --- sync/optimistic.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sync/optimistic.md b/sync/optimistic.md index fcb6d981a..515e340cc 100644 --- a/sync/optimistic.md +++ b/sync/optimistic.md @@ -79,6 +79,9 @@ To optimistically import a block: - The `execute_payload` function MUST return `True` if the execution engine returns `SYNCING` or `VALID`. An `INVALID` response MUST return `False`. +- The `validate_merge_block` function MUST NOT raise an assertion if both the +`pow_block` and `pow_parent` are unknown to the execution engine. +- The parent of the block MUST NOT have an INVALID execution payload. In addition to this change to validation, the consensus engine MUST be able to ascertain, after import, which blocks returned `SYNCING` and which returned