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

Create codec for UpgradeConfig #758

Open
nytzuga opened this issue Jul 26, 2023 · 0 comments
Open

Create codec for UpgradeConfig #758

nytzuga opened this issue Jul 26, 2023 · 0 comments

Comments

@nytzuga
Copy link
Contributor

nytzuga commented Jul 26, 2023

Goal

Create a new codec to serialize all UpgradeConfig. This will be later used to hash and exchange in the network handshake.

This is a prerequisite to solve #268

Implementation idea

Implement a codec each type that is inside the UpdateConfig struct, the goal is to serialize the state into a deterministic vector of bytes.

The serialization must to be deterministic, otherwise when hashing the update config may not match.

The ultimate goal is to serialize and exchange it at handshake when connecting to a new node. This will be part of another ticket. The scope of this ticket is to serialize in a deterministic vector of bytes and to hash it.

@nytzuga nytzuga added the enhancement New feature or request label Jul 26, 2023
@github-project-automation github-project-automation bot moved this to Backlog 🗄 in EVM Jul 26, 2023
@nytzuga nytzuga self-assigned this Jul 26, 2023
@aaronbuchwald aaronbuchwald moved this from Backlog 🗄 to In Review 👀 in EVM Jul 29, 2023
@aaronbuchwald aaronbuchwald added this to the [email protected] milestone Aug 30, 2023
@aaronbuchwald aaronbuchwald modified the milestones: v0.5.6, v0.5.7 Sep 19, 2023
@nytzuga nytzuga moved this from Backlog 🗄️ to In Progress 🏗 in Platform Engineering Group Nov 14, 2023
@ceyonur ceyonur assigned ceyonur and unassigned nytzuga Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: In Review 👀
Development

No branches or pull requests

3 participants