Commit e456899
committed
Merge branch 'feat/events-sse-endpoint' into feat/events-topics-filter
Adopt #517's beacon-aligned ChainEvent ({slot, block, state}, Serialize
derived on the type) while keeping #518's TopicSet/EventSubscription
filtering. The snapshot tests moved from lib.rs into events.rs upstream;
take that version and add TopicSet::ALL to their subscribe calls.
Update the topic-filter tests to the new field names, and switch the
"block filtered out" assertion to check the SSE event: line since every
payload now carries a `block` field.14 files changed
Lines changed: 565 additions & 702 deletions
File tree
- crates
- blockchain
- src
- state_transition/tests
- tests
- common/metrics/src
- net/rpc/src
- docs
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
0 commit comments