Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
cargo-contract
Commits
1375fee8
Commit
1375fee8
authored
Mar 28, 2022
by
Sasha Gryaznov
Browse files
[REVERT!] some debug data to dig into an error
parent
31a35a19
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cmd/extrinsics/transcode/decode.rs
View file @
1375fee8
...
@@ -151,7 +151,11 @@ impl<'a> Decoder<'a> {
...
@@ -151,7 +151,11 @@ impl<'a> Decoder<'a> {
variant_type
:
&
TypeDefVariant
<
PortableForm
>
,
variant_type
:
&
TypeDefVariant
<
PortableForm
>
,
input
:
&
mut
&
[
u8
],
input
:
&
mut
&
[
u8
],
)
->
Result
<
Value
>
{
)
->
Result
<
Value
>
{
let
i2
=
input
.clone
();
let
discriminant
=
input
.read_byte
()
?
;
let
discriminant
=
input
.read_byte
()
?
;
println!
(
"type is {:?}"
,
&
variant_type
.clone
());
println!
(
"input is {:?}"
,
&
i2
);
println!
(
"discriminant is {:?}"
,
&
discriminant
);
let
variant
=
variant_type
let
variant
=
variant_type
.variants
()
.variants
()
.get
(
discriminant
as
usize
)
.get
(
discriminant
as
usize
)
...
...
Paritytech CI
@paritytech-ci
mentioned in commit
bbafb3bf
·
Mar 31, 2022
mentioned in commit
bbafb3bf
mentioned in commit bbafb3bf0dc9d910c82ebf3df6df1541218ce985
Toggle commit list
Paritytech CI
@paritytech-ci
mentioned in commit
bce9301c
·
Apr 12, 2022
mentioned in commit
bce9301c
mentioned in commit bce9301c987b83ea018a4ee426812065ebae4036
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment