test_gas_usage()
Test that tstore and tload consume the expected gas.
Test ID | bytecode | expected_gas | extra_stack_items | overhead_cost |
---|---|---|---|---|
tload | 100 | 1 | 3 | |
tstore_tload | 200 | 1 | 9 | |
tstore_cold | 100 | 0 | 6 | |
tstore_warm | 200 | 0 | 12 | |
tload | 100 | 1 | 3 | |
tstore_tload | 200 | 1 | 9 | |
tstore_cold | 100 | 0 | 6 | |
tstore_warm | 200 | 0 | 12 |