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

feat(request-node): use subgraph for confirmation #1286

Merged
merged 6 commits into from Dec 13, 2023

Conversation

benjlevesque
Copy link
Contributor

@benjlevesque benjlevesque commented Dec 8, 2023

Resolves #1287
Requires RequestNetwork/storage-subgraph#13

This changes removes the handling of failed transactions. I think this is acceptable, since there is a relatively short timeout on confirmation, and failures aren't very common. Please feel free to challenge this.

@benjlevesque benjlevesque marked this pull request as ready for review December 8, 2023 10:51
Copy link
Member

@alexandre-abrioux alexandre-abrioux left a comment

Choose a reason for hiding this comment

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

👌

Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

This change removes the handling of failed transactions. I think this is acceptable, since there is a relatively short timeout on confirmation, and failures aren't very common. Please feel free to challenge this.

I agree that this is acceptable for now.

I have a suspicion that the Request Node doesn't handle reorgs gracefully, but investigating and fixing it is beyond the scope of this PR.

Nice work 👍

packages/request-node/src/server.ts Outdated Show resolved Hide resolved
@benjlevesque benjlevesque force-pushed the feat/request-node/use-subgraph-for-confirmation branch from f945e8d to cfbf5b1 Compare December 12, 2023 11:10
@coveralls
Copy link

Coverage Status

coverage: 87.133% (+0.03%) from 87.105%
when pulling c5063b2 on feat/request-node/use-subgraph-for-confirmation
into f1f2f91 on master.

@benjlevesque benjlevesque changed the title feat(request node): use subgraph for confirmation feat(request-node): use subgraph for confirmation Dec 13, 2023
@benjlevesque benjlevesque merged commit 11d3ca8 into master Dec 13, 2023
26 checks passed
@benjlevesque benjlevesque deleted the feat/request-node/use-subgraph-for-confirmation branch December 13, 2023 14:08
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.

Request Node confirmation backed by TheGraph
5 participants