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

Extend block structure #354

Merged
merged 6 commits into from
Feb 21, 2025
Merged

Conversation

miiu96
Copy link
Contributor

@miiu96 miiu96 commented Feb 17, 2025

  • Added extra field in API block structure ( information about previous header proof )

sstanculeanu
sstanculeanu previously approved these changes Feb 18, 2025
ssd04
ssd04 previously approved these changes Feb 18, 2025
@miiu96 miiu96 dismissed stale reviews from ssd04 and sstanculeanu via a36ccef February 18, 2025 10:08
AdoAdoAdo
AdoAdoAdo previously approved these changes Feb 20, 2025
@@ -38,6 +38,20 @@ type Block struct {
EpochStartInfo *EpochStartInfo `json:"epochStartInfo,omitempty"`
EpochStartShardsData []*EpochStartShardData `json:"epochStartShardsData,omitempty"`
ScheduledData *ScheduledData `json:"scheduledData,omitempty"`
PreviousHeaderProof *HeaderProof `json:"previousHeaderProof,omitempty"`
Proof *HeaderProof `json:"proof,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

how current proof will be used? when it will be set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The current proof will be set on the indexer block

@miiu96 miiu96 merged commit 85f0672 into feat/header-proof Feb 21, 2025
2 checks passed
@miiu96 miiu96 deleted the extend-block-structure-proof-fields branch February 21, 2025 11:06
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.

4 participants