mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Don't create a execution payload with same timestamp as terminal block (#3331)
## Issue Addressed Resolves #3316 ## Proposed Changes This PR fixes an issue where lighthouse created a transition block with `block.execution_payload().timestamp == terminal_block.timestamp` if the terminal block was created at the slot boundary.
This commit is contained in:
@@ -219,7 +219,7 @@ impl<E: GenericExecutionEngine> TestRig<E> {
|
||||
let terminal_pow_block_hash = self
|
||||
.ee_a
|
||||
.execution_layer
|
||||
.get_terminal_pow_block_hash(&self.spec)
|
||||
.get_terminal_pow_block_hash(&self.spec, timestamp_now())
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap();
|
||||
@@ -228,7 +228,7 @@ impl<E: GenericExecutionEngine> TestRig<E> {
|
||||
terminal_pow_block_hash,
|
||||
self.ee_b
|
||||
.execution_layer
|
||||
.get_terminal_pow_block_hash(&self.spec)
|
||||
.get_terminal_pow_block_hash(&self.spec, timestamp_now())
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user