Commit 497cb88
* 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 <mich@elmueller.net>
* Update crates/cargo-contract/src/cmd/info.rs
Co-authored-by: Michael Müller <mich@elmueller.net>
* Implemented combination of --binary and --output-json including code cleanup
* Removed BoundedVec from API
---------
Co-authored-by: lean-apple <lea@parity.io>
Co-authored-by: Andrew Jones <ascjones@gmail.com>
Co-authored-by: Léa Narzis <78718413+lean-apple@users.noreply.github.com>
Co-authored-by: Michael Müller <mich@elmueller.net>
1 parent 0627b1e commit 497cb88
File tree
5 files changed
+95
-8
lines changed- crates
- cargo-contract/src/cmd
- extrinsics/src
- docs
5 files changed
+95
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| |||
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
74 | 117 | | |
75 | 118 | | |
76 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
361 | | - | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
369 | | - | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| |||
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
381 | 408 | | |
382 | 409 | | |
383 | 410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
366 | 381 | | |
367 | 382 | | |
368 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
0 commit comments