Skip to content

Commit

Permalink
Allow pcli to pretty print blinded blocks (#11067)
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz authored Jul 19, 2022
1 parent 97dc9eb commit 176d763
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/pcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func main() {
Name: "data-type",
Usage: "ssz file data type: " +
"block|" +
"blinded_block|" +
"signed_block|" +
"attestation|" +
"block_header|" +
Expand All @@ -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":
Expand Down

0 comments on commit 176d763

Please sign in to comment.