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

Save external offchain transactions in optimist #641

Merged
merged 2 commits into from
May 6, 2022

Conversation

Westlad
Copy link
Contributor

@Westlad Westlad commented May 6, 2022

This PR will cause any transactions that appear in a L2 block which optimist has not got in its database, to be saved.
This can happen when optimist is being resynced because the process only saves transactions that are received as part of a TransactionSubmitted event; offchain events do not create these.

I have not yet created a positive test for this code. This will follow.

@IlyasRidhuan IlyasRidhuan self-requested a review May 6, 2022 16:13
@IlyasRidhuan IlyasRidhuan merged commit ee77adc into master May 6, 2022
@IlyasRidhuan IlyasRidhuan deleted the westlad/resync-offchain branch May 6, 2022 16:19
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.

3 participants