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

AN-374: Creating an example that will fail #940

Merged
merged 18 commits into from
Mar 25, 2022
Merged

AN-374: Creating an example that will fail #940

merged 18 commits into from
Mar 25, 2022

Conversation

martinkolenic
Copy link
Contributor

This pull request creates a new Airnode example that is intended to fail. I only made a minor alteration to the coingecko example in all the necessary places and documented the behaviour in the readme.

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.

You are missing the Requester contract in this PR, did you forget to commit it?

I am not sure about the changes in yarn.lock, what is your yarn version?

.changeset/clean-plants-kick.md Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@martinkolenic
Copy link
Contributor Author

Hi @Siegrift, I don't really know why the requester contract is missing; I'll investigate and recommit.

@martinkolenic martinkolenic self-assigned this Mar 17, 2022
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.

Also, remove package-lock.json as it is not needed.

.changeset/fast-tomatoes-remain.md Outdated Show resolved Hide resolved
packages/airnode-examples/package.json Outdated Show resolved Hide resolved
return encode([{ name: 'coinId', type: 'string32', value: coinId }]);
};

export const printResponse = async (requestId: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This function is not needed (will never be called since the request fails) but I am OK with it staying

@martinkolenic martinkolenic merged commit 619493f into master Mar 25, 2022
@martinkolenic martinkolenic deleted the an-374 branch March 25, 2022 13:49
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