Skip to content

Conversation

@brianolson
Copy link
Contributor

Summary

.Register() complains only if the primary record fails
opportunistic cache cleanup is best-effort

Test Plan

Passes existing tests.

@brianolson brianolson requested a review from winder October 18, 2021 18:43
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

Looks good just one request

}

// Duplicate creates a copy of the current object. This is required once secrets are stored.
func (r ParticipationRecord) Duplicate() ParticipationRecord {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you keep this? I'm going to need it soon.

Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

Actually, could you add a test? I think it should straight forward, just send an event with an optional key that doesn't exist.

@winder winder marked this pull request as ready for review October 21, 2021 17:45
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

This just needs a test, I have one prepared and will add it in another PR.

@winder winder merged commit 5434456 into algorand:feature/partkey Oct 21, 2021
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.

2 participants