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