`sszdump` support for `ForkyBlobSidecar`

This commit is contained in:
Etan Kissling 2024-07-25 21:32:34 +02:00
parent 5fe9e93ee7
commit a5d2cfea79
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ proc dump*(dir: string, v: ForkySignedBeaconBlock) =
logErrors: logErrors:
SSZ.saveFile(dir / &"block-{v.message.slot}-{shortLog(v.root)}.ssz", v) SSZ.saveFile(dir / &"block-{v.message.slot}-{shortLog(v.root)}.ssz", v)
proc dump*(dir: string, v: BlobSidecar) = proc dump*(dir: string, v: ForkyBlobSidecar) =
logErrors: logErrors:
let let
slot = v.signed_block_header.message.slot slot = v.signed_block_header.message.slot