test_push0_contract_during_call_contexts()
¶
Documentation for tests/shanghai/eip3855_push0/test_push0.py::TestPush0CallContext::test_push0_contract_during_call_contexts@21fb11c8
.
Generate fixtures for these test cases for Prague with:
fill -v tests/shanghai/eip3855_push0/test_push0.py::TestPush0CallContext::test_push0_contract_during_call_contexts --fork Prague
Tests the PUSH0 operation during various call contexts including: - CALL - CALLCODE - DELEGATECALL - STATICCALL.
Source code in tests/shanghai/eip3855_push0/test_push0.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
|
test_push0_contract_during_call_contexts(state_test, env, pre, post, sender, push0_contract_caller)
¶
Test PUSH0 during various call contexts.
Source code in tests/shanghai/eip3855_push0/test_push0.py
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | call_opcode |
---|---|
...fork_Shanghai-state_test-call | CALL |
...fork_Shanghai-state_test-callcode | CALLCODE |
...fork_Shanghai-state_test-delegatecall | DELEGATECALL |
...fork_Shanghai-state_test-staticcall | STATICCALL |
...fork_Shanghai-blockchain_test_from_state_test-call | CALL |
...fork_Shanghai-blockchain_test_from_state_test-callcode | CALLCODE |
...fork_Shanghai-blockchain_test_from_state_test-delegatecall | DELEGATECALL |
...fork_Shanghai-blockchain_test_from_state_test-staticcall | STATICCALL |
...fork_Cancun-state_test-call | CALL |
...fork_Cancun-state_test-callcode | CALLCODE |
...fork_Cancun-state_test-delegatecall | DELEGATECALL |
...fork_Cancun-state_test-staticcall | STATICCALL |
...fork_Cancun-blockchain_test_from_state_test-call | CALL |
...fork_Cancun-blockchain_test_from_state_test-callcode | CALLCODE |
...fork_Cancun-blockchain_test_from_state_test-delegatecall | DELEGATECALL |
...fork_Cancun-blockchain_test_from_state_test-staticcall | STATICCALL |
...fork_Prague-state_test-call | CALL |
...fork_Prague-state_test-callcode | CALLCODE |
...fork_Prague-state_test-delegatecall | DELEGATECALL |
...fork_Prague-state_test-staticcall | STATICCALL |
...fork_Prague-blockchain_test_from_state_test-call | CALL |
...fork_Prague-blockchain_test_from_state_test-callcode | CALLCODE |
...fork_Prague-blockchain_test_from_state_test-delegatecall | DELEGATECALL |
...fork_Prague-blockchain_test_from_state_test-staticcall | STATICCALL |
...fork_Osaka-state_test-call | CALL |
...fork_Osaka-state_test-callcode | CALLCODE |
...fork_Osaka-state_test-delegatecall | DELEGATECALL |
...fork_Osaka-state_test-staticcall | STATICCALL |
...fork_Osaka-blockchain_test_from_state_test-call | CALL |
...fork_Osaka-blockchain_test_from_state_test-callcode | CALLCODE |
...fork_Osaka-blockchain_test_from_state_test-delegatecall | DELEGATECALL |
...fork_Osaka-blockchain_test_from_state_test-staticcall | STATICCALL |