mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 21:17:17 +00:00
4cc613d644
## Issue Addressed #2276 ## Proposed Changes Add the `SensitiveUrl` struct which wraps `Url` and implements custom `Display` and `Debug` traits to redact user secrets from being logged in eth1 endpoints, beacon node endpoints and metrics. ## Additional Info This also includes a small rewrite of the eth1 crate to make requests using `Url` instead of `&str`. Some error messages have also been changed to remove `Url` data.
22 lines
750 B
TOML
22 lines
750 B
TOML
[package]
|
|
name = "node_test_rig"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
environment = { path = "../../lighthouse/environment" }
|
|
beacon_node = { path = "../../beacon_node" }
|
|
types = { path = "../../consensus/types" }
|
|
eth2_config = { path = "../../common/eth2_config" }
|
|
tempfile = "3.1.0"
|
|
reqwest = { version = "0.11.0", features = ["native-tls-vendored"] }
|
|
url = "2.1.1"
|
|
serde = "1.0.116"
|
|
futures = "0.3.7"
|
|
genesis = { path = "../../beacon_node/genesis" }
|
|
eth2 = { path = "../../common/eth2" }
|
|
validator_client = { path = "../../validator_client" }
|
|
validator_dir = { path = "../../common/validator_dir", features = ["insecure_keys"] }
|
|
sensitive_url = { path = "../../common/sensitive_url" }
|