Code Monkey home page Code Monkey logo

Comments (5)

0xSidius avatar 0xSidius commented on September 25, 2024 1

@0xSidius can you paste the contracts here so I can reproduce your system setup? Maybe send over a screenshot of your folder tree? Also, we do have a test or two failing currently on our side that we are working on, and some of it is hanging. Might be the cause of your headaches.

@unparalleled-js has access to our repo, we also talked with her today about where to expect the bottlenecks as well as setting some expectations for how much things can be improved. She can help you on both fronts I think

our contract structures is the following contracts/:
image

To be sure, the issue is only with Cairo tests

from ape-starknet.

johnson2427 avatar johnson2427 commented on September 25, 2024 1

@0xSidius Thank you! I'll set up a cairo test and start working through it. Last I checked, we had some issues with cairo and our yaml setup. Could be the root here.

from ape-starknet.

antazoey avatar antazoey commented on September 25, 2024 1

I think this test is good candidate to test against: https://github.com/ApeWorX/ape-starknet/blob/main/tests/functional/test_contract.py#L22

It is a very slow test and does declares and deploys

from ape-starknet.

0xSidius avatar 0xSidius commented on September 25, 2024

The bottlenecks are clearly during fixture contract deployments and other interactions with the devnet (like declaration txs). For 2 declarations, 1 contract deployment and 1 simple related test case, a Pytest run currently averages around 3 minutes.

image

image

image

Pre-deploying accounts or making tests run faster is not where the bottleneck is to be found

from ape-starknet.

johnson2427 avatar johnson2427 commented on September 25, 2024

@0xSidius can you paste the contracts here so I can reproduce your system setup? Maybe send over a screenshot of your folder tree? Also, we do have a test or two failing currently on our side that we are working on, and some of it is hanging. Might be the cause of your headaches.

from ape-starknet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.