-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Description
Hi,
I was trying to run the create_metadata.py
, but got the error saying the len(Advanced_Collectible)-1
is out of range. More details of the error is shown as below.
I tried to pin the file to Pinata
, which was successful, but not sure why Advanced_Collectible
doesn't contain anything.
Any idea of the reason?
Brownie v1.17.2 - Python development framework for Ethereum
NftMixProject is the active project.
Launching 'ganache-cli --accounts 10 --hardfork istanbul --gasLimit 12000000 --mnemonic brownie --port 8545'...
Running 'scripts/advanced_collectible/create_metadata.py::main'...
Working on development
File "brownie/_cli/run.py", line 50, in main
return_value, frame = run(
File "brownie/project/scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "./scripts/advanced_collectible/create_metadata.py", line 25, in main
advanced_collectible = AdvancedCollectible[len(AdvancedCollectible) - 1]
File "brownie/network/contract.py", line 173, in __getitem__
return self._contracts[i]
IndexError: list index out of range
Terminating local RPC client...
Metadata
Metadata
Assignees
Labels
No labels