Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a crate for handling starknet_artifacts.json file from scarb #2141

Closed
cptartur opened this issue Jun 27, 2023 · 2 comments
Closed

Create a crate for handling starknet_artifacts.json file from scarb #2141

cptartur opened this issue Jun 27, 2023 · 2 comments
Assignees

Comments

@cptartur
Copy link
Member

cptartur commented Jun 27, 2023

We're handling starknet_artifacts.json file both in the rust runner and CLI. Code for deserializing and handling this file could be moved to a separate crate and used in both these projects.

Should include swapping code parts in CLI/rust runner which parse the artifacts

@Arcticae
Copy link
Member

For now, create a separate crate and we'll merge it into one workspace when we have a new repo

@piotmag769
Copy link
Contributor

#2138 (comment)
We should also implement better error messages for cases where a user changes the content of Scarb.toml (like removing [[target.starknet-contract]] or adding sierra=false to the starknet target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants