test_invalid_envelope()¶
Documentation for tests/frontier/validation/test_transaction_rlp.py::test_invalid_envelope@ffe48572.
Generate fixtures for these test cases for Bogota with:
Send an empty transaction, or one whose first byte is 0xff.
Neither is a valid transaction under any fork. An empty input has no type byte or RLP header to read. Before EIP-2718, 0xff is the header of a list whose 8-byte length runs past the input; afterwards it is the type byte EIP-2718 reserves, so clients may report either an RLP error or an unsupported type.
Source code in tests/frontier/validation/test_transaction_rlp.py
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 17 forks.