Skip to content
Unverified Commit bce9301c authored by Sasha Gryaznov's avatar Sasha Gryaznov Committed by GitHub
Browse files

Add `decode` command for event, message and constructor data decoding (#481)

* add contract call data to debug log

* [REVERT!] some debug data to dig into an error

* save

* decode cmd works for both event and message

save: +output tuned

+decoder for message data and specifier of type to DecodeCommand

removed redundant args to decode cmd

* remove some debugging prints

This reverts commit 1375fee8

.

* test fixed

* use util decode_hex()

* moved decode cmd to root (it's not an extrinsic)

* e2e test for decoding message data

* add decoding event to the same e2e test

* Update src/cmd/decode.rs

Co-authored-by: default avatarAndrew Jones <[email protected]>

* added constructor data decoder

* ci fixes

* lil test update

* Partially revert "lil test update" (mainfest fixes)

This reverts commit 1f24d5be.

* Build before test, and test --release

* Revert "Build before test, and test --release"

This reverts commit 7f6ef5ee

.

* Move decode test to an integration test

Co-authored-by: default avatarAndrew Jones <[email protected]>
parent ceebfcff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment