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
Deploying to ethereum:sepolia:alchemy gives below error
Ape command:
ape run scripts/deploy_price_feed_consumer.py --network ethereum:sepolia:alchemy
Error:
File "/Users/yalam/Documents/chainlink/apeworx-starter-kit/scripts/helper_functions.py", line 86, in get_or_deploy_contract
for contract_and_address in config.deployments[ecosystem][chain_name]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'DeploymentConfigCollection' object is not subscriptable
Temporary Fix:
Change line 86 in helper_function.py
for contract_and_address in config.deployments[ecosystem][chain_name]
to
for contract_and_address in config.deployments.dict()[ecosystem][chain_name]
The text was updated successfully, but these errors were encountered:
Deploying to ethereum:sepolia:alchemy gives below error
Ape command:
ape run scripts/deploy_price_feed_consumer.py --network ethereum:sepolia:alchemy
Error:
File "/Users/yalam/Documents/chainlink/apeworx-starter-kit/scripts/helper_functions.py", line 86, in get_or_deploy_contract
for contract_and_address in config.deployments[ecosystem][chain_name]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'DeploymentConfigCollection' object is not subscriptable
Temporary Fix:
Change line 86 in helper_function.py
for contract_and_address in config.deployments[ecosystem][chain_name]
to
for contract_and_address in config.deployments.dict()[ecosystem][chain_name]
The text was updated successfully, but these errors were encountered: