Depends on D17558
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC3e0722f77bc2: [electrum] implement eMPP parsing
python test_runner.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- alp
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 32609 Build 64706: Build Diff electrum-tests Build 64705: arc lint + arc unit
Event Timeline
electrum/electrumabc/transaction.py | ||
---|---|---|
788 | OpCodes is an IntEnum, so in theory it is already an alias for int. But various code quality tools will not be happy if we pass an int instead of one of the enum values without this change, and some push opcodes (17 to 0x4e) are not explicitly listed. |
electrum/electrumabc/transaction.py | ||
---|---|---|
788 | correction: 0x01 to 0x4B (push n bytes, with 1 <= n <= 0x4B) |
electrum/electrumabc/tokens/empp.py | ||
---|---|---|
52 | min_data_size of 2 is excluding 0x01 which is fine (single byte push) |
Comment Actions
support opcode 0x01, write more tests, find out that the op == OpCodes.OP_PUSHDATA4 branch is wrong, fix it
electrum/electrumabc/tests/test_empp.py | ||
---|---|---|
19 ↗ | (On Diff #52963) | this is minimally encoded as OP_2 |