-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Placeholder issue for loose ends from #571 - could be split into multiple issues, or discussed here.
I am putting links on dev to point out issues independent of #571 changes.
Changes I am taking on I'll mark as WIP and attach PR #s to them here.
= DONE =
- Building directly on top of Refurbish indexerconfig #571
create_test_manager_and_fetch_services(...)
| async fn create_test_manager_and_fetch_services( |
enable_cookie_auth is ALWAYS false.
= REPORTING =
-
zaino/zaino-testutils/src/lib.rs
Line 579 in 7936029
enable_zaino_jsonrpc_server: bool,
launch_with_default_activation_heights(...)
is eliminated in Refurbish indexerconfig #571 butlaunch(...)still has this same argument from Validator config:
enable_zaino_jsonrpc_server_cookie_auth: bool,
This is false in all but one reference, but I could not eliminate it easily because it is used withinlaunch()to spawn the indexer (Zainod):
zaino/zaino-testutils/src/lib.rs
Line 506 in 7936029
let handle = zainodlib::indexer::spawn_indexer(indexer_config)
zaino/zaino-testutils/src/lib.rs
Line 475 in 7936029
let indexer_config = zainodlib::config::IndexerConfig {
= To Triage or Discuss =
=
=
- ()
zaino/zaino-testutils/src/lib.rs
Line 184 in 7936029
LocalNet::Zcashd(net) => net.validator().get_activation_heights(),
many of these matches could be less verbose, perhaps by defining a into-inner kind of function?
=
- for example here
zaino/zaino-testutils/src/lib.rs
Line 461 in 7936029
zaino_grpc_listen_address,
... there is some mismatch between JsonRpcServerConfig/JsonRpcServer and GrpcConfig/GrpcServer structs.
=
=
- ()
zaino/zaino-state/src/config.rs
Line 117 in 7936029
impl FetchServiceConfig {
should this live in another module?
pub struct FetchServiceConfig { ...
=
- ()
Line 182 in 7936029
jail.create_file(
I'm not sure if they are needed but I don't see any analog to these for gRPC config as well.