NEWTON
Asked
4 months ago
61
views
0
Hi. I am seeing this error in my tests after upgrade.
(starknet-py) JediSwap % protostar test tests/test_deployment.cairo
17:59:05 [INFO] Collected 1 suite, and 3 test cases (0.062 s)
[UNEXPECTED_EXCEPTION] tests/test_deployment.cairo
Traceback (most recent call last):
File "protostar/commands/test/test_runner.py", line 98, in run_test_suite
File "protostar/commands/test/test_runner.py", line 155, in _build_execution_state
File "protostar/commands/test/environments/setup_execution_environment.py", line 38, in execute
File "protostar/starknet/execution_environment.py", line 32, in perform_execute
File "starkware/starknet/testing/contract.py", line 293, in execute
File "starkware/starknet/testing/contract.py", line 303, in _execute_on_given_state
File "protostar/starknet/cheatable_state.py", line 97, in execute_entry_point_raw
File "starkware/starknet/testing/state.py", line 241, in add_messages_and_events
File "starkware/starknet/business_logic/execution/objects.py", line 337, in get_sorted_events
IndexError: list assignment index out of range
This question was originally posted on StarkNet Discord
Newton
asked
4 months ago
There are no answers for this question yet
Want to give yours?
Infinite Recursion Error on Cairo Compile
How to send tokens through StarkNet.py?
How to use Argent (or any from the main providers) account in the StarkNet.py?
output_ptr Assertion Error in Main - Cairo-lang
How can I get ETH for the test net in StarkNet?
Where can i get test tokens in StarkNet?
Why does range_check_ptr chek for [0, 2^128) instead of [0, P/2)
Cairo OR operator
Does anyone know how to print a uint256 in protostar tests?
Cairo: How do I initialize an array in cairo
Is there a way to accelerate pytest for cairo contract?
Why I randomly get `HttpError: Bad Gateway` from starknet js?
What are steps to create a new contract using starknetjs?
Another vanilla Cairo question, what are the sorts of references