test_dupn_stack_overflow()
¶
Documentation for tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py::test_dupn_stack_overflow@bc691d13
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py::test_dupn_stack_overflow --fork Osaka
Test case where DUPN produces an stack overflow.
Source code in tests/osaka/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py
88 89 90 91 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 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | dupn_operand | max_stack_height | expect_exception |
---|---|---|---|
...fork_Osaka-eof_test-dupn_operand_0-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 0 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-eof_test-dupn_operand_0-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 0 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |
...fork_Osaka-eof_test-dupn_operand_255-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 255 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-eof_test-dupn_operand_255-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 255 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |
...fork_Osaka-state_test_from_eof_test-dupn_operand_0-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 0 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-state_test_from_eof_test-dupn_operand_0-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 0 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |
...fork_Osaka-state_test_from_eof_test-dupn_operand_255-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 255 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-state_test_from_eof_test-dupn_operand_255-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 255 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |
...fork_Osaka-blockchain_test_from_eof_test-dupn_operand_0-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 0 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-blockchain_test_from_eof_test-dupn_operand_0-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 0 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |
...fork_Osaka-blockchain_test_from_eof_test-dupn_operand_255-max_stack_height_1023-expect_exception_EOFException.INVALID_MAX_STACK_INCREASE | 255 | 1023 | EOFException.INVALID_MAX_STACK_INCREASE |
...fork_Osaka-blockchain_test_from_eof_test-dupn_operand_255-max_stack_height_1024-expect_exception_EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT | 255 | 1024 | EOFException.MAX_STACK_INCREASE_ABOVE_LIMIT |