Skip to content

Commit

Permalink
Defining ProtocolSpec equality
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Erdmanis committed Mar 25, 2024
1 parent e20face commit cd09031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ShuffleProofs"
uuid = "31a120cc-b3cb-4d07-bbdb-d498660ddfd8"
authors = ["Janis Erdmanis <[email protected]>"]
version = "0.3.0"
version = "0.3.1"

[deps]
CryptoGroups = "bc997328-bedd-407e-bcd3-5758e064a52d"
Expand Down
1 change: 1 addition & 0 deletions src/verifier.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ using Base: @kwdef
auxsid::String = "default"
end

Base.:(==)(x::ProtocolSpec{G}, y::ProtocolSpec{G}) where G <: Group = x.g == y.g && x.nr == y.nr && x.nv == y.nv && x.ne == y.ne && x.prghash == y.prghash && x.rohash == y.rohash && x.version == y.version && x.sid == y.sid && x.auxsid == y.auxsid

function marshal_s_Gq(g::PGroup)

Expand Down

2 comments on commit cd09031

@JanisErdmanis
Copy link
Member

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/103578

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.1 -m "<description of version>" cd0903159260bcbe1c7dda31596383763f9ec7da
git push origin v0.3.1

Please sign in to comment.