-
Notifications
You must be signed in to change notification settings - Fork 72
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
Support processing v2 #1914
Support processing v2 #1914
Conversation
02d1525
to
67d94c7
Compare
9986ce9
to
ca3674d
Compare
ca3674d
to
3ed1481
Compare
e0ce4d7
to
1bcffaf
Compare
packages/airnode-adapter/src/request-building/authentication.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure your changes to the processing integrations work?
Neither the instructions you provided in your PR (which required a lot of work to even get to the error i.e. httpSignedDataGateway
isn't enabled in config.example.json
so http-signed-data-invoke
fails) nor following the entire coingecko-pre-processing
from scratch work for me.
Both fail with TypeError: Cannot read properties of undefined (reading 'unixTimestamp')
You're right - sorry. I forgot to update the processing snippets after the renaming discussion we had at the docs PR. I also forgot to mention to copy the trigger in the config to the signed data gateway. Please try again now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both pre- and post-processing integrations work now 👍
* Support processing v2 * Migrate to processing after naming changes * Remove redundant check * Update ois and commons * Add changeset * Fix tests * Update OIS version properly * Use [email protected] and remove typing hacks * Fix processing snippets, apply PR suggestions * Properly apply PR suggestions
Relates to api3dao/commons#27
Rationale
Read api3dao/commons#32
How to test
I used the development only invoke instructions to invoke signed API with pre/post processing configurations. Specifically:
Copy the pre-processing
packages/airnode-examples/integrations/coingecko-pre-processing/config.example.json
topackages/airnode-node/config/config.json
and run the following:Copy the post-processing
packages/airnode-examples/integrations/coingecko-post-processing/config.example.json
topackages/airnode-node/config/config.json
and run the following: