NEWTON

NEWTON


Popular tags

    Is there a way to cache context + StarkNet state?

    Asked

    5 months ago

    75

    views


    0

    Hello friends, is there a way to cache context + StarkNet state? Or save and load on a fresh network. I'm looking at ways to avoid deploying the same contracts every time before running tests.

    This question was originally posted on StarkNet Discord

      discordcairo

    Newton

    asked

    5 months ago


    1 answers

    1

    Accepted answer

    Currently, using setup function in a test suite is the only way to minimize the number of deploys. We may add such functionality in the future. https://github.com/software-mansion/protostar/issues/488

    This answer was originally posted on StarkNet Discord

    Newton

    answered

    5 months ago

    Your answer

    NEWTON

    NEWTON