qa: Improve framework.generate* enforcement (#31403 follow-up) #31599

pull yuvicc wants to merge 1 commits into bitcoin:master from yuvicc:2025-01-pr-31403 changing 2 files +10 −10
  1. yuvicc commented at 1:41 pm on January 3, 2025: contributor

    #31403 follow-up, see comment

    • Rename invalid_call parameter to called_by_framework in generateblock, generatetoaddress and generatetodescriptor mining methods to better express its intended usage.
    • Add explicit assertion message clarifying that these functions should only be called by TestFramework itself to maintain proper node synchronization.
  2. DrahtBot commented at 1:42 pm on January 3, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31599.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK hodlinator, maflcko, Prabhat1308, achow101

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  3. DrahtBot added the label Tests on Jan 3, 2025
  4. yuvicc renamed this:
    test: improve rogue calls in mining functions
    #31403 follow-up
    on Jan 3, 2025
  5. hodlinator approved
  6. hodlinator commented at 10:14 am on January 6, 2025: contributor

    ACK a3f5573ae3aa5edbe92d0388f36586ad02214de6

    First commit follows recommendations by myself with improvements by maflcko in already merged PR.

    Passed subset of functional tests locally.


    Might squeeze a little bit more information into the title?

    “#31403 follow-up” -> “qa: Improve framework.generate* enforcement (#31403 follow-up)”

    See https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#creating-the-pull-request

  7. maflcko commented at 10:33 am on January 6, 2025: member
    Also, a rebase would be good
  8. yuvicc commented at 3:31 pm on January 6, 2025: contributor

    ACK a3f5573

    First commit follows recommendations by myself with improvements by maflcko in already merged PR.

    Passed subset of functional tests locally.

    Might squeeze a little bit more information into the title?

    “#31403 follow-up” -> “qa: Improve framework.generate* enforcement (#31403 follow-up)”

    See https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#creating-the-pull-request

    Thanks!

  9. yuvicc renamed this:
    #31403 follow-up
    qa: Improve framework.generate* enforcement (#31403 follow-up)
    on Jan 6, 2025
  10. test: improve rogue calls in mining functions 1b51616f2e
  11. yuvicc force-pushed on Jan 6, 2025
  12. yuvicc commented at 5:02 pm on January 6, 2025: contributor

    Also, a rebase would be good

    Done!

  13. hodlinator approved
  14. hodlinator commented at 9:42 am on January 7, 2025: contributor

    re-ACK 1b51616f2e3b58a1c63a19e6dba8e7e9c2aefdeb

    0₿ git range-diff master a3f5573^ 1b51616
    1...
    226:  b3100b02c5 = 40:  1b51616f2e test: improve rogue calls in mining functions
    

    (Second commit dropped due to typo being fixed in master).

    Thanks for adjusting the PR title!

  15. maflcko commented at 1:29 pm on January 9, 2025: member
    lgtm ACK 1b51616f2e3b58a1c63a19e6dba8e7e9c2aefdeb
  16. Prabhat1308 commented at 7:46 pm on January 17, 2025: contributor
    ACK 1b51616
  17. achow101 commented at 11:04 pm on January 24, 2025: member
    ACK 1b51616f2e3b58a1c63a19e6dba8e7e9c2aefdeb
  18. achow101 merged this on Jan 24, 2025
  19. achow101 closed this on Jan 24, 2025

  20. yuvicc deleted the branch on Jan 25, 2025
  21. sedited referenced this in commit e1405325c9 on Feb 3, 2025
  22. stickies-v referenced this in commit d760fd3dda on Mar 17, 2025
  23. stickies-v referenced this in commit cc83553352 on Mar 17, 2025
  24. stickies-v referenced this in commit 2614933f06 on Mar 17, 2025
  25. stickies-v referenced this in commit b70418c5fc on Mar 17, 2025
  26. stickies-v referenced this in commit 69f8a1fe50 on Mar 17, 2025
  27. bug-castercv502 referenced this in commit bf2e6853b0 on Sep 28, 2025
  28. knst referenced this in commit e3038116e9 on Oct 22, 2025
  29. bitcoin locked this on Jan 25, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-03-21 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me