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

stakeKey registration stake.skey witness not needed #4975

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented Mar 13, 2023

For merging #3744

@newhoggy newhoggy marked this pull request as ready for review March 13, 2023 08:39
@newhoggy newhoggy requested a review from a team as a code owner March 13, 2023 08:39
@newhoggy newhoggy force-pushed the gitmachtl/patch-4 branch from b4f862f to 8ab5e10 Compare March 13, 2023 08:54
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

Can we merge the commits? Also I'll approve after @olgahryniuk 's comment is addressed

@newhoggy newhoggy force-pushed the gitmachtl/patch-4 branch from 8ab5e10 to 0ff11f5 Compare March 17, 2023 06:57
Since the start of Shelley we sign a stakeKey registration also with the stake.skey. Turnes out, this is wrong and not needed at all. 😱

According to https://hydra.iohk.io/build/6752481/download/1/delegation_design_spec.pdf
Chapter 3.3: "We do not require a witness to register a stake address (besides, of course, any witnesses needed for the transaction that is used to post the certificate)."

So only the certificate is needed and the witness for the payment of course.

Add an explanation for why we only need 1 witness
@newhoggy newhoggy force-pushed the gitmachtl/patch-4 branch from 0ff11f5 to eb6148d Compare March 17, 2023 12:30
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

👍

@newhoggy newhoggy added this pull request to the merge queue Mar 17, 2023
@newhoggy newhoggy merged commit abe1f3a into master Mar 17, 2023
@iohk-bors iohk-bors bot deleted the gitmachtl/patch-4 branch March 17, 2023 23:37
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