Skip to content

Commit

Permalink
disables cookie auth in random_known_rpc_port_config()
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Nov 29, 2024
1 parent 65982f7 commit 98bb7a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zebrad/tests/common/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ pub fn default_test_config(net: &Network) -> Result<ZebradConfig> {
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();
Expand All @@ -87,6 +92,7 @@ pub fn default_test_config(net: &Network) -> Result<ZebradConfig> {
mempool,
consensus,
tracing,
rpc,
mining,
..ZebradConfig::default()
})
Expand Down

0 comments on commit 98bb7a4

Please sign in to comment.