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
{{ message }}
This repository has been archived by the owner on May 17, 2024. It is now read-only.
I am trying to deploy my script on the rinkeby network but it seems like there is a bug somewhere and i would like to find out what it is.
After typing in 'brownie run scripts/deploy.py --network rinkeby' in my terminal, I am getting the error below:
Running '\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py::main'... File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\_cli\run.py", line 50, in main return_value, frame = run( File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\scripts.py", line 103, in run return_value = f_locals[method_name](*args, **kwargs) File "\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py", line 23, in main deploy_simple_storage() File "\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py", line 6, in deploy_simple_storage simple_storage = SimpleStorage.deploy({"from": accounts}) File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py", line 524, in __call__ return tx["from"].deploy(
AttributeError: 'Accounts' object has no attribute 'deploy'
The text was updated successfully, but these errors were encountered:
I am trying to deploy my script on the rinkeby network but it seems like there is a bug somewhere and i would like to find out what it is.
After typing in 'brownie run scripts/deploy.py --network rinkeby' in my terminal, I am getting the error below:
Running '\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py::main'... File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\_cli\run.py", line 50, in main return_value, frame = run(
File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\scripts.py", line 103, in run return_value = f_locals[method_name](*args, **kwargs)
File "\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py", line 23, in main deploy_simple_storage()
File "\Users\sahar\OneDrive\Documents\Python\Blockchain\brownie_simple_storage\scripts\deploy.py", line 6, in deploy_simple_storage simple_storage = SimpleStorage.deploy({"from": accounts})
File "C:\Users\sahar\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py", line 524, in __call__ return tx["from"].deploy(
AttributeError: 'Accounts' object has no attribute 'deploy'
The text was updated successfully, but these errors were encountered: