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

Reject stale application messages #3438

Merged
merged 4 commits into from
Aug 17, 2023
Merged

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Jul 17, 2023

An application message is considered stale if its epoch is 2 or more epochs behind the current epoch. This PR makes it so that stale application messages are rejected. Note that proposal message are still stale as soon as their epoch is older than the current one.

https://wearezeta.atlassian.net/browse/WPB-505

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 17, 2023
@pcapriotti pcapriotti marked this pull request as ready for review July 17, 2023 07:59
@rohan-wire rohan-wire changed the title Reject stale application messages Reject stale application messages [WPB-505] Jul 31, 2023
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-stale-app-messages branch from 0d395bb to dc4e769 Compare August 1, 2023 08:06
@pcapriotti pcapriotti changed the title Reject stale application messages [WPB-505] Reject stale application messages Aug 1, 2023
@stefanwire stefanwire merged commit 5e2abc9 into mls Aug 17, 2023
2 checks passed
@stefanwire stefanwire deleted the pcapriotti/mls-stale-app-messages branch August 17, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants