Skip to content

Commit

Permalink
ref(fgw): replacing the reqwest feeder client with hyper (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaron authored Oct 25, 2024
1 parent 346700a commit b80fcab
Show file tree
Hide file tree
Showing 22 changed files with 421 additions and 182 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next release

- refactor: use `hyper` & `tower` instead of `reqwest` for feeder client
- fix(namespace): versioning now works for methods without `starknet` namesapce
- fix(compile): wrong struct field being used in state map conversion
- fix: contract 0 state diff fixed
Expand Down
56 changes: 17 additions & 39 deletions Cargo.lock

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

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ jsonrpsee = { version = "0.22", default-features = false, features = [
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.4", features = ["cors"] }
governor = "0.6"
hyper = { version = "0.14", features = ["server"] }
hyper = { version = "1.5.0", features = ["full"] }
hyper-tls = "0.6"
hyper-util = "0.1.9"
http = "1.1.0"
http-body-util = "0.1.2"
ip_network = "0.4"
lazy_static = { version = "1.4", default-features = false }
once_cell = "1.19"
Expand Down
10 changes: 7 additions & 3 deletions crates/client/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,23 @@ mp-utils.workspace = true

# Starknet
starknet-core.workspace = true
starknet-signers.workspace = true
starknet-types-core.workspace = true

# Other
anyhow.workspace = true
bytes.workspace = true
hyper.workspace = true
futures.workspace = true
http-body-util.workspace = true
http.workspace = true
hyper = { workspace = true, features = ["full"] }
hyper-tls.workspace = true
hyper-util.workspace = true
log.workspace = true
reqwest.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
thiserror.workspace = true
tokio.workspace = true
tower = { version = "0.4", features = ["timeout", "retry", "util", "limit"] }
url.workspace = true

[dev-dependencies]
Expand Down
Loading

0 comments on commit b80fcab

Please sign in to comment.