fix: validate header against parent in engine2 (#10114)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Dan Cline
2024-08-05 22:01:51 -04:00
committed by GitHub
parent 61500238fb
commit 08158e4449
2 changed files with 33 additions and 0 deletions

View File

@ -138,6 +138,8 @@ impl TestBlockBuilder {
EMPTY_ROOT_HASH,
),
)])),
// use the number as the timestamp so it is monotonically increasing
timestamp: number,
..Default::default()
};