Skip to content

[InterFlux] Update local conversion requests state to processed#986

Merged
fassadlr merged 4 commits intorelease/1.2.3.0from
monitorprocessed
May 24, 2022
Merged

[InterFlux] Update local conversion requests state to processed#986
fassadlr merged 4 commits intorelease/1.2.3.0from
monitorprocessed

Conversation

@fassadlr
Copy link
Contributor

We had to remove the "auto-expiring" mechanism for nodes where the conversion request was expired if older than max-reorg blocks.

Should a node be down it is possible that that node will receive the request and expire it without it actually being processed. Those conversion requests should remain unprocessed until at least one node has set its convesion request state to processed.

The idea here is to run a periodic task that braodcasts a payload asking the nodes for the state they have on a particular conversion request. If it is processed, update our state of that request to processed.

@fassadlr fassadlr requested a review from zeptin May 23, 2022 14:14
@fassadlr fassadlr merged commit 1e662c3 into release/1.2.3.0 May 24, 2022
@fassadlr fassadlr deleted the monitorprocessed branch May 24, 2022 10:03
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