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

feat: added version in state sync #293

Merged
merged 2 commits into from
May 8, 2024
Merged

Conversation

ogabrielides
Copy link
Collaborator

@ogabrielides ogabrielides commented May 1, 2024

Issue being fixed or feature implemented

State sync wasn't versioned. This needs to be addressed as state sync protocol will probably be upgraded in the future.

What was done?

Added version field in all state sync APIs.
Now, only CURRENT_STATE_SYNC_VERSION (=1) is supported. Any other version will be rejected.

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@ogabrielides ogabrielides merged commit 60037b6 into develop May 8, 2024
7 checks passed
@ogabrielides ogabrielides deleted the feat/versioned-state-sync branch May 8, 2024 09:02
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.

None yet

2 participants