• Sasha Gryaznov's avatar
    Add `decode` command for event, message and constructor data decoding (#481) · bce9301c
    Sasha Gryaznov authored
    * 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]>
    bce9301c