Commit 8a208a3
committed
populate atomicalOps + counterpartyMessages satellite arrays
Per-block satellite rows for the two protocols whose downstream
charts want per-op / per-message-type breakdowns:
atomicals.atomicalOps[] — one entry per atomical artifact, with
(txId, operation, ticker). Ticker is
args.request_ticker for FT-family ops,
null otherwise. CBOR decode failure on
getArgs() is swallowed; the op record
still gets pushed.
counterparty.counterpartyMessages[] — one entry per counterparty
message, with (txId,
messageType, messageTypeId,
encoding). Mirrors what the
backend's counterparty
satellite table will store.
Tests use real fixture txns:
- Atomicals DFT mint of "atom" → ['dft', 'atom']
- Counterparty enhanced_send (messageTypeId 2, opreturn encoding)
- CAT-21 genesis tx → both arrays empty1 parent df53c9d commit 8a208a3
2 files changed
Lines changed: 87 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
234 | 244 | | |
235 | 245 | | |
236 | 246 | | |
| |||
377 | 387 | | |
378 | 388 | | |
379 | 389 | | |
380 | | - | |
| 390 | + | |
381 | 391 | | |
382 | 392 | | |
383 | 393 | | |
384 | 394 | | |
385 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
386 | 428 | | |
387 | 429 | | |
388 | 430 | | |
| |||
532 | 574 | | |
533 | 575 | | |
534 | 576 | | |
| 577 | + | |
| 578 | + | |
535 | 579 | | |
536 | 580 | | |
537 | 581 | | |
| |||
0 commit comments