test_field_as_list()¶
Documentation for tests/frontier/validation/test_transaction_rlp.py::test_field_as_list@49633827.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/frontier/validation/test_transaction_rlp.py::test_field_as_list --fork Amsterdam
Encode one field as an RLP list instead of a byte string.
The gas price and v fields are equally rejected but have no field-specific decoding exception, so they are not covered.
Source code in tests/frontier/validation/test_transaction_rlp.py
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | |
Parametrized Test Cases¶
This test generates 7 parametrized test cases across 16 forks.