Skip to content

Review finding: no automated test covers the compiled-in fallback fee default #324

Closed

Description

@kiwidream

Summary

No automated test exercises the compiled default.

Severity: low. Found in the 2026-11-04 review of the v1.0.1 change set (all 1.x.x merges since v1.0.0 plus the open PRs that target it), against 1.x.x 21fee6ee8e; area: #151.

Observed

Confidence: confirmed.

  • Location: test/functional/test_framework/util.py:488 writes fallbackfee=0.0002 into every regtest config; test/functional/wallet_fallbackfee.py only checks that sending works with that value and fails with -fallbackfee=0.
  • Scenario: a change that reverts DEFAULT_FALLBACK_FEE to 0, or breaks the m_allow_fallback_fee derivation for the default, passes CI. The only evidence for the default is the manual disposable-node check recorded in Release v1.0.1: test results, remaining fixes, and release gates #174.
  • Evidence: test inventory; PR body confirms "no test behavior changes".

Impact

The default is a mainnet behaviour change that integrators depend on in both directions.

Suggested fix

In wallet_fallbackfee.py, remove the framework line (replace_in_config([("fallbackfee=0.0002", "")])), restart, and assert sendtoaddress(..., verbose=True)["fee_reason"] == "Fallback fee" with a feerate of 250 sat/kvB; keep the -fallbackfee=0 failure checks.

Activity

  1. added
    enhancement
    on Nov 4, 2026
  2. kiwidream commented on Nov 6, 2026

    @kiwidream
    MemberAuthor

    Fixed on 1.x.x by #346 (merged as 863e6b1). wallet_fallbackfee.py now removes the framework's fallbackfee=0.0002 line, restarts, and asserts fee_reason "Fallback fee" at 250 sat/kvB. The -fallbackfee=0 failure checks remain. main gets the fix when 1.x.x is integrated.

  3. added a commit that references this issue on Nov 12, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions