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(connext): reconcile deposit when channel balance changes #2027

Merged
2 commits merged into from
Dec 9, 2020

Conversation

ghost
Copy link

@ghost ghost commented Dec 7, 2020

This PR changes the logic around /deposit calls. Previously, we were creating new commitment transaction every 5 seconds. With this PR we'll only create new state updates when the channel balance of ETH changes.

Related issue: #2019

@ghost ghost requested a review from sangaman December 7, 2020 14:35
@ghost ghost self-assigned this Dec 7, 2020
@ghost ghost mentioned this pull request Dec 7, 2020
14 tasks
@raladev raladev self-requested a review December 7, 2020 21:14
raladev
raladev previously approved these changes Dec 7, 2020
sangaman
sangaman previously approved these changes Dec 8, 2020
lib/connextclient/ConnextClient.ts Show resolved Hide resolved
@ghost ghost dismissed stale reviews from sangaman and raladev via 44ad218 December 8, 2020 12:14
@ghost ghost force-pushed the feat/refactor-deposit branch from 44ad218 to 124bb22 Compare December 9, 2020 09:20
@ghost ghost force-pushed the feat/refactor-deposit branch from 124bb22 to a68ab7d Compare December 9, 2020 09:23
@ghost
Copy link
Author

ghost commented Dec 9, 2020

@sangaman comments added - going to merge this. If the comments are not clear, I'll add more in a follow-up PR.

@ghost ghost merged commit 4fda631 into master Dec 9, 2020
@ghost ghost deleted the feat/refactor-deposit branch December 9, 2020 10:09
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants