In D1606#34272, @schancel wrote:There should be some additional testing in the magnetic anomaly activation test.
See here that there's already a test landed: https://reviews.bitcoinabc.org/rABC4714cd3622565b35d08fa71d932482ad760cc0ba
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Sep 4 2018
Sep 4 2018
Aug 9 2018
Aug 9 2018
Aug 8 2018
Aug 8 2018
refactor based on re-organizing prior diffs
refactor the diffs to be more coherent and scope refined
danconnolly added a reviewer for D1631: Enable the magnetic opcode changes in the opcode tests: Restricted Project.
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
another rebase
danconnolly updated the diff for D1593: Expand IsOpcodeDisabled() function to prepare for implementation of re-enabled opcodes in Magnetic update..
- specification has been updated to remove OP_2MUL & OP_2DIV
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
- remove OP_2MUL & OP_2DIV tests that were added for magnetic, they are no longer being re-enabled
danconnolly planned changes to D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
need to remove the extra tests added for OP_2MUL & OP_2DIV
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
- split up tests into their own sections, they will be expanded later
- merge CHECKDATASIG and MAGNETIC_OPCODES flags
- update comment to reflect change in flag
OP_2MUL & OP_2DIV removed from planned change.
Aug 3 2018
Aug 3 2018
danconnolly requested review of D1593: Expand IsOpcodeDisabled() function to prepare for implementation of re-enabled opcodes in Magnetic update..
The opcodes were disabled, not invalid. See lines 85-93 in interpreter.cpp
Aug 2 2018
Aug 2 2018
Jul 28 2018
Jul 28 2018
danconnolly added a reviewer for D1594: Rename monolith_opcodes.cpp to opcode_tests.cpp: Restricted Project.
danconnolly added a reviewer for D1593: Expand IsOpcodeDisabled() function to prepare for implementation of re-enabled opcodes in Magnetic update.: Restricted Project.
need to re-organize this, it has conflicting changes with some other of the diffs
the reorganiztion of script_tests.json shouldnt be in this diff
Jul 27 2018
Jul 27 2018
Jul 26 2018
Jul 26 2018
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
- split up tests into their own sections, they will be expanded later
- merge CHECKDATASIG and MAGNETIC_OPCODES flags
- rebase & correct extra CHECKDATASIG flag
- update comment to reflect change in flag
danconnolly added a comment to D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
Yes, that was careless of me, sorry.
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
rebased and updated
Jul 25 2018
Jul 25 2018
- add negative zero test
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
- merge CHECKDATASIG and MAGNETIC_OPCODES flags
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
- merge CHECKDATASIG and MAGNETIC_OPCODES flags
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
Add a flag to gate opcodes activation for the magnetic upgrade & re-organize json tests
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
Add a flag to gate opcodes activation for the magnetic upgrade & organize json tests
danconnolly updated the diff for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade..
re-organize the json tests into their own groups
Herald added a reviewer for D1592: Add SCRIPT_ENABLE_MAGNETIC_OPCODES flag to gate opcodes activation for the Magnetic upgrade.: Restricted Project.
May 30 2018
May 30 2018
add test for other side of IMPOSSIBLE_ENCODING edge case & move expected result to output script
May 22 2018
May 22 2018
shrink a number that is not minimally encoded - should pass
add several tests for NUM2BIN:
- try to squeeze a 3 byte number into a 2 byte binary vector - IMPOSSIBLE_ENCODING error
- convert a 520 byte number into a binary - should pass
- convert a number that is not minimally encoded - should pass, minimal encoding does not apply to the first operand
- use non-minimally encoded number for second operand - should fail, must be minimally encoded
- use 5 byte second operand - should fail, second operand must be <= 4 bytes long
@jasonbcox good plan. added new tests.
Mar 25 2018
Mar 25 2018
danconnolly added inline comments to D1194: Set Monolith opcode enable script flag if monolith enabled.
Mar 18 2018
Mar 18 2018
fix T288 and misc small issues
danconnolly added inline comments to D1194: Set Monolith opcode enable script flag if monolith enabled.
Mar 17 2018
Mar 17 2018
Just a quick note: I'm not sure that the banscore test is valid. I want to split this diff in two, with the tests defined first to confirm behaviour before the changes.
Mar 16 2018
Mar 16 2018
This diff does not fix T288, the tests work around it.
danconnolly updated the test plan for D1194: Set Monolith opcode enable script flag if monolith enabled.
- fix non-activation of monolith script flag in AcceptToMemoryPoolWorker()
- chain reorganization fixes
- banscore test
Mar 15 2018
Mar 15 2018
add functional tests, which are failing - flags not set properly when CScriptCheck:operator() in validation.cpp calls VerifyScript()
Mar 13 2018
Mar 13 2018
minor update
Herald added a reviewer for D1194: Set Monolith opcode enable script flag if monolith enabled: Restricted Project.
resubmit D1103 - OP_NUM2BIN
Mar 12 2018
Mar 12 2018
resubmit D1101, updated for underlying changes
resubmit D1099 - OP_SPLIT
resubmit D1097, corrected for changes in other diffs further down the stack
resubmit D1095 - op_mod
resubmit OP_DIV opcode
remove erroneously included changes to script.py
danconnolly updated the summary of D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
moved flag from parent diff into this one
Mar 11 2018
Mar 11 2018
danconnolly added a comment to D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
In diff https://reviews.bitcoinabc.org/D1141?id=3141#inline-4397 @deadalnix commented on the definition of OP_SPLIT that "You can have two enum entries with the same value.". The definition of OP_SPLIT in that diff replaced the definition of OP_SUBSTR, removing OP_SUBSTR in the process.
danconnolly updated the summary of D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
danconnolly updated the diff for D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
updates based on comments
remove SCRIPT_ENABLE_OPCODES_MONOLITH flag, move to separate diff
correct value of opcodes NUM2BIN and BIN2NUM, replacing LEFT & RIGHT
change MAX_DEFINED_OP_VALUE into FIRST_UNDEFINED_OP_VALUE
danconnolly updated the diff for D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
danconnolly added a comment to D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
Will move the flag up in the stack.
Mar 10 2018
Mar 10 2018
danconnolly added inline comments to D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
reorganize D1095
reorganize
reorganize D1090
danconnolly added inline comments to D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
danconnolly updated the diff for D1141: Prepare for re-enabled opcodes for the May 2018 protocol upgrade.
reorganize the stack of changes to support re-enabled opcodes