We are not actually testing some cases accidentally, for block inclusion.
Issue discovered while reviewing https://github.com/bitcoin/bitcoin/pull/32533
We are not actually testing some cases accidentally, for block inclusion.
Issue discovered while reviewing https://github.com/bitcoin/bitcoin/pull/32533
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32591.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | theStack, maflcko, BrandonOdiwuor, TheCharlatan |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
258@@ -260,7 +259,7 @@ def get_tx(self):
259 'reject_reason': "disabled opcode",
260 'expect_disconnect': True,
261 'get_tx': get_tx,
262- 'valid_in_block' : True
263+ 'valid_in_block' : False
False
is the default anyways, but no blocker
ACK 8fcd6845052354fad80ae7e5feda3f6a2e441e12
Diff of feature_block.py
test runs between merge-base and PR (patched out the timestamps from the logging formatter in order to compare):
0> TestFramework (INFO): Reject block with invalid tx: InvalidOPIFConstruction
114a16,30
2> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_CAT
3> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_SUBSTR
4> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_LEFT
5> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_RIGHT
6> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_INVERT
7> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_AND
8> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_OR
9> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_XOR
10> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_2MUL
11> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_2DIV
12> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_MUL
13> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_DIV
14> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_MOD
15> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_LSHIFT
16> TestFramework (INFO): Reject block with invalid tx: DisabledOpcode_OP_RSHIFT
review ACK 8fcd6845052354fad80ae7e5feda3f6a2e441e12 🔶
Signature:
0untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
1RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
2trusted comment: review ACK 8fcd6845052354fad80ae7e5feda3f6a2e441e12 🔶
3e066qpLseQp5Fo5KxGJdcA7vJSlbVMRlI7Q1n8fYQkubEeOeazm3ds2n8dgztwr9hLYBFQQor2zSept36SnWAw==