Skip to content

Test Blake2f

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

Generate fixtures for these test cases for Amsterdam with:

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

Benchmark BLAKE2F precompile.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_blake2f benchmark_test 1 Benchmark BLAKE2F precompile.
test_blake2f_benchmark benchmark_test 4 Benchmark BLAKE2F precompile with varying number of rounds.
test_blake2f_uncachable benchmark_test 4 Benchmark BLAKE2F with unique input per call.