mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-15 00:54:49 +00:00
rename OnEIP4844BlockAdded
> OnDenebBlockAdded
(#4714)
This commit is contained in:
parent
e4b5478fff
commit
b0577bdc6c
@ -308,7 +308,7 @@ type
|
|||||||
epochRef: EpochRef,
|
epochRef: EpochRef,
|
||||||
unrealized: FinalityCheckpoints) {.gcsafe, raises: [Defect].}
|
unrealized: FinalityCheckpoints) {.gcsafe, raises: [Defect].}
|
||||||
|
|
||||||
OnEIP4844BlockAdded* = proc(
|
OnDenebBlockAdded* = proc(
|
||||||
blckRef: BlockRef,
|
blckRef: BlockRef,
|
||||||
blck: deneb.TrustedSignedBeaconBlock,
|
blck: deneb.TrustedSignedBeaconBlock,
|
||||||
epochRef: EpochRef,
|
epochRef: EpochRef,
|
||||||
@ -316,7 +316,7 @@ type
|
|||||||
|
|
||||||
OnForkyBlockAdded* =
|
OnForkyBlockAdded* =
|
||||||
OnPhase0BlockAdded | OnAltairBlockAdded | OnBellatrixBlockAdded |
|
OnPhase0BlockAdded | OnAltairBlockAdded | OnBellatrixBlockAdded |
|
||||||
OnCapellaBlockAdded | OnEIP4844BlockAdded
|
OnCapellaBlockAdded | OnDenebBlockAdded
|
||||||
|
|
||||||
HeadChangeInfoObject* = object
|
HeadChangeInfoObject* = object
|
||||||
slot*: Slot
|
slot*: Slot
|
||||||
|
@ -212,7 +212,7 @@ suite "Gossip validation - Extra": # Not based on preset config
|
|||||||
const nilCallback = OnCapellaBlockAdded(nil)
|
const nilCallback = OnCapellaBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
||||||
of ConsensusFork.Deneb:
|
of ConsensusFork.Deneb:
|
||||||
const nilCallback = OnEIP4844BlockAdded(nil)
|
const nilCallback = OnDenebBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
||||||
check: added.isOk()
|
check: added.isOk()
|
||||||
dag.updateHead(added[], quarantine[], [])
|
dag.updateHead(added[], quarantine[], [])
|
||||||
|
@ -77,7 +77,7 @@ suite "Light client" & preset():
|
|||||||
const nilCallback = OnCapellaBlockAdded(nil)
|
const nilCallback = OnCapellaBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
||||||
of ConsensusFork.Deneb:
|
of ConsensusFork.Deneb:
|
||||||
const nilCallback = OnEIP4844BlockAdded(nil)
|
const nilCallback = OnDenebBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
||||||
|
|
||||||
check: added.isOk()
|
check: added.isOk()
|
||||||
|
@ -64,7 +64,7 @@ suite "Light client processor" & preset():
|
|||||||
const nilCallback = OnCapellaBlockAdded(nil)
|
const nilCallback = OnCapellaBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
dag.addHeadBlock(verifier, blck.capellaData, nilCallback)
|
||||||
of ConsensusFork.Deneb:
|
of ConsensusFork.Deneb:
|
||||||
const nilCallback = OnEIP4844BlockAdded(nil)
|
const nilCallback = OnDenebBlockAdded(nil)
|
||||||
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
dag.addHeadBlock(verifier, blck.denebData, nilCallback)
|
||||||
doAssert added.isOk()
|
doAssert added.isOk()
|
||||||
dag.updateHead(added[], quarantine[], [])
|
dag.updateHead(added[], quarantine[], [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user