Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(consensus): use iota-http for running the gRPC http server #5916

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ iota-graphql-config = { path = "crates/iota-graphql-config" }
iota-graphql-rpc = { path = "crates/iota-graphql-rpc" }
iota-graphql-rpc-client = { path = "crates/iota-graphql-rpc-client" }
iota-graphql-rpc-headers = { path = "crates/iota-graphql-rpc-headers" }
iota-http = { path = "crates/iota-http" }
iota-indexer = { path = "crates/iota-indexer" }
iota-indexer-builder = { path = "crates/iota-indexer-builder" }
iota-json = { path = "crates/iota-json" }
Expand Down
5 changes: 1 addition & 4 deletions consensus/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ enum_dispatch.workspace = true
fastcrypto.workspace = true
futures.workspace = true
http.workspace = true
hyper.workspace = true
hyper-rustls.workspace = true
hyper-util = "0.1.6"
itertools.workspace = true
nom = "7.1.3"
parking_lot.workspace = true
Expand All @@ -50,7 +47,7 @@ tracing.workspace = true

# internal dependencies
consensus-config.workspace = true
iota-common.workspace = true
iota-http.workspace = true
iota-macros.workspace = true
iota-metrics.workspace = true
iota-network-stack.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions consensus/core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ pub(crate) enum ConsensusError {
#[error("Failed to connect as client: {0:?}")]
NetworkClientConnection(String),

#[error("Failed to connect as server: {0:?}")]
NetworkServerConnection(String),

#[error("Failed to send request: {0:?}")]
NetworkRequest(String),

Expand Down
Loading