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

Fix fromBlock validation in lp replay #7531

Merged
merged 6 commits into from
Sep 28, 2022
Merged

Conversation

connorwstein
Copy link
Contributor

@connorwstein connorwstein commented Sep 27, 2022

  • When replaying we need to take min(latest, fromBlock) once the replay select case has been selected to avoid skipping blocks. Fixes problematic replays which have fromBlock in (latestBlock, chainHead).
  • Exposing lp test harness for use in both black and whitebox test (removes some boilerplate)

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@github-actions
Copy link
Contributor

github-actions bot commented Sep 27, 2022

Solana Smoke Test Results

1 tests   1 ✔️  4m 33s ⏱️
1 suites  0 💤
1 files    0

Results for commit 6d15a85.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 27, 2022

EVM Smoke Test Results

68 tests   33 ✔️  6m 23s ⏱️
  1 suites  35 💤
  1 files      0

Results for commit 6d15a85.

♻️ This comment has been updated with latest results.

core/utils/utils.go Outdated Show resolved Hide resolved
@connorwstein connorwstein merged commit 0283788 into develop Sep 28, 2022
@connorwstein connorwstein deleted the lp-replay-validation branch September 28, 2022 18:14
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