Skip to content

test_miniscript fails with BDB wallet deprecation on Bitcoin Core v28+ #17

@Amperstrand

Description

@Amperstrand

Summary

test/integration/tests/test_with_rpc.py:test_miniscript fails on Bitcoin Core v28+ with:

RpcError: Request error: BDB wallet creation is deprecated and will be removed in a future release.
In this release it can be re-enabled temporarily with the -deprecatedrpc=create_bdb setting.

The test calls rpc.createwallet(wname, True, True, "", False, False) which creates a BDB wallet. Bitcoin Core v28 deprecated BDB wallet creation.

Reproduction

# Works on Bitcoin Core v27 and earlier
# Fails on Bitcoin Core v28, v29, v30
BTC_RPC_USER=specter BTC_RPC_PASSWORD=specter BTC_RPC_PORT=18443 \
  python3 test/integration/hardwareintheloop.py

Impact

  • Only test_miniscript is affected
  • All other 15 integration tests pass on v28 and v29
  • This is NOT caused by HIL changes — same failure occurs on the simulator

Proposed fix

The test should pass descriptors=True to createwallet to use descriptor wallets instead of BDB:

rpc.createwallet(wname, True, True, "", True, False)

Or add deprecatedrpc=create_bdb to the Bitcoin Core config as a temporary workaround.

Environment

  • Bitcoin Core v28.1, v29.3 (regtest)
  • Confirmed same failure on simulator and HIL hardware

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowNice to have, not blockingupstreamIssues that should be submitted upstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions