Skip to content

Test Tx Context

Documentation for tests/benchmark/compute/instruction/test_tx_context.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/compute/instruction/test_tx_context.py --gas-benchmark-values 1

Benchmark transaction context instructions.

Supported Opcodes: - ORIGIN - GASPRICE - BLOBHASH

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_blobhash benchmark_test 2 Benchmark BLOBHASH instruction.
test_call_frame_context_ops benchmark_test 2 Benchmark call zero-parameter instructions.