Skip to content

Add ISmartContractBlockHeader support to PosBlockHeader#461

Merged
quantumagi merged 9 commits intostratisproject:masterfrom
quantumagi:extposheaders
Mar 16, 2021
Merged

Add ISmartContractBlockHeader support to PosBlockHeader#461
quantumagi merged 9 commits intostratisproject:masterfrom
quantumagi:extposheaders

Conversation

@quantumagi
Copy link
Contributor

@quantumagi quantumagi commented Mar 13, 2021

This is a backwards compatible change that will not change the way PosBlockHeader is serialized unless the appropriate version bit is set to indicate that additional fields required by system contracts should be serialized. Serialization of ProvenBlockHeader , which derives from PosBlockHeader, is similarly affected by this change.

This PR is being split off from PR #450 to reduce the size of that PR.

@quantumagi quantumagi requested review from fassadlr and zeptin March 13, 2021 05:28
@quantumagi quantumagi requested a review from rowandh March 16, 2021 06:14
Copy link
Contributor

@fassadlr fassadlr left a comment

Choose a reason for hiding this comment

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

Looks good, just a few questions.

@fassadlr
Copy link
Contributor

Once CI passes you can merge :)

@quantumagi quantumagi merged commit a8d9e47 into stratisproject:master Mar 16, 2021
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.

2 participants