Skip to content

Test Gas

Documentation for tests/byzantium/eip197_ec_pairing/test_gas.py@02aafd78.

Generate fixtures for these test cases for Bogota with:

fill -v tests/byzantium/eip197_ec_pairing/test_gas.py --fork Bogota

Tests ecpairing precompiled contract gas pricing.

Test Functions Overview

Name Type Cases (Bogota) Description
test_gas_costs state_test 2 Test the base gas cost of the ecpairing precompile with zero pairs.
test_invalid_gas_consumption state_test 2 Test that invalid input to ecpairing consumes all forwarded gas.