Skip to content

test: add bitcoin#34156's pruned-node restore failure case to wallet_backup.py #8038

Open

Description

@PastaPastaPasta

#8014 backported partial bitcoin#34156. It skipped test_pruned_wallet_backup in test/functional/wallet_backup.py, because that test's successful near-prune-boundary restore needs bitcoin#30678 (write the current locator before backup), which Dash doesn't have yet.

That skip also dropped an independent negative case from bitcoin#34156 (upstream f011e0f; the 28.x adaptation 75b59e5 keeps it for both wallet variants): restoring an old backup into the unnamed wallet on a pruned node must fail without deleting the top-level wallets directory. That case doesn't depend on bitcoin#30678.

To do:

Raised in review of the v24.0.0-rc.7 backports PR #8023 (r4458408941).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions