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 data poster creating nonce gap [NIT-2459] #2261

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

PlasmaPower
Copy link
Collaborator

This is a follow-up to #2234

Even though the first tx switching types wasn't sent, the next tx still was, which still created a nonce gap. This PR fixes that by requiring the previous tx either be marked as sent or included in a reorg resistant block before sending the next tx.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Apr 28, 2024
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@Tristan-Wilson Tristan-Wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTam

@PlasmaPower PlasmaPower merged commit 82988d5 into master Apr 28, 2024
8 checks passed
@PlasmaPower PlasmaPower deleted the data-poster-nonce-gap branch April 28, 2024 20:46
@CASABECI
Copy link

This is a follow-up to #2234

Even though the first tx switching types wasn't sent, the next tx still was, which still created a nonce gap. This PR fixes that by requiring the previous tx either be marked as sent or included in a reorg resistant block before sending the next tx.

Copy link

@CASABECI CASABECI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants