Closed AlizadeAlireza closed 2 years ago
Could you follow the code here instead of the video? The code has changed a little.
thank you for your response. I fixed it i used {"from", account} instead {"from": account} I should have paid attention to the answer you gave earlier
hi...I have a new issue about this and I see everywhere to fix it in your GitHub repo in your solidity course and I was confused why work on your systm but in my system give me an error
File "eth_brownie-1.19.0-py3.10.egg/brownie/_cli/run.py", line 51, in main return_value, frame = run( File "eth_brownie-1.19.0-py3.10.egg/brownie/project/scripts.py", line 110, in run return_value = f_locals[method_name](*args, *kwargs) File "./scripts/deploy_and_create.py", line 14, in main tx = simple_collectible.createCollectible(sample_token_uri, {"from", account}) File "eth_brownie-1.19.0-py3.10.egg/brownie/network/contract.py", line 1861, in call return self.transact(args) File "eth_brownie-1.19.0-py3.10.egg/brownie/network/contract.py", line 1744, in transact data=self.encode_input(*args), File "eth_brownie-1.19.0-py3.10.egg/brownie/network/contract.py", line 1779, in encode_input data = format_input(self.abi, args) File "eth_brownie-1.19.0-py3.10.egg/brownie/convert/normalize.py", line 20, in format_input raise type(e)(f"{abi['name']} {e}") from None ValueError: createCollectible Sequence has incorrect length, expected 1 but got 2
you pass 2 in your video and it's work but not for me please help me