Skip to content

Commit 6ce33a1

Browse files
authored
Add self-describing events for stellar events and contract invoke. (#2380)
1 parent 1cb644a commit 6ce33a1

File tree

9 files changed

+1143
-36
lines changed

9 files changed

+1143
-36
lines changed

Cargo.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FULL_HELP_DOCS.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,9 +1094,10 @@ Watch the network for contract events
10941094
Default value: `pretty`
10951095

10961096
Possible values:
1097-
- `pretty`: Colorful, human-oriented console output
1098-
- `plain`: Human-oriented console output without colors
1099-
- `json`: JSON formatted console output
1097+
- `pretty`: Human-readable output with decoded event names and parameters
1098+
- `plain`: Human-readable output without colors
1099+
- `json`: JSON output with decoded event names and parameters
1100+
- `raw`: Raw event output without self-describing decoding
11001101

11011102
- `-c`, `--count <COUNT>` — The maximum number of events to display (defer to the server-defined limit)
11021103

cmd/crates/soroban-spec-tools/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ crate-type = ["rlib"]
2020
soroban-spec = { workspace = true }
2121
stellar-strkey = { workspace = true }
2222
stellar-xdr = { workspace = true, features = ["curr", "std", "serde", "base64"] }
23+
serde = { workspace = true }
2324
serde_json = { workspace = true }
2425
itertools = { workspace = true }
2526
ethnum = { workspace = true }
2627
hex = { workspace = true }
2728
wasmparser = { workspace = true }
2829
base64 = { workspace = true }
2930
thiserror = "1.0.31"
31+
indexmap = { version = "2.7", features = ["serde"] }
3032

3133

3234
[dev-dependencies]

0 commit comments

Comments
 (0)