-
Notifications
You must be signed in to change notification settings - Fork 301
Dev/clean contracts and compiled files #1418
Dev/clean contracts and compiled files #1418
Conversation
The script looks good but there are still a lot of duplicated contracts across the repo. For example, search for |
We don't have source code for Argent and openZepellin cairo1 account contract. Talking about |
Good job on this @azurwastaken After some internal discussion, this PR scope could be widen to truly clean everything. What we would want ideally is just one bash script that compiles both cairo 0 and cairo 1 contracts in the main |
Hello, I managed to adapt the script to compile everything. However i have this warning when compiling BraavosAccount.cairo, ArgentAccount.cairo and Openzeppelinaccount.cairo : Warning: Deploying this contract using DeployAccount transaction is not recommended and would probably fail. I dont know if its important. Also, I saw that in the old compile_all.py script, we take the feshly compiled json and change every offset in the entrypoint by type from plain int to hex. I would like to know if it matter or if we don't care. Currently I output compiled files in a directory compiled_contract with two subfolders for cairo 0 and 1 as I don't really know where i should put them. |
It's probably due to us using old contracts. Those are cairo0 contracts?
I have no idea why we did that. @apoorvsadana @EvolveArt ?
Sound great |
Yes they are, how can I run test to check ? |
I am not sure as well, it might be a compiler version thing? But ya, as long as the test cases are passing we should be good. |
Pull Request type
Please add the labels corresponding to the type of changes your PR introduces:
What is the current behavior?
Resolves: #1379
What is the new behavior?
Does this introduce a breaking change?
No
Other information
This PR is still incomplete. the goal is to submit to review the change i've done on cairo 1 contract and also to see if i going in the good way to solve this. Also I struggle to find which contract should be remove so if anyone can give me an hint