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]