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

feat: brownie console add a disable compilation flag #1096

Open
AoDev opened this issue Jun 1, 2021 · 1 comment
Open

feat: brownie console add a disable compilation flag #1096

AoDev opened this issue Jun 1, 2021 · 1 comment
Labels
enhancement New feature or request Good First Issue Good issue for new contributors

Comments

@AoDev
Copy link

AoDev commented Jun 1, 2021

Overview

Currently when I run brownie console, it recompiles all the contracts. Apparently due to some issue which is not identified.

I only want to compile once with brownie compile -all. That's it.
I work on the frontend side, I don't modify the contracts, I just need a local fork and run some scripts.

Currently it's slow as hell to work because depending on the network, the fork dies quickly. Skipping the compilation step would help speed things up.

Specification

I'd like some flag / CLI arguments that would tell brownie console to run with the currently compiled contracts and not even attempt to recompile.

Something like brownie console --no-compile

@djh58
Copy link

djh58 commented Dec 9, 2021

This is a good idea. Similar to how Hardhat's console has a --no-compile flag. I'm testing scripts and running them back to back, and re-compiling each time slows things down a bit.

@scyron6 scyron6 mentioned this issue Apr 14, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Good First Issue Good issue for new contributors
Projects
None yet
Development

No branches or pull requests

3 participants