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: prevent gravity batches being resubmitted indefinitely #316

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

byte-bandit
Copy link
Collaborator

@byte-bandit byte-bandit commented Oct 19, 2023

Related Github tickets

Background

Looks like there was a bug in the gravity code that would loop over all log events on the target chain for the past 9999 blocks, but would not exit the loop if it found a match, overriding its results in the process and therefore always failing to notice the already processed message.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes

@byte-bandit byte-bandit changed the title Clohr/pigeon gravity test fix: prevent log match from being swallowed Oct 19, 2023
@byte-bandit byte-bandit changed the title fix: prevent log match from being swallowed fix: prevent gravity batches being resubmitted indefinitely Oct 19, 2023
@taariq taariq merged commit 61afe44 into palomachain:master Oct 19, 2023
@taariq taariq deleted the clohr/pigeon-gravity-test branch October 19, 2023 13:13
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