Skip to content

Last execution results nonce and hash on block#366

Merged
miiu96 merged 2 commits intofeat/supernova-async-execfrom
last-execution-nonce-and-hash-on-block
Feb 3, 2026
Merged

Last execution results nonce and hash on block#366
miiu96 merged 2 commits intofeat/supernova-async-execfrom
last-execution-nonce-and-hash-on-block

Conversation

@miiu96
Copy link
Copy Markdown
Contributor

@miiu96 miiu96 commented Feb 3, 2026

  • Added last execution result nonce and hash fields on the block structure
  • Refactored places where *block.Metablock was used

@miiu96 miiu96 self-assigned this Feb 3, 2026
epochStartShardsData := metaHeader.GetEpochStartHandler().GetLastFinalizedHeaderHandlers()
block.EpochStartShardsData = make([]*data.EpochStartShardData, 0, len(metaHeader.GetEpochStartHandler().GetLastFinalizedHeaderHandlers()))
for _, epochStartShardDataHandler := range epochStartShardsData {
epochStartShardData, isOk := epochStartShardDataHandler.(*nodeBlock.EpochStartShardData)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Was this cast really necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed this cast and used the interface

sstanculeanu
sstanculeanu previously approved these changes Feb 3, 2026
@miiu96 miiu96 merged commit d7cf5d5 into feat/supernova-async-exec Feb 3, 2026
8 checks passed
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.

3 participants