Zebra/zebrad/tests/common
Marek dc6aa708d0
Test `z_getsubtreesbyindex` using a lightwalletd gRPC request (#7521)
* Add lightwalletd's protobuf types

* Don't explicitly derive `Eq` for enums

I got bitten by this bug: https://github.com/tokio-rs/prost/issues/332
when I added the enum `ShieldedProtocol` to the file `service.proto`.
The problem is that `prost` implicitly derives `Eq` for enums, so
deriving it explicitly via `type_attribute` causes a conflict. Lukily,
there is another method `message_attribute` that operates only on
messages and not enums.

* Test the `z_getsubtreesbyindex` RPC

* Fix a typo

* Add test vectors
2023-09-12 23:59:56 +00:00
..
configs change(network): Configurable maximum connections per IP (#7013) 2023-06-20 05:11:45 +00:00
get_block_template_rpcs fix(log): Limit verbose RPC responses in logs (#7258) 2023-07-21 20:35:56 +00:00
lightwalletd Test `z_getsubtreesbyindex` using a lightwalletd gRPC request (#7521) 2023-09-12 23:59:56 +00:00
cached_state.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
check.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
checkpoints.rs cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
config.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
failure_messages.rs change(docs): update docs for new lightwalletd version used in Zebra (#7427) 2023-08-30 22:30:20 +00:00
get_block_template_rpcs.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
launch.rs fix(ci): Increase test launch and shutdown times to fix CI failures (#7499) 2023-09-07 00:04:02 +00:00
lightwalletd.rs change(ci): Generate mainnet checkpoints in CI (#6550) 2023-04-27 04:39:43 +00:00
mod.rs change(ci): Generate mainnet checkpoints in CI (#6550) 2023-04-27 04:39:43 +00:00
sync.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
test_type.rs change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00