Skip to content

Test Multi Opcode

Documentation for tests/benchmark/stateful/bloatnet/test_multi_opcode.py@8db70f93.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/benchmark/stateful/bloatnet/test_multi_opcode.py --gas-benchmark-values 1

abstract: BloatNet bench cases extracted from https://hackmd.io/9icZeLN7R0Sk5mIjKlZAHQ.

The idea of all these tests is to stress client implementations to find out where the limits of processing are focusing specifically on state-related operations.

Test Functions Overview

Name Type Cases (Amsterdam) Description
test_bloatnet_balance_opcode benchmark_test 10 Benchmark BALANCE paired with a second opcode on bloatnet
test_bloatnet_call_value_existing benchmark_test 1 Benchmark CALL with value transfer to cold existing factory contracts.
test_bloatnet_call_value_new_account benchmark_test 1 Benchmark CALL with value transfer to non-existent accounts.
test_mixed_sload_sstore benchmark_test 5 Benchmark mixed SLOAD/SSTORE on bloatnet.