You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not page through deposit requests when we ask Emily for all Pending deposits, but we should. sBTC is going to be a smashing success and everyone will want to bridge into the system.
1.1 Context & Purpose
We need to make sure that we get all deposits from Emily in a fixed amount of time (as in, not an indefinite amount of time).
2. Technical Details:
Emily supports pagination with a next page token; we should use it. But doing pagination does not completely fix the issue because it doesn't allow us to guarantee that we'd eventually process all deposits. For that we'd have to limit the amount of time that we spend fetching requests from Emily. We'd also have to make sure that we can resume fetching deposit requests past a certain block height or other marker.
2.1 Acceptance Criteria:
We iterate through deposit requests stored in Emily so that we can eventually get through all of them.
3. Related Issues and Pull Requests (optional):
The text was updated successfully, but these errors were encountered:
Bug - Page through Emily deposit requests
1. Description
We currently do not page through deposit requests when we ask Emily for all Pending deposits, but we should. sBTC is going to be a smashing success and everyone will want to bridge into the system.
1.1 Context & Purpose
We need to make sure that we get all deposits from Emily in a fixed amount of time (as in, not an indefinite amount of time).
2. Technical Details:
Emily supports pagination with a next page token; we should use it. But doing pagination does not completely fix the issue because it doesn't allow us to guarantee that we'd eventually process all deposits. For that we'd have to limit the amount of time that we spend fetching requests from Emily. We'd also have to make sure that we can resume fetching deposit requests past a certain block height or other marker.
2.1 Acceptance Criteria:
3. Related Issues and Pull Requests (optional):
The text was updated successfully, but these errors were encountered: