-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
BCF-2901 Fix potential JAID collisions in multi chain env #11821
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
26fde61
to
6d70c8e
Compare
6d70c8e
to
224e9f7
Compare
224e9f7
to
d8933be
Compare
d8933be
to
2f644d3
Compare
496962e
to
d5c70e7
Compare
This fixes some rest api responses getting omitted when the JAID was same across multiple chains
d5c70e7
to
729defc
Compare
# Conflicts: # integration-tests/actions/vrf/vrfv2plus/vrfv2plus_steps.go # integration-tests/actions/vrfv2_actions/vrfv2_steps.go
core/internal/cltest/cltest.go
Outdated
func FormatWithPrefixedChainID(id, chainID string) string { | ||
return fmt.Sprintf("%s/%s", chainID, id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of hard to read, and the opposite order could be surprising.
WDYT about inlining these cases? I think it will be less characters than this func name, and you can drop some explicit .String()
calls too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flipped the params, but not sure about inline. I feel like this stands out more and is less likely to make someone scratch their head if some test results needs to be prefixed. Although this is very simple so may not be an issue idk
Quality Gate passedIssues Measures |
This fixes some rest api responses getting omitted when the JAID was same across multiple chains