mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Merge devnet 3 (#2859)
## Issue Addressed N/A ## Proposed Changes Changes required for the `merge-devnet-3`. Added some more non substantive renames on top of @realbigsean 's commit. Note: this doesn't include the proposer boosting changes in kintsugi v3. This devnet isn't running with the proposer boosting fork choice changes so if we are looking to merge https://github.com/sigp/lighthouse/pull/2822 into `unstable`, then I think we should just maintain this branch for the devnet temporarily. Co-authored-by: realbigsean <seananderson33@gmail.com> Co-authored-by: Paul Hauner <paul@paulhauner.com>
This commit is contained in:
@@ -49,7 +49,7 @@ struct PayloadIdCacheKey {
|
||||
pub head_block_hash: Hash256,
|
||||
pub timestamp: u64,
|
||||
pub random: Hash256,
|
||||
pub fee_recipient: Address,
|
||||
pub suggested_fee_recipient: Address,
|
||||
}
|
||||
|
||||
/// An execution engine.
|
||||
@@ -76,7 +76,7 @@ impl<T> Engine<T> {
|
||||
head_block_hash: Hash256,
|
||||
timestamp: u64,
|
||||
random: Hash256,
|
||||
fee_recipient: Address,
|
||||
suggested_fee_recipient: Address,
|
||||
) -> Option<PayloadId> {
|
||||
self.payload_id_cache
|
||||
.lock()
|
||||
@@ -85,7 +85,7 @@ impl<T> Engine<T> {
|
||||
head_block_hash,
|
||||
timestamp,
|
||||
random,
|
||||
fee_recipient,
|
||||
suggested_fee_recipient,
|
||||
})
|
||||
.cloned()
|
||||
}
|
||||
@@ -392,7 +392,7 @@ impl PayloadIdCacheKey {
|
||||
head_block_hash: state.head_block_hash,
|
||||
timestamp: attributes.timestamp,
|
||||
random: attributes.random,
|
||||
fee_recipient: attributes.fee_recipient,
|
||||
suggested_fee_recipient: attributes.suggested_fee_recipient,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user