-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add info structure * add info import * change function call * wip - fix some issues * fix client error * fix: fix info_contract_call getter * remove from extrenstics condition * Decode bytes into type. * add first accountid handling * refactor contract info getter and decoder by using fetch * first draft for print in a good way contract ways * add integration test for info * remove extrenstics and add url flag for info command * remove the useless check for accountId * add doc * fix fmt * update changelog * refactor: move out extrinstics info command * remove ignore comments for integration tests * change output format for info command * remove tracing debug in integration tests * fix fmt * change trie id format * fix fmt and format in a better way comments and output * remove output_json * fix fmt * fix fmt output for trie_id * change comments, docs and removing debug for inetgration tests * complete doc * docs: change minor term * first draft to add output_json flag * fix serde_json data to print * remove useless comments for tests and doc * Derive `Default` instances, make clippy happy 🦖 * fix output-json result * remove useless return + fmt * update changelog + doc * first draft to print pristine_code * fix fmt and clippy * wip - second draft for binary flag * wip - format ouput depending on the flag * optimize the display * fix fmt * fix master merge and restore changes * add docs + first draft of test * complete tests * fix error merge * fix error merge * change to display only pristine code * fix temporary test * fix fmt * reimport items in binary outpuson * Update crates/cargo-contract/src/cmd/info.rs Co-authored-by: Michael Müller <[email protected]> * Update crates/cargo-contract/src/cmd/info.rs Co-authored-by: Michael Müller <[email protected]> * Implemented combination of --binary and --output-json including code cleanup * Removed BoundedVec from API --------- Co-authored-by: lean-apple <[email protected]> Co-authored-by: Andrew Jones <[email protected]> Co-authored-by: Léa Narzis <[email protected]> Co-authored-by: Michael Müller <[email protected]>
- Loading branch information
1 parent
0627b1e
commit 497cb88
Showing
5 changed files
with
95 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters