test_blob_tx_attribute_gasprice_opcode()
¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_tx_attribute_gasprice_opcode@008e492e
.
Generate fixtures for these test cases for Prague with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_tx_attribute_gasprice_opcode --fork Prague
Test GASPRICE opcode to sanity check that the blob gas fee does not affect its calculation.
- No priority fee
- Priority fee below data fee
- Priority fee above data fee
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | opcode | tx_gas | tx_max_fee_per_gas | tx_max_fee_per_blob_gas_delta | tx_max_priority_fee_per_gas |
---|---|---|---|---|---|
...fork_Cancun-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Cancun-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Cancun-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Cancun-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |
...fork_Cancun-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Cancun-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Cancun-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Cancun-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |
...fork_Prague-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Prague-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Prague-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Prague-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |
...fork_Prague-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Prague-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Prague-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Prague-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |
...fork_Osaka-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Osaka-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Osaka-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Osaka-state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |
...fork_Osaka-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 0 | 0 |
...fork_Osaka-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_0-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 0 | 2 |
...fork_Osaka-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_0 | GASPRICE | 500000 | 100 | 1 | 0 |
...fork_Osaka-blockchain_test_from_state_test-tx_gas_500000-opcode_GASPRICE-tx_max_fee_per_gas_100-tx_max_fee_per_blob_gas_delta_1-tx_max_priority_fee_per_gas_2 | GASPRICE | 500000 | 100 | 1 | 2 |