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

Construct the initial stake snapshot only using addresses that can have stake #2046

Merged
merged 1 commit into from May 7, 2020

Conversation

intricate
Copy link
Contributor

@intricate intricate commented May 7, 2020

Prior to this change, an error would be thrown when attempting to allocate funds in the genesis UTxO for Shelley addresses with StakeRefNull stake credential references. We would also improperly filter the kinds of addresses that can have stake when constructing the initial stake distribution snapshot. For example, we were mistakenly including Byron bootstrap addresses in the initial stake distribution snapshot.

@intricate intricate added the consensus issues related to ouroboros-consensus label May 7, 2020
@intricate intricate self-assigned this May 7, 2020
@intricate intricate marked this pull request as ready for review May 7, 2020 20:52
@intricate intricate requested review from nc6 and dcoutts May 7, 2020 20:52
@intricate intricate force-pushed the intricate/stake-distr-filter-addrs branch from 938aa2d to 22fb394 Compare May 7, 2020 21:50
@intricate intricate force-pushed the intricate/stake-distr-filter-addrs branch from 22fb394 to 3deedd7 Compare May 7, 2020 22:20
@intricate intricate requested a review from dcoutts May 7, 2020 22:20
@intricate intricate force-pushed the intricate/stake-distr-filter-addrs branch from 3deedd7 to 8205f94 Compare May 7, 2020 22:21
Copy link
Contributor

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

LGTM

@dcoutts
Copy link
Contributor

dcoutts commented May 7, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 7, 2020

@iohk-bors iohk-bors bot merged commit 776d76c into master May 7, 2020
@iohk-bors iohk-bors bot deleted the intricate/stake-distr-filter-addrs branch May 7, 2020 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus issues related to ouroboros-consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants