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

Rename event id to event hash #1144

Merged
merged 4 commits into from
Jul 1, 2019
Merged

Rename event id to event hash #1144

merged 4 commits into from
Jul 1, 2019

Conversation

krhubert
Copy link
Contributor

@krhubert krhubert commented Jul 1, 2019

close #1142

hash/hash_test.go Outdated Show resolved Hide resolved
@@ -58,6 +59,21 @@ func Int(h int) Hash {
return hash
}

// Random returns a new random hash.
func Random() (Hash, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Should use this function is way more test ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Int is fine :P

execution/execution.go Outdated Show resolved Hide resolved
Copy link
Member

@NicolasMahe NicolasMahe left a comment

Choose a reason for hiding this comment

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

typos!!!

Co-Authored-By: Nicolas Mahé <nicolas@mesg.com>
seen[hash.String()] = true
return true
}
require.NoError(t, quick.Check(f, nil))
Copy link
Member

Choose a reason for hiding this comment

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

didn't know about this quick method 👍

@antho1404 antho1404 merged commit 66021ed into dev Jul 1, 2019
@antho1404 antho1404 deleted the fix/event-id branch July 1, 2019 15:31
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.

Rename eventId to eventHash in Execution
3 participants