test_jumpf_diff_min_stack_height()
¶
Documentation for tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py::test_jumpf_diff_min_stack_height@49a16fac
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py::test_jumpf_diff_min_stack_height --fork Osaka
Tests jumpf with a different min stack height.
Source code in tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | target_inputs | target_outputs | stack_height | expected_exception |
---|---|---|---|---|
...fork_Osaka-eof_test-less_stack | 1 | 0 | 1 | EOFException.STACK_UNDERFLOW |
...fork_Osaka-eof_test-same_stack | 2 | 1 | 2 | EOFException.STACK_UNDERFLOW |
...fork_Osaka-eof_test-more_stack | 3 | 2 | 3 | EOFException.JUMPF_DESTINATION_INCOMPATIBLE_OUTPUTS |
...fork_Osaka-eof_test-less_output | 2 | 2 | 1 | EOFException.JUMPF_DESTINATION_INCOMPATIBLE_OUTPUTS |
...fork_Osaka-eof_test-same_output | 1 | 1 | 1 | EOFException.STACK_UNDERFLOW |
...fork_Osaka-eof_test-more_output | 0 | 0 | 1 | EOFException.STACK_UNDERFLOW |