Skip to content

Test Sha256

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

Generate fixtures for these test cases for Amsterdam with:

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

Benchmark SHA256 precompile.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_sha256 benchmark_test 1 Benchmark SHA256 precompile.
test_sha256_fixed_size benchmark_test 4 Benchmark SHA256 with fixed size input.
test_sha256_uncachable benchmark_test 3 Benchmark SHA256 with unique input per call.