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

prove isReg even for basictc #33

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kt/basictest.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func testBasic(servAddr, adtr0Addr, adtr1Addr uint64) {
bob := newClient(bobUid, servAddr, servSigPk, servVrfPk)
isReg, pk1, ep1, err7 := bob.Get(aliceUid)
primitive.Assume(!err7.err)
primitive.Assume(isReg)
// same epoch to avoid timeseries for basic TC.
primitive.Assume(ep0 == ep1)

Expand All @@ -61,5 +60,6 @@ func testBasic(servAddr, adtr0Addr, adtr1Addr uint64) {
primitive.Assume(!err11.err)

// assert keys equal.
primitive.Assert(isReg)
primitive.Assert(std.BytesEqual(pk0, pk1))
}