Skip to content

Commit e456899

Browse files
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.
2 parents 252b760 + acf7d5a commit e456899

14 files changed

Lines changed: 565 additions & 702 deletions

File tree

‎Cargo.lock‎

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

‎crates/blockchain/Cargo.toml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ethlambda-fork-choice.workspace = true
1818
ethlambda-crypto.workspace = true
1919
ethlambda-metrics.workspace = true
2020
ethlambda-types.workspace = true
21+
ethlambda-test-fixtures.workspace = true
2122

2223
libssz.workspace = true
2324

@@ -27,15 +28,13 @@ tokio.workspace = true
2728
tokio-util = { version = "0.7", default-features = false }
2829

2930
rayon.workspace = true
31+
serde.workspace = true
3032
thiserror.workspace = true
3133
tracing.workspace = true
32-
serde.workspace = true
3334

3435
hex.workspace = true
3536

3637
[dev-dependencies]
37-
ethlambda-test-fixtures.workspace = true
38-
serde_json = { workspace = true }
3938
hex = { workspace = true }
4039
libssz.workspace = true
4140
libssz-types.workspace = true

0 commit comments

Comments
 (0)