Skip to content

Commit 51ae08d

Browse files
chore(fw): raise an exception if an opcode recieves an invalid keyword argument (ethereum#1739)
* chore(fw): raise an exception if an opcode recieves an invalid keyword argument * Add kwargs validation in Opcode.__call__ method in opcode.py * Add test coverage in test_vm.py for validation behavior * fix(tests): Incorrect kwargs usages * fix(vm): tox, mypy * fix(tests): kwargs fix * fix: mypy * fix(tests): Fix coverage * Update docs/CHANGELOG.md --------- Co-authored-by: Mario Vega <[email protected]>
1 parent b04b49d commit 51ae08d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Users can select any of the artifacts depending on their testing needs for their
2828
#### 🔀 Refactoring
2929

3030
- 🔀 Move `TransactionType` enum from test file to proper module location in `ethereum_test_types.transaction_types` for better code organization and reusability.
31+
- ✨ Opcode classes now validate keyword arguments and raise `ValueError` with clear error messages.
3132

3233
#### `fill`
3334

0 commit comments

Comments
 (0)