Test INVALID Tx¶
Documentation for tests/prague/eip7702_set_code_tx/test_invalid_tx.py@49c766fb
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip7702_set_code_tx/test_invalid_tx.py --fork Prague
Tests invalid set-code transactions from EIP-7702: Set EOA account code for one transaction
Tests invalid set-code transactions from EIP-7702: Set EOA account code for one transaction.
Test Functions Overview¶
Name | Type | Cases (Prague) | Description |
---|---|---|---|
test_empty_authorization_list |
transaction_test | 1 | Test sending a transaction with an empty authorization list. |
test_invalid_auth_signature |
transaction_test | 8 | Test sending a transaction where one of the signature elements is out of range. |
test_invalid_tx_invalid_chain_id |
transaction_test | 4 | Test sending a transaction where the chain id field of an authorization overflows the |
test_invalid_tx_invalid_nonce |
transaction_test | 8 | Test sending a transaction where the nonce field of an authorization overflows the maximum |