Add support for blobs_sidecar ssz parsing

This commit is contained in:
Jimmy Chen 2023-01-04 18:51:28 +11:00
parent 7c2a0aeb58
commit 11e3902dc8

View File

@ -63,6 +63,7 @@ pub fn run_parse_ssz<T: EthSpec>(matches: &ArgMatches) -> Result<(), String> {
"state_merge" => decode_and_print::<BeaconStateMerge<T>>(&bytes, format)?,
"state_capella" => decode_and_print::<BeaconStateCapella<T>>(&bytes, format)?,
"state_eip4844" => decode_and_print::<BeaconStateEip4844<T>>(&bytes, format)?,
"blobs_sidecar" => decode_and_print::<BlobsSidecar<T>>(&bytes, format)?,
other => return Err(format!("Unknown type: {}", other)),
};