Skip to content

Commit

Permalink
feat: Provide ProtocolStreamBuilder to simplify decoding (#53)
Browse files Browse the repository at this point in the history
* Simplify instantiating a protocol stream
* Unify stream building into a single builder.
* Adjust the interfaces to accept a reference to a hashmap instead of passing  hashmaps or vectors by value.
* Add client side component filter predicates

---------

Co-authored-by: kayibal <alan@datarevenue.com>
  • Loading branch information
kayibal and kayibal authored Dec 13, 2024
1 parent a50b24d commit bc82193
Show file tree
Hide file tree
Showing 29 changed files with 36,454 additions and 696 deletions.
13 changes: 8 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ alloy = { version = "0.5.4", features = ["providers"] }
revm = { version = "17.1.0", features = ["ethersdb", "serde"], optional = true }
revm-inspectors = { version = "0.10", features = ["serde"], optional = true }
num-bigint = "0.4.6"
tokio-stream = "0.1.16"

[dev-dependencies]
tokio-test = "0.4.4"
approx = "0.5.1"
rstest = "0.18.2"
rstest = "0.23.0"
tracing-subscriber = { version = "0.3.17", default-features = false, features = [
"env-filter",
"fmt",
Expand All @@ -72,6 +73,8 @@ anyhow = "1.0.79"
ratatui = "0.29.0"
crossterm = { version = "0.28.1", features = ["event-stream"] }
unicode-width = "0.1.13"
tracing-appender = "0.2.3"


[features]
default = ["evm"]
Expand Down
2 changes: 0 additions & 2 deletions examples/explorer/data_feed/mod.rs

This file was deleted.

35 changes: 0 additions & 35 deletions examples/explorer/data_feed/state.rs

This file was deleted.

Loading

0 comments on commit bc82193

Please sign in to comment.