Skip to content

Commit

Permalink
[REVERT!] some debug data to dig into an error
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Mar 28, 2022
1 parent 31a35a1 commit 1375fee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cmd/extrinsics/transcode/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ impl<'a> Decoder<'a> {
variant_type: &TypeDefVariant<PortableForm>,
input: &mut &[u8],
) -> Result<Value> {
let i2 = input.clone();
let discriminant = input.read_byte()?;
println!("type is {:?}", &variant_type.clone());
println!("input is {:?}", &i2);
println!("discriminant is {:?}", &discriminant);
let variant = variant_type
.variants()
.get(discriminant as usize)
Expand Down

0 comments on commit 1375fee

Please sign in to comment.