Skip to content

runners take too long to finish a concrete execution #75

Description

@cyberthirst

Describe the bug

  • some fun calls have too long execution time

consider the call to func_0:

@external
@pure
def func_0(x_INT_0: int8, x_INT_1: uint8):
    for i_2: uint256 in range(0, 2097152):
        for i_3: uint256 in range(0, 2097152):
            break

@internal
@nonpayable
def func_1(x_DA_INT_0: DynArray[uint8,1], x_BYTESM_0: bytes1):
    return

@external
@pure
def __default__():
    return
  • it is either necessary to do async execution and kill the thread after some concrete time interval
  • or generate contracts which won't be so computationally expensive - i assume that loops are the main problem

Version Information

Additional context

Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions