NEWTON

NEWTON


Popular tags

    StarkNet error while deploying: IndexError: list assignment index out of range. Can anyone help?

    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

      tests deploymentdiscordcairo

    Newton

    asked

    4 months ago


    0 answers

    There are no answers for this question yet
    Want to give yours?

    Your answer

    NEWTON

    NEWTON