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

Spec Alignment: Decided Sync #734

Merged
merged 26 commits into from
Nov 14, 2022
Merged

Spec Alignment: Decided Sync #734

merged 26 commits into from
Nov 14, 2022

Conversation

amirylm
Copy link
Contributor

@amirylm amirylm commented Nov 3, 2022

Besides changes that were taken from ssvlabs/ssv-spec#94, the following changes are included:

  • decided message indexer was updated
  • sync message type adaptations (TODO remove sync type in the following PRs)
  • added retry for the sync procedure, to mitigate cases where sync fails (e.g. bad connectivity)

}
return msg, nil
err = c.GetConfig().GetStorage().SaveHighestDecided(msg)
return msg, errors.Wrap(err, "could not save highest decided")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

avoid returning error

@amirylm amirylm merged commit a25820a into spec-align-qbft Nov 14, 2022
@amirylm amirylm deleted the spec-align-qbft-sync branch November 27, 2022 14:34
liorrutenberg pushed a commit that referenced this pull request Feb 1, 2023
* ShifuV2 genesis epoch (#820) Epoch 156113
    * shifuv-v2 new network 156113 (#832)

* Align to spec to 0.2.9

* Passing spec tests

* Introduced protocol logger 

* Upgrade to key manager v1.2.0 (use goclient instead of prysm objects)

* Remove exporter leftovers (#722)

* Fix round state names (#727)

* Avoid delay on every check for peers (#732)

* Spec Alignment: Decided Sync (#734)

* Extract metadata from share, use spec share (#735)

* Move Share and Metadata into a new SSVShare struct

* Spec alignment: Change Round (#740)

* Patched changes from spec:
  * ssvlabs/ssv-spec#100
  * ssvlabs/ssv-spec#105
  * ssvlabs/ssv-spec#109

* Align instance container (#739)

* Deprecate v1 (#743)

* Local events (shares) (#745)

* Spec alignment: Validator Refactoring (#748)

* Add metrics for attestation submission and message processing durations (#736)

* Non committee validator post spec align (#751)

* Store highest instance instead of highest decided (#752)

* Deprecate ToMessageID Func (#757)

* CI: spec testing (#758)

* Constant round duration (#756)

* Deprecate SyncHighestRound

* Deprecate SSVDecidedMsgType

* Allow override min genesis time to support custom testnets

* Revised logging (#768)

* Protocol packages utils restructuring (#766)

* Pubsub: fix topics management (#773)

* Create a regular simulation (#772)

* Multi duties (#777)

* add graffiti to share + migration

* Upgrade go (1.19) and libp2p (v0.24) (#789)

* Event Based msg (#791)
   * Round timer as an event in the queue
   * Duty execution  as an event in the queue

* eth2client interface (#794)

* TimeoutF To Runner (#797)

* Streams Deadline (#792)

* Fee Recipient (#795)

* Round change & f+1 decided integration tests; validation functions (#793)

* Round change integration test

* F+1 decided integration test 

* Slashing protection (#805)

* Minimal slashing protection (#807)

* Node cli cleanup (#812)

* New Msg Q (#801)

* #761

* Full node (#785)

* Happy flow 7 and 10 committee + integration test stabilisation (#810)


---------

Co-authored-by: Lior Rutenberg <liorr@blox.io>
Co-authored-by: Amir Yahalom <amir@blox.io>
Co-authored-by: Nikita Kryuchkov <nkryuchkov10@gmail.com>
Co-authored-by: olegshmuelov <45327364+olegshmuelov@users.noreply.github.com>
Co-authored-by: moshe-blox <89339422+moshe-blox@users.noreply.github.com>
Co-authored-by: Yehor Sereda <yehor@blox.io>
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.

1 participant