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

Ignore requests with an invalid sponsor wallet #1758

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

dcroote
Copy link
Contributor

@dcroote dcroote commented May 4, 2023

Closes #1749. This was a simple fix that leverages the existing sponsor wallet verification functionality and tests to drop requests with invalid sponsor wallets earlier within the airnode cycle prior to making an API call.

@dcroote dcroote self-assigned this May 4, 2023
@dcroote dcroote requested a review from a team May 4, 2023 06:25
Copy link
Contributor

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a unit test for this?

@dcroote
Copy link
Contributor Author

dcroote commented May 4, 2023

Can you add a unit test for this?

Is there something specific you would like? I linked to a suite of existing tests in my first comment above.

Copy link
Contributor

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

I linked to a suite of existing tests in my first comment above.

Sorry, I missed the link - all good.

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.

Airnode attemps to fail the request when the sponsor wallet is invalid
2 participants