-
Hello ValueError: constructor Sequence has incorrect length, expected 1 but got I can read the account address but its not deploying! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hello @sako013 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Are you sending the price_feed_address to the constructor at deploying on your deploy script? |
Beta Was this translation helpful? Give feedback.
-
I was following the tutorial step by step and still got this error, Here is my deploy.py from brownie import FundMe, network, config
from scripts.helpful_scripts import get_account
def delpoy_fund_me():
account = get_account()
print(account)
fund_me = FundMe.deploy({"from": account})
print(f"Contract Deployed to{fund_me.address}")
def main():
delpoy_fund_me() |
Beta Was this translation helpful? Give feedback.
-
i tried compile SimpleStorages.sol and it worked so definetly i have not inputed the chainlink address for my pair,trying to figure it out gotta go back to to lesson3 !,thanks dude |
Beta Was this translation helpful? Give feedback.
-
The problem is here: Cheers. |
Beta Was this translation helpful? Give feedback.
The problem is here:
fund_me = FundMe.deploy({"from": account})
As I said the constructor of the contract requires the price_feed address and you are not providing one at deploy, so you must add the address before
{"from": account}
.Cheers.