Skip to content

Commit 02153d4

Browse files
docs: add event schema and Dune analytics guide (#80)
* docs: add event schema and Dune analytics guide * fix(dune): use correct Dune Stellar column names topic_1/data do not exist in stellar.history_contract_events. The real columns are: topics_decoded VARCHAR JSON array — index 0 is the event-name symbol data_decoded VARCHAR JSON object — keyed by field name Replace all topic_1 references with: JSON_EXTRACT_SCALAR(topics_decoded, '$[0]') Replace all data references with: JSON_EXTRACT_SCALAR(data_decoded, '$.field') Fix applied to all 10 .sql files and the matching code blocks in docs/dune-analytics.md. Also add correct column table to §1. * ci: run verify-build on docs changes so docs-only PRs satisfy the required check The build job only triggered on contracts/** and toolchain paths, so a docs-only PR never ran it — and since build is a required status check, those PRs were unmergeable (BLOCKED with 'build expected', not even admin-overridable). Add docs/** to the triggers: build recompiles the contract (a no-op pass for docs) and the required check is satisfied. Also brings this branch up to current testnet. --------- Co-authored-by: Collins Ikechukwu <collinschristroa@gmail.com>
1 parent 05e266c commit 02153d4

12 files changed

Lines changed: 873 additions & 0 deletions

.github/workflows/verify-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- testnet
88
paths:
99
- 'contracts/**'
10+
- 'docs/**'
1011
- 'Cargo.toml'
1112
- 'Cargo.lock'
1213
- 'rust-toolchain.toml'
@@ -23,6 +24,7 @@ on:
2324
- testnet
2425
paths:
2526
- 'contracts/**'
27+
- 'docs/**'
2628
- 'Cargo.toml'
2729
- 'Cargo.lock'
2830
- 'rust-toolchain.toml'

0 commit comments

Comments
 (0)