Skip to content

build: point infrastructure deps at remove_unnecessary_deps branch#2431

Open
zancas wants to merge 2 commits into
devfrom
update_infrastructure_to_cut_deps
Open

build: point infrastructure deps at remove_unnecessary_deps branch#2431
zancas wants to merge 2 commits into
devfrom
update_infrastructure_to_cut_deps

Conversation

@zancas

@zancas zancas commented Jul 3, 2026

Copy link
Copy Markdown
Member

Pin zcash_local_net and zingo_test_vectors to the head of zingolabs/infrastructure#276, which prunes ~130 transitive dependencies (zebra-*, rocksdb, jsonrpsee, bindgen chains) and introduces the zingo-consensus crate.

That branch drops the zcash_protocol::PoolType re-export and speaks its own zingo_consensus::{MinerPool, ActivationHeights} types, which are distinct from the zingo_common_components types zingolib uses. Keep the scenario API on the wallet-side vocabulary and convert only at the zcash_local_net boundary: zingolib_testutils::scenarios gains private converters plus a public validator_activation_heights() helper, now used at every call site in zingolib_testutils and libtonode-tests. The reverse heights conversion asserts nu6_3 is unset, since the wallet-side type cannot represent it.

Add CONTEXT.md capturing the MinerPool/PoolType and dual ActivationHeights terminology boundary.

Re-pin to a release tag once infrastructure#276 merges.

Pin zcash_local_net and zingo_test_vectors to the head of
zingolabs/infrastructure#276, which prunes ~130 transitive
dependencies (zebra-*, rocksdb, jsonrpsee, bindgen chains) and
introduces the zingo-consensus crate.

That branch drops the zcash_protocol::PoolType re-export and speaks
its own zingo_consensus::{MinerPool, ActivationHeights} types, which
are distinct from the zingo_common_components types zingolib uses.
Keep the scenario API on the wallet-side vocabulary and convert only
at the zcash_local_net boundary: zingolib_testutils::scenarios gains
private converters plus a public validator_activation_heights()
helper, now used at every call site in zingolib_testutils and
libtonode-tests. The reverse heights conversion asserts nu6_3 is
unset, since the wallet-side type cannot represent it.

Add CONTEXT.md capturing the MinerPool/PoolType and dual
ActivationHeights terminology boundary.

Re-pin to a release tag once infrastructure#276 merges.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zancas zancas requested a review from Oscar-Pepper July 3, 2026 06:03
@zancas zancas force-pushed the update_infrastructure_to_cut_deps branch from 5708011 to cf97724 Compare July 3, 2026 06:35
cargo-make [env] entries unconditionally clobber shell-exported
variables, so the help text's documented override
(ZINGOLIB_NEXTEST_FILTER='...' makers container-test) never worked.
Wrap the ZINGOLIB_NEXTEST_* knobs in env_not_set conditions so a
caller-exported value wins and the Makefile default applies otherwise.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zancas zancas marked this pull request as ready for review July 3, 2026 06:49
@zancas

zancas commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

The good news is that all the tests pass! The bad news is that none of them tests against zebrad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant