Skip to content

Test Identity

Documentation for tests/benchmark/compute/precompile/test_identity.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/compute/precompile/test_identity.py --gas-benchmark-values 1

Benchmark IDENTITY precompile.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_identity benchmark_test 1 Benchmark IDENTITY precompile.
test_identity_fixed_size benchmark_test 4 Benchmark IDENTITY with fixed size input.
test_identity_uncachable benchmark_test 3 Benchmark IDENTITY with unique input per call.