From 98bb7a4e62524c92c072255525f3337a07ee913f Mon Sep 17 00:00:00 2001 From: Arya Date: Thu, 28 Nov 2024 21:29:47 -0500 Subject: [PATCH] disables cookie auth in `random_known_rpc_port_config()` --- zebrad/tests/common/config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zebrad/tests/common/config.rs b/zebrad/tests/common/config.rs index 4b3f86201fd..ff2678e86c4 100644 --- a/zebrad/tests/common/config.rs +++ b/zebrad/tests/common/config.rs @@ -64,6 +64,11 @@ pub fn default_test_config(net: &Network) -> Result { let mut state = zebra_state::Config::ephemeral(); state.debug_validity_check_interval = Some(DATABASE_FORMAT_CHECK_INTERVAL); + let rpc = zebra_rpc::config::Config { + enable_cookie_auth: false, + ..Default::default() + }; + // These are the ZF funding stream addresses for mainnet and testnet. #[allow(unused_mut)] let mut mining = zebra_rpc::config::mining::Config::default(); @@ -87,6 +92,7 @@ pub fn default_test_config(net: &Network) -> Result { mempool, consensus, tracing, + rpc, mining, ..ZebradConfig::default() })