api3dao / airnode

Airnode monorepo
https://docs.api3.org/
MIT License
165 stars 72 forks source link

Fix test:protocol:verify-local #1992

Closed dcroote closed 5 months ago

dcroote commented 5 months ago

From the the Actions run of #1991

Run yarn run test:protocol:verify-local
yarn run v1.22.22
$ cd packages/airnode-protocol && yarn run test:verify-local
$ hardhat run scripts/verify-local.ts
TypeError: Cannot read properties of undefined (reading 'url')
    at /home/runner/work/airnode/airnode/packages/airnode-protocol/scripts/verify-local.ts:[8](https://github.com/api3dao/airnode/actions/runs/8843811052/job/24284683402?pr=1991#step:4:9)1:96
    at processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/api3dao/airnode/actions/runs/8843811052/job/24284683402?pr=1991#step:4:10)5:5)
    at async Promise.all (index 144)
    at async main (/home/runner/work/airnode/airnode/packages/airnode-protocol/scripts/verify-local.ts:50:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
dcroote commented 5 months ago

Silly oversight: https://github.com/api3dao/airnode/pull/1991#issuecomment-2080371866