Test Transaction¶
Documentation for tests/frontier/validation/test_transaction.py@5f132e7c.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/frontier/validation/test_transaction.py --fork Amsterdam
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_sender_balance |
blockchain_test | 3 | Tests that the sender has sufficient balance. |
test_sender_balance_insufficient_state_test |
state_test | 1 | A legacy transaction from a sender that cannot afford gas * gasPrice |
test_tx_gas_limit |
blockchain_test | 1 | Tests that if a tx gas limit is higher than the block gas limit, |
test_tx_nonce |
blockchain_test | 3 | Tests that the tx nonce matches the account nonce. |