PatrickAlphaC / brownie_fund_me

26 stars 64 forks source link

Attribute Erroor #59

Open olugbengatalabi opened 1 year ago

olugbengatalabi commented 1 year ago

When trying to deploy the contract to a mainnet-fork i get the error AttributeError: 'str' object has no attribute 'copy'

this is the full error message:

BrownieFundMeProject is the active project. File "C:\Users\LENOVO.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli__main__.py", line 64, in main importlib.import_module(f"brownie._cli.{cmd}").main() File "C:\Users\LENOVO.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli\run.py", line 45, in main network.connect(CONFIG.argv["network"]) File "C:\Users\LENOVO.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\main.py", line 31, in connect active = CONFIG.set_active_network(network) File "C:\Users\LENOVO.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_config.py", line 78, in set_active_network network["settings"] = self.settings["networks"][key].copy() AttributeError: 'str' object has no attribute 'copy'

manojkgorle commented 1 year ago

can you share the screenshot of the total error with the code