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

Event Refactor #9467

Open
36 of 51 tasks
edward-swirldslabs opened this issue Oct 25, 2023 · 0 comments
Open
36 of 51 tasks

Event Refactor #9467

edward-swirldslabs opened this issue Oct 25, 2023 · 0 comments
Assignees
Labels
Epic A body of work that can be broken down into specific tasks.

Comments

@edward-swirldslabs
Copy link
Contributor

edward-swirldslabs commented Oct 25, 2023

Notes:

  • the target event structure is documented here
  • events cross upgrade boundaries, so while making changes we will need to be able to deserialize previous version events as well as being able to serialize them to the exact same bytes (this is needed to validate the hash of the event)
  • a good way to manage this migration is to have separate fields for protobuf objects
  • once the refactor is done, a SelfSerializable will wrap a protobuf event to support migration. once the migration is complete, we can remove that wrapper
  • as far as we know, no one is consuming the consensus event stream, so making changes to it is not a problem
  • due to current challenges, all protobuf definitions will be in the same module, platform and services

End goals:

  • Apps consume all required protobuf records (payloads, core data, signature)
  • Gossip (& PCES) protobuf events
  • Double hash payloads when hashing an event
  • Cleanup internal event structure

Discussion and planning

Preparation

  1. lpetrovic05
  2. lpetrovic05
  3. lpetrovic05

Event

  1. alittley
  2. lpetrovic05
  3. lpetrovic05
  4. lpetrovic05
  5. lpetrovic05
  6. lpetrovic05
  7. lpetrovic05
  8. lpetrovic05
  9. lpetrovic05
  10. lpetrovic05
  11. lpetrovic05
  12. lpetrovic05

Misc tasks

  1. Feature Enhancement Tech Debt Reduced
    cody-littley edward-swirldslabs
    lbaird lpetrovic05 poulok
  2. 5 of 5
    Epic
    cody-littley
  3. alittley
  4. alittley
  5. alittley
@edward-swirldslabs edward-swirldslabs added the Epic A body of work that can be broken down into specific tasks. label Oct 25, 2023
@edward-swirldslabs edward-swirldslabs self-assigned this Oct 25, 2023
@alittley alittley removed their assignment May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic A body of work that can be broken down into specific tasks.
Projects
None yet
Development

No branches or pull requests

3 participants