Comments (5)
@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/
:
To be sure, the issue is only with Cairo tests
from ape-starknet.
@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.
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.
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.
Pre-deploying accounts or making tests run faster is not where the bottleneck is to be found
from ape-starknet.
@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)
- Use pre-deployed accounts endpoint to fetch devnet account pkeys
- Support running protostar tests
- L1 <> L2 Communication support
- Support starknet.py full node
- rejection_reason is missing from TX receipt
- Get gas price from a block HOT 2
- Declare command timeout HOT 4
- `No content to fetch` compile error HOT 3
- Handle Multicall Receipts
- Handle publish API from explorer
- Events from called contract don't appear in receipt
- Support provider.get_contract_logs API
- Use `fee_token` request to get fee token address
- Caller address not supported in constructor. HOT 1
- Cannot compile Cairo contracts after upgrading to latest version of ape-starknet HOT 1
- Implement `set_balance()`
- Remove DeployTransaction
- Support easily adding braavos accounts the same we do for argentx
- accounts export command
- Compile error, TypeError: data must be str, not Content [APE-1593]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ape-starknet.