Skip to content

Commit

Permalink
Switch to litep2p fork that doesn't pull OpenSSL via dependencies due…
Browse files Browse the repository at this point in the history
… to removed WebRTC support
  • Loading branch information
nazar-pc committed Jun 21, 2024
1 parent 1dca8e0 commit c33d532
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 138 deletions.
140 changes: 2 additions & 138 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ panic = "unwind"
inherits = "release"
lto = "fat"

# TODO: Remove fork when https://github.com/paritytech/polkadot-sdk/issues/4856 and/or https://github.com/paritytech/litep2p/issues/161
# are resolved (our fork removes WebRTC support by default in order to avoid OpenSSL dependency)
[patch.crates-io]
litep2p = { git = "https://github.com/subspace/litep2p", rev = "331240c0184e9e8939ef9b113963dc58b43e2f92" }

# Reason: We need to patch substrate dependency of frontier to our fork
# TODO: Remove if/when we are using upstream substrate instead of fork
[patch."https://github.com/paritytech/polkadot-sdk.git"]
Expand Down

0 comments on commit c33d532

Please sign in to comment.