Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

monotonicity: prevent race condition#305

Merged
tynes merged 3 commits intomasterfrom
fix/monotonicity-violation
Apr 9, 2021
Merged

monotonicity: prevent race condition#305
tynes merged 3 commits intomasterfrom
fix/monotonicity-violation

Conversation

@tynes
Copy link
Copy Markdown
Collaborator

@tynes tynes commented Apr 8, 2021

Description

Adds a fix for the race condition that would allow for a monotonicity violation. This is important to maintain liveliness while keeping the verifier and sequencer state in sync

Contributing Agreement

@tynes tynes requested a review from smartcontracts as a code owner April 8, 2021 00:30
Comment thread miner/worker.go
karlfloersch
karlfloersch approved these changes Apr 9, 2021
Copy link
Copy Markdown
Contributor

@karlfloersch karlfloersch left a comment

Choose a reason for hiding this comment

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

Update monotonicity error handling pls

Comment thread miner/worker.go
@tynes tynes merged commit a1dbd1f into master Apr 9, 2021
@tynes tynes deleted the fix/monotonicity-violation branch April 9, 2021 04:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants