- Rename
invalid_call
parameter tocalled_by_framework
ingenerateblock
,generatetoaddress
andgeneratetodescriptor
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.
qa: Improve framework.generate* enforcement (#31403 follow-up) #31599
pull i-am-yuvi wants to merge 1 commits into bitcoin:master from i-am-yuvi:2025-01-pr-31403 changing 2 files +10 −10-
i-am-yuvi commented at 1:41 pm on January 3, 2025: none
-
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 If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
-
DrahtBot added the label Tests on Jan 3, 2025
-
i-am-yuvi renamed this:
test: improve rogue calls in mining functions
#31403 follow-up
on Jan 3, 2025 -
hodlinator approved
-
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
-
maflcko commented at 10:33 am on January 6, 2025: memberAlso, a rebase would be good
-
i-am-yuvi commented at 3:31 pm on January 6, 2025: none
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!
-
i-am-yuvi renamed this:
#31403 follow-up
qa: Improve framework.generate* enforcement (#31403 follow-up)
on Jan 6, 2025 -
test: improve rogue calls in mining functions 1b51616f2e
-
i-am-yuvi force-pushed on Jan 6, 2025
-
i-am-yuvi commented at 5:02 pm on January 6, 2025: none
Also, a rebase would be good
Done!
-
hodlinator approved
-
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!
-
maflcko commented at 1:29 pm on January 9, 2025: memberlgtm ACK 1b51616f2e3b58a1c63a19e6dba8e7e9c2aefdeb
-
Prabhat1308 commented at 7:46 pm on January 17, 2025: noneACK 1b51616
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: 2025-01-21 03:12 UTC
More mirrored repositories can be found on mirror.b10c.me