Skip to content

Test Ripemd160

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

Generate fixtures for these test cases for Amsterdam with:

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

Benchmark RIPEMD-160 precompile.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_ripemd160 benchmark_test 1 Benchmark RIPEMD-160 precompile.
test_ripemd160_fixed_size benchmark_test 4 Benchmark RIPEMD160 with fixed size input.
test_ripemd160_uncachable benchmark_test 3 Benchmark RIPEMD-160 with unique input per call.