Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Attribute Erroor #59

Open
olugbengatalabi opened this issue Apr 9, 2023 · 1 comment
Open

Attribute Erroor #59

olugbengatalabi opened this issue Apr 9, 2023 · 1 comment

Comments

@olugbengatalabi
Copy link

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
Copy link

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

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

No branches or pull requests

2 participants