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

Block/header data structures #5

Open
3 tasks
asmie opened this issue Jul 22, 2024 · 3 comments
Open
3 tasks

Block/header data structures #5

asmie opened this issue Jul 22, 2024 · 3 comments
Assignees

Comments

@asmie
Copy link
Member

asmie commented Jul 22, 2024

This task consists of the following steps:

  • header data structures (according to chapter 5 of GP)
  • block data structures
  • serialization of the above (using Data items serialization #6 )

Header data structures are listed in Chapter 5 and then described in the next chapters.
Block data fields are described in the 4.1 sub-chapter and then described in the next chapters of Gray Paper, like, tickets in 6.7, verdicts in 10.2, availability in 11.2.1, reports 11.4, preimages in 12.1.

Some common types should be set-up to be used repo-wide: epochs, time, tickets etc.

@danielvladco
Copy link
Member

Bandersnatch data types:
Signature -> https://github.com/paritytech/polkadot-sdk/blob/master/substrate/primitives/core/src/bandersnatch.rs#L68

  • needed for vrf signature and the block seal

Block Author Key -> https://github.com/paritytech/polkadot-sdk/blob/master/substrate/primitives/core/src/bandersnatch.rs#L79

  • (Not sure if this is the correct key type yet)

@asmie asmie mentioned this issue Jul 25, 2024
11 tasks
@asmie
Copy link
Member Author

asmie commented Jul 25, 2024

Header structures moved to a separate task: #15

@asmie asmie mentioned this issue Jul 25, 2024
6 tasks
@asmie
Copy link
Member Author

asmie commented Jul 25, 2024

Block data structures moved to a separate task: #17

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

No branches or pull requests

3 participants