test_set_code_to_tstore_available_at_correct_address()
¶
Documentation for tests/prague/eip7702_set_code_tx/test_set_code_txs.py::test_set_code_to_tstore_available_at_correct_address@3719e927
.
Generate fixtures for these test cases for Prague with:
fill -v tests/prague/eip7702_set_code_tx/test_set_code_txs.py::test_set_code_to_tstore_available_at_correct_address --fork Prague
Test TLOADing from slot 2 and then SSTORE this in slot 1, then TSTORE 3 in slot 2. This is done both from the EOA which is delegated to account A, and then A is called. The storage should stay empty on both the EOA and the delegated account.
Source code in tests/prague/eip7702_set_code_tx/test_set_code_txs.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | call_opcode | evm_code_type | call_eoa_first |
---|---|---|---|
...fork_Prague-call_opcode_CALL-evm_code_type_LEGACY-state_test-call_eoa_first_True | CALL | LEGACY | True |
...fork_Prague-call_opcode_CALL-evm_code_type_LEGACY-state_test-call_eoa_first_False | CALL | LEGACY | False |
...fork_Prague-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test_from_state_test-call_eoa_first_True | CALL | LEGACY | True |
...fork_Prague-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test_from_state_test-call_eoa_first_False | CALL | LEGACY | False |
...fork_Osaka-call_opcode_EXTCALL-evm_code_type_EOF_V1-state_test-call_eoa_first_True | EXTCALL | EOF_V1 | True |
...fork_Osaka-call_opcode_EXTCALL-evm_code_type_EOF_V1-state_test-call_eoa_first_False | EXTCALL | EOF_V1 | False |
...fork_Osaka-call_opcode_EXTCALL-evm_code_type_EOF_V1-blockchain_test_from_state_test-call_eoa_first_True | EXTCALL | EOF_V1 | True |
...fork_Osaka-call_opcode_EXTCALL-evm_code_type_EOF_V1-blockchain_test_from_state_test-call_eoa_first_False | EXTCALL | EOF_V1 | False |
...fork_Osaka-call_opcode_CALL-evm_code_type_LEGACY-state_test-call_eoa_first_True | CALL | LEGACY | True |
...fork_Osaka-call_opcode_CALL-evm_code_type_LEGACY-state_test-call_eoa_first_False | CALL | LEGACY | False |
...fork_Osaka-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test_from_state_test-call_eoa_first_True | CALL | LEGACY | True |
...fork_Osaka-call_opcode_CALL-evm_code_type_LEGACY-blockchain_test_from_state_test-call_eoa_first_False | CALL | LEGACY | False |