Add z_importkey and z_exportkey test#76
Conversation
Ran #400 (z_importkey/z_exportkey) through the interop CI (ZIT-Revision) against zcash/integration-tests#76's wallet_import_export_key.py — passed (True | 16s). Posted 'merging shortly' comment, stripped ZIT-Revision line. Left un-merged to merge next session if no new comments. Noted zit-hub handoffs: pre-existing IT-main RPC test breakage + landing IT #76. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Handoff from zallet: extend this test for rescan-on-import (zallet #578 / #579)Two zallet fixes need coverage here, both about importing into an already-running wallet (no restart) — which this test doesn't yet exercise:
This PR needs a rebase onto current integration-tests
Determinism note: put birthdays well below the sync tip (>~100 blocks) so the re-queued range is serviced by the finalized-region scan loop — a birthday within ~100 blocks of the tip only re-scans once the chain advances past the steady-state window. Once these land on |
Also confirm: can imported keys be spent? (suspected separate bug)Alongside the rescan tests above, while After importing a funded key: Expected (please confirm): errors with This is not part of #578/#581 (that's rescan-on-import) — it's a separate suspected bug: an imported spending key whose funds can't be spent. We want to confirm it empirically here before filing a |
a981291 to
fa38461
Compare
fa38461 to
e3b69d3
Compare
A new test for zcash/zallet#400