Test Function: test_set_code_transaction_fee_validations()

Test that a transaction with an insufficient max fee per gas is rejected.

Back to test_set_code_transaction_fee_validations().

Parametrized Test Cases

Test ID (Abbreviated) max_fee_per_gas max_priority_fee_per_gas expected_error
...fork_Prague-state_test-insufficient_max_fee_per_gas 6 0 TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS
...fork_Prague-state_test-priority_greater_than_max_fee_per_gas 7 8 TransactionException.PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS
...fork_Prague-blockchain_test_from_state_test-insufficient_max_fee_per_gas 6 0 TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS
...fork_Prague-blockchain_test_from_state_test-priority_greater_than_max_fee_per_gas 7 8 TransactionException.PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS
...fork_Osaka-state_test-insufficient_max_fee_per_gas 6 0 TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS
...fork_Osaka-state_test-priority_greater_than_max_fee_per_gas 7 8 TransactionException.PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS
...fork_Osaka-blockchain_test_from_state_test-insufficient_max_fee_per_gas 6 0 TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS
...fork_Osaka-blockchain_test_from_state_test-priority_greater_than_max_fee_per_gas 7 8 TransactionException.PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS