You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of options in brownie-config.yaml. This could be bad because:
It can be overwhelming / confusing for new users
There is a lot of potential variance in Brownie's behavior
Specification
Remove the networks field and create a new CLI section, brownie networks, where these settings are defined.
Share network settings across all projects. Allow new networks to be added manually, imported and exported to JSON
Default to automatic gas price and gas limit for non-local networks, 0 gas and block-gas-limit for test networks.
Make all pytest-specific settings optional. Include them in the documentation but do not require them in the config file.
Make compiler settings optional. Default to the latest EVM and determine the solc version from the pragma statement. Document possible config settings and allow the default behavior to be over-ridden.
Remove options for customizing colors
add single (optional) setting to toggle all color use
Remove the option to minify source and perform this action by default.
Related to this, there can be some significant refactoring of how CONFIG and ARGV are handled internally.
Dependencies
Most of these changes can be made without breaking anything, so long as the configuration fields are made optional without changing their structure.
Some changes, particularly to network, probably should eventually break things, so this may not be complete until Brownie 2.0.0.
The text was updated successfully, but these errors were encountered:
Overview
There are a lot of options in
brownie-config.yaml
. This could be bad because:Specification
networks
field and create a new CLI section,brownie networks
, where these settings are defined.Related to this, there can be some significant refactoring of how
CONFIG
andARGV
are handled internally.Dependencies
Most of these changes can be made without breaking anything, so long as the configuration fields are made optional without changing their structure.
Some changes, particularly to
network
, probably should eventually break things, so this may not be complete until Brownie2.0.0
.The text was updated successfully, but these errors were encountered: