Repository navigation
examples: Airnode demo catching a provider serving wrong data - #14
Merged
Merged
Conversation
A local stand-in provider answers block requests with a block from 40 blocks earlier, always with HTTP 200. A real, paid AirnodeHub call answers the same pinned question with a signed response, and detector D2 raises provider_disagreement naming the verified signer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
macjayz
enabled auto-merge
November 1, 2026 09:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
examples/airnode-demo: a runnable version of the "provider serves wrong data with HTTP 200" story.detectDisagreement) raisesprovider_disagreementnaming the verified Airnode signer.The README opens with the problem it demonstrates, then shows how to get a funded test key and run it:
Also links the example from the README's Signed verification section.
Tested: ran it end to end against live AirnodeHub. The signature was valid and request-bound, and D2 fired as shown in the example README. Typechecked with strict settings and linted.
🤖 Generated with Claude Code