-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add websocket eth subscription to deposit tracker (#4081)
* feat: add websocket eth subscription to deposit tracker * chore: address minor review comments * chore: rename event_sender -> witness_sender * feat: change chainflip-btc-tracker to chainflip-ingress-egress-tracker * refactor: move eth under (new) witnessing module * refactor: move shared logic and initialisation out of eth module * feat: configuration via env variables * chore: clippy fix * chore: rename docker files * fix: ignore send error if no subscribers * chore: rename subscription endpoints
- Loading branch information
Showing
15 changed files
with
396 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[package] | ||
name = "chainflip-ingress-egress-tracker" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
anyhow = "1.0.72" | ||
async-trait = "0.1.73" | ||
futures = "0.3.28" | ||
jsonrpsee = { version = "0.16.2", features = ["server"] } | ||
reqwest = { version = "0.11.18", features = ["json"] } | ||
serde = "1.0.183" | ||
tokio = "1.29.1" | ||
tracing = "0.1.34" | ||
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } | ||
tempfile = "3.8" | ||
|
||
sp-core = { git = "https://github.com/chainflip-io/substrate.git", tag = "chainflip-monthly-2023-08+2" } | ||
codec = { package = "parity-scale-codec", version = "3.6.1", features = [ | ||
"derive", | ||
"full", | ||
] } | ||
|
||
# Local dependencies | ||
chainflip-engine = { path = "../../../engine/"} | ||
utilities = { path = "../../../utilities" } | ||
cf-primitives = { path = "../../../state-chain/primitives" } | ||
pallet-cf-environment = { path = "../../../state-chain/pallets/cf-environment" } | ||
state-chain-runtime = { path = "../../../state-chain/runtime" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.