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

Formal Spec Syncing from Audit Issues #1861

Merged
merged 6 commits into from
Sep 16, 2020
Merged

Conversation

JaredCorduan
Copy link
Contributor

This PR addresses some small inconsistencies between the formal spec and the implementation.

closes #1776
closes #1808
closes #1811
closes #1820

Copy link
Contributor

@nc6 nc6 left a comment

Choose a reason for hiding this comment

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

Approved, but a couple of suggested changes.

@@ -1240,40 +1241,52 @@ \subsection{Verifiable Random Function}

\begin{figure}
\emph{VRF helper function}
\begin{align*}
& \fun{poolIDfromBHBody} \in \BHBody \to \KeyHash_{pool} \\
Copy link
Contributor

Choose a reason for hiding this comment

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

The nomenclature is maybe a bit confusing here, since the issuer is not necessarily a pool. So I would go with issuerID or similar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that's a good point, thank you! I would like to keep the name the same between the formal spec and the code, and I know that poolIDfromBHBody is being used already downstream (db sync uses it), but I can just give folks a heads up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've deprecated poolIDfromBHBody and made an identical issuerIDfromBHBody.

Jared Corduan and others added 2 commits September 16, 2020 08:12
@JaredCorduan JaredCorduan merged commit e9e3123 into master Sep 16, 2020
@iohk-bors iohk-bors bot deleted the jc/audit-changes-2020-09-15 branch September 16, 2020 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants