Skip to content

Conversation

@lazynina
Copy link
Member

No description provided.

Copy link
Member Author

lazynina commented Apr 25, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on Graphite Graphite

@lazynina lazynina force-pushed the snapshot-validator-entries-and-block-signers branch from 144e8fa to 7ae0a61 Compare April 26, 2024 17:28
@lazynina lazynina changed the title Snapshot validator entries and block signers + associated views Snapshot validator entries and block signers Apr 26, 2024
@lazynina lazynina requested a review from tholonious April 26, 2024 17:35
@lazynina lazynina force-pushed the snapshot-validator-entries-and-block-signers branch from 7ae0a61 to 3154c4d Compare April 26, 2024 18:03
blockHashHex := hex.EncodeToString(blockHash[:])
qc := block.Header.GetQC()
blockSigners := []*PGBlockSigner{}
if !isInterfaceNil(qc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this safe? Please make this this works for a PoW block where the header has neither a QC nor an aggregate QC

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah this is safe. the isInterfaceNil check returns true for pow blocks.

Copy link
Member Author

lazynina commented Apr 29, 2024

Merge activity

  • Apr 29, 1:06 PM EDT: @lazynina started a stack merge that includes this pull request via Graphite.
  • Apr 29, 1:07 PM EDT: @lazynina merged this pull request with Graphite.

@lazynina lazynina merged commit 433bd0a into feature/proof-of-stake Apr 29, 2024
@lazynina lazynina deleted the snapshot-validator-entries-and-block-signers branch April 29, 2024 17:07
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