From 986044370ed57f158c1375923d80c6d4d5407f6e Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Fri, 25 Mar 2022 14:32:33 +0000 Subject: [PATCH] Add merge objects to lcli parse-ssz subcommand (#3119) ## Issue Addressed N/A ## Proposed Changes Parse merge state and blocks in parse-ssz subcommand. --- lcli/src/parse_ssz.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lcli/src/parse_ssz.rs b/lcli/src/parse_ssz.rs index 5b3c57516..3f272780d 100644 --- a/lcli/src/parse_ssz.rs +++ b/lcli/src/parse_ssz.rs @@ -41,10 +41,13 @@ pub fn run_parse_ssz(matches: &ArgMatches) -> Result<(), String> { match type_str { "signed_block_base" => decode_and_print::>(&bytes, format)?, "signed_block_altair" => decode_and_print::>(&bytes, format)?, + "signed_block_merge" => decode_and_print::>(&bytes, format)?, "block_base" => decode_and_print::>(&bytes, format)?, "block_altair" => decode_and_print::>(&bytes, format)?, + "block_merge" => decode_and_print::>(&bytes, format)?, "state_base" => decode_and_print::>(&bytes, format)?, "state_altair" => decode_and_print::>(&bytes, format)?, + "state_merge" => decode_and_print::>(&bytes, format)?, other => return Err(format!("Unknown type: {}", other)), };