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(backend): support single phase transfer in connector #2564

Merged
merged 6 commits into from
Mar 22, 2024

Conversation

sabineschaller
Copy link
Member

Changes proposed in this pull request

Context

fixes #1166

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Documentation added
  • Make sure that all checks pass
  • Bruno collection updated

@github-actions github-actions bot added pkg: backend Changes in the backend package. type: source Changes business logic labels Mar 18, 2024
Copy link

netlify bot commented Mar 18, 2024

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 93d5d22
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/65fd68929215260009f6e1b2

@@ -75,15 +75,13 @@ export function createBalanceMiddleware(): ILPMiddleware {

if (state.streamDestination) {
await next()
if (response.fulfill) await createTransfer()
Copy link
Contributor

Choose a reason for hiding this comment

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

can we have a test for the single phase transfer? (we can at least probably assert that services.accounting.createTransfer was called without the timeout set)

@github-actions github-actions bot added the type: tests Testing related label Mar 22, 2024
…ddleware/balance-middleware.test.ts

Co-authored-by: Max Kurapov <max@interledger.org>
@sabineschaller sabineschaller merged commit 81f8a05 into main Mar 22, 2024
22 checks passed
@sabineschaller sabineschaller deleted the s2-1phase-transfer-connector branch March 22, 2024 11:30
mkurapov added a commit that referenced this pull request Apr 3, 2024
mkurapov added a commit that referenced this pull request Apr 4, 2024
…tor" (#2630)

* Revert "feat(backend): support single phase transfer in connector (#2564)"

This reverts commit 81f8a05.

* chore(test): adding test for checking completion of incoming payment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: backend Changes in the backend package. type: source Changes business logic type: tests Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support single phase transfers in connectors
2 participants