Skip to content

Test Gas

Documentation for tests/byzantium/eip196_ec_add_mul/test_gas.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/byzantium/eip196_ec_add_mul/test_gas.py --fork Amsterdam

Tests ecadd/ecmul precompiled contracts gas pricing.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_gas_costs state_test 4 Tests the constant gas behavior of ecadd/ecmul precompiled contracts.
test_invalid_gas_consumption state_test 4 Test that invalid inputs to ecadd/ecmul consume all forwarded gas.