Allow pcli to pretty print blinded blocks (#11067)

This commit is contained in:
Potuz
2022-07-18 21:52:58 -03:00
committed by GitHub
parent 97dc9ebbc8
commit 176d763091

View File

@@ -53,6 +53,7 @@ func main() {
Name: "data-type",
Usage: "ssz file data type: " +
"block|" +
"blinded_block|" +
"signed_block|" +
"attestation|" +
"block_header|" +
@@ -73,6 +74,8 @@ func main() {
data = &ethpb.BeaconBlock{}
case "signed_block":
data = &ethpb.SignedBeaconBlock{}
case "blinded_block":
data = &ethpb.BlindedBeaconBlockBellatrix{}
case "attestation":
data = &ethpb.Attestation{}
case "block_header":