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