Commit f99d62b
Add contract instance to ledger entry fetch (#2269)
### What
this pr is based off of #2012
closes #2273
Updates the `ledger entry fetch` command to allow for returning the
contract instance ledger entry by adding an `--instance` option which
will include the contract instance ledger entry to the list of keys
being fetched.
`cargo run ledger entry fetch contract-data --contract hello-world
--network local --instance`
### Why
This way we are able to more easily fetch a contract wasm hash based on
it's contract id/alias.
### Known limitations
[TODO or N/A]
---------
Co-authored-by: Gleb <gleb@stellar.org>
Co-authored-by: Jane Wang <jane.wang@stellar.org>
Co-authored-by: Leigh <351529+leighmcculloch@users.noreply.github.com>1 parent 33f652b commit f99d62b
1 file changed
Lines changed: 15 additions & 2 deletions
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
60 | 73 | | |
61 | 74 | | |
62 | 75 | | |
| |||
0 commit comments