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

Added comment that hashCode test values must not be changed #6647

Merged
merged 2 commits into from May 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -55,6 +55,10 @@ class ContractKeyTest {

// The first two columns form a ContractKey(id, 32-byte word) and the third column is the
// result of running ContractKey.hashCode() on that key using the v0.35.3 tag.
//
// Important! 🛑 ⛔ 🚫 ⚠ ✸ ☞ These values should never be changed! If this test fails in
// the future, it means the hashCode implementation was changed and these
// values should not be changed to make the test pass.
@CsvSource({
"5347959350198992124,cd53935a7e183dac3557134dfc73766479c520c7ffeace8723488bffa2da3fa2,-672529924",
"4793581390134811504,4a164095f80400a99cc906b97cda21a0ccbdcc68c30f25acfb3be365188ffa92,-117896145",
Expand Down