pre-Deneb case for VC block publishing (ff)

This commit is contained in:
Etan Kissling 2024-07-25 22:53:07 +02:00
parent 365b567350
commit eff1acd1dc
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 3 additions and 3 deletions

View File

@ -976,7 +976,7 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) =
checkValidator = true)
else:
await node.router.routeSignedBeaconBlock(
forkyBlck, Opt.none(seq[BlobSidecar]),
forkyBlck, Opt.none(seq[deneb.BlobSidecar]),
checkValidator = true)
if res.isErr():
@ -1095,7 +1095,7 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) =
let res = withBlck(forked):
forkyBlck.root = hash_tree_root(forkyBlck.message)
await node.router.routeSignedBeaconBlock(
forkyBlck, Opt.none(seq[BlobSidecar]),
forkyBlck, Opt.none(seq[deneb.BlobSidecar]),
checkValidator = true)
if res.isErr():
@ -1178,7 +1178,7 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) =
let res = withBlck(forked):
forkyBlck.root = hash_tree_root(forkyBlck.message)
await node.router.routeSignedBeaconBlock(
forkyBlck, Opt.none(seq[BlobSidecar]),
forkyBlck, Opt.none(seq[deneb.BlobSidecar]),
checkValidator = true)
if res.isErr():