Skip to content

integration-tests: cover importing an pre-sapling zcashd wallet with no HD seed #135

Description

@nullcopy

Add zcashd_key_import_ancient.py modeled on zcashd_key_import.py. This will require an "ancient" regtest wallet.dat, to be built by the wallet-builder once zcash/zcash#7196 is completed.

Add an ancient_test_wallet_path() helper in
test_framework/zcashd_migration.py; reuse run_migration, load_manifest, CheckReporter,
extract_listed_addresses.

Assert: migration succeeds; a legacy account/seed now exists (seed fp is non-deterministic
assert existence, not a value); listaddresses contains the imported transparent, watch-only
pubkey, and P2SH addresses; watch-only-by-hash (if present) is SKIPPED.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions