parent
3c3a4ff3f3
commit
7b0e3b1c04
|
@ -63,5 +63,5 @@ const
|
|||
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.0/specs/phase0/fork-choice.md#configuration
|
||||
PROPOSER_SCORE_BOOST*: uint64 = 40
|
||||
|
||||
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-alpha.3/specs/deneb/p2p-interface.md#configuration
|
||||
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.0/specs/deneb/p2p-interface.md#configuration
|
||||
BLOB_SIDECAR_SUBNET_COUNT*: uint64 = 6
|
||||
|
|
|
@ -161,7 +161,6 @@ proc routeSignedBeaconBlock*(
|
|||
notice "Blob sent", blob = shortLog(signedBlobs[i]), error = res.error[]
|
||||
blobs = Opt.some(blobsOpt.get().mapIt(newClone(it.message)))
|
||||
|
||||
|
||||
let newBlockRef = await router[].blockProcessor.storeBlock(
|
||||
MsgSource.api, sendTime, blck, blobs)
|
||||
|
||||
|
|
|
@ -978,8 +978,8 @@ proc proposeBlockAux(
|
|||
deneb.SignedBeaconBlock(message: blck, signature: signature, root: blockRoot)
|
||||
else:
|
||||
static: doAssert "Unknown SignedBeaconBlock type"
|
||||
newBlockRef =
|
||||
(await node.router.routeSignedBeaconBlock(signedBlock, Opt.none(SignedBlobSidecars))).valueOr:
|
||||
newBlockRef = (await node.router.routeSignedBeaconBlock(
|
||||
signedBlock, Opt.none(SignedBlobSidecars))).valueOr:
|
||||
return head # Errors logged in router
|
||||
|
||||
if newBlockRef.isNone():
|
||||
|
|
Loading…
Reference in New Issue