We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2aa18d commit 6e67363Copy full SHA for 6e67363
aggregation_mode/proof_aggregator/src/backend/fetcher.rs
@@ -33,6 +33,7 @@ pub struct ProofsFetcher {
33
}
34
35
impl ProofsFetcher {
36
+ #[cfg(test)]
37
pub fn new_for_testing(config: &Config) -> Self {
38
let rpc_url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
39
let rpc_provider = ProviderBuilder::new().connect_http(rpc_url);
aggregation_mode/proof_aggregator/src/backend/mod.rs
@@ -52,6 +52,7 @@ pub struct ProofAggregator {
52
53
54
impl ProofAggregator {
55
56
pub fn new_for_testing(config: Config) -> Self {
57
let rpc_url: reqwest::Url = config.eth_rpc_url.parse().expect("RPC URL should be valid");
58
let signer = LocalSigner::random();
0 commit comments