Test Code Validation¶
Documentation for tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_code_validation.py
.
Generate fixtures for these test cases for Prague with:
Prague only:
fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_code_validation.py --fork=Prague --evm-bin=/path/to/evm-tool-dev-version
fill -v tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_code_validation.py --until=Prague --evm-bin=/path/to/evm-tool-dev-version
EOF V1 Code Validation tests
test_legacy_initcode_valid_eof_v1_contract(eof_test, container)
¶
Test creating various types of valid EOF V1 contracts using legacy initcode and a contract creating transaction.
Source code in tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_code_validation.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
|
test_legacy_initcode_invalid_eof_v1_contract(eof_test, container)
¶
Test creating various types of valid EOF V1 contracts using legacy initcode and a contract creating transaction.
Source code in tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_code_validation.py
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
|