Test Function: test_contract_creation()

Test transient storage in contract creation contexts.

Back to test_contract_creation().

Parametrized Test Cases

Test ID (Abbreviated) constructor_code deploy_code expected_storage opcode
...fork_Cancun-state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Cancun-state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Cancun-state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Cancun-state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Cancun-state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Cancun-state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Cancun-state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Cancun-state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Cancun-state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Cancun-state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Cancun-blockchain_test_from_state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Cancun-blockchain_test_from_state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Cancun-blockchain_test_from_state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Cancun-blockchain_test_from_state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Cancun-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Cancun-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Cancun-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Cancun-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Cancun-blockchain_test_from_state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Cancun-blockchain_test_from_state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Prague-state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Prague-state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Prague-state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Prague-state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Prague-state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Prague-state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Prague-state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Prague-state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Prague-state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Prague-state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Prague-blockchain_test_from_state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Prague-blockchain_test_from_state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Prague-blockchain_test_from_state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Prague-blockchain_test_from_state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Prague-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Prague-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Prague-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Prague-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Prague-blockchain_test_from_state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Prague-blockchain_test_from_state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Osaka-state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Osaka-state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Osaka-state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Osaka-state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Osaka-state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Osaka-state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Osaka-state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Osaka-state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Osaka-state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Osaka-state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Osaka-blockchain_test_from_state_test-only_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Osaka-blockchain_test_from_state_test-only_constructor_code-create2 {0: 0, 1: 1} CREATE2
...fork_Osaka-blockchain_test_from_state_test-in_constructor_and_deployed_code-create {0: 0, 1: 0, 2: 1} CREATE
...fork_Osaka-blockchain_test_from_state_test-in_constructor_and_deployed_code-create2 {0: 0, 1: 0, 2: 1} CREATE2
...fork_Osaka-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create {0: 0, 1: 1, 2: 1} CREATE
...fork_Osaka-blockchain_test_from_state_test-across_constructor_and_deployed_code_v0-create2 {0: 0, 1: 1, 2: 1} CREATE2
...fork_Osaka-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE
...fork_Osaka-blockchain_test_from_state_test-across_constructor_and_deployed_code_v1-create2 {0: 0, 1: 1, 2: 0, 3: 1, 4: 1} CREATE2
...fork_Osaka-blockchain_test_from_state_test-no_constructor_code-create {0: 0, 1: 1} CREATE
...fork_Osaka-blockchain_test_from_state_test-no_constructor_code-create2 {0: 0, 1: 1} CREATE2