Skip to content

Test Tx Context

Documentation for tests/benchmark/compute/instruction/test_tx_context.py@7b8124a7.

Generate fixtures for these test cases for Osaka 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 (Osaka) Description
test_call_frame_context_ops benchmark_test 2 Benchmark call zero-parameter instructions.
test_blobhash benchmark_test 2 Benchmark BLOBHASH instruction.