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

cargo stylus takes a long time, but i wasn't aware #67

Closed
leeederek opened this issue Aug 8, 2024 · 0 comments
Closed

cargo stylus takes a long time, but i wasn't aware #67

leeederek opened this issue Aug 8, 2024 · 0 comments

Comments

@leeederek
Copy link
Member

leeederek commented Aug 8, 2024

Related to OffchainLabs/arbitrum-docs#1550

cargo stylus check takes an unexpectedly long time to complete (over 15minutes on my M3 Mac). This is fine especially since it was the first time I ran it so it had to download a bunch of packages/dependencies, but i would have preferred for this caveat/information to be made explicit in the CLI. I ran it again and just compiling everything took more than a few minutes.

alternatively, it would've been fine to have something like:

➜  quickstart-project git:(main) cargo stylus check
info: This command will attempt to verify that your contract can be deployed and activated onchain without requiring a transaction by specifying a JSON-RPC endpoint. 
This may take up to 15 minutes depending on the size of your project.

or

➜  quickstart-project git:(main) cargo stylus check --help
Check a contract. 
This command will attempt to verify that your contract can be deployed and activated onchain without requiring a transaction by specifying a JSON-RPC endpoint. 
This may take up to 15 minutes depending on the size of your project.

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

2 participants