Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement various minor fixes #140

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Implement various minor fixes #140

merged 1 commit into from
Nov 30, 2023

Conversation

Siegrift
Copy link
Collaborator

Rationale

@andreogle found various issues when running signed API and Airseeker locally. Specifically:

  1. DEV_SERVER_PORT not working
  2. DEV_SERVER_PORT is not set to 8090 by default (pusher expects signed API on this port)
  3. Add more context to Unauthorized Airnode address message.
  4. Default configuration of signed API has allowedAirnodes set to random Airnode instead of the address of the pusher configured for development (with fixed mnemonic).

These are all implemented, and I've slightly changed the function for generating error response.

There was another point, whether pusher needs to use both .env and .secrets.env but there is a conceptual difference between those so I'm leaving that in place.

@Siegrift Siegrift requested a review from andreogle November 28, 2023 08:18
@Siegrift Siegrift self-assigned this Nov 28, 2023
packages/api/src/dev-server.ts Show resolved Hide resolved
packages/api/src/utils.ts Show resolved Hide resolved
@Siegrift Siegrift merged commit 900628d into main Nov 30, 2023
4 checks passed
@Siegrift Siegrift deleted the minor-fixes branch November 30, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants