rename `OnEIP4844BlockAdded` > `OnDenebBlockAdded` (#4714)

This commit is contained in:
Etan Kissling 2023-03-10 18:14:27 +01:00 committed by GitHub
parent e4b5478fff
commit b0577bdc6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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[], [])

View File

@ -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()

View File

@ -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[], [])