-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Feat/filter labeled addresses #16464
Conversation
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
9232a0c
to
0aa5162
Compare
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌4 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
Removes check that the addresses contains all the types and versions defined in a bundle. It is not required that the MCMS state contracts be non-nil. There is a Validate() method and the docstring states that nil values are possible.
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌6 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
6c63ae9
to
4cc29c1
Compare
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌6 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
4cc29c1
to
b607296
Compare
I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:
|
// EnsureDeduped ensures that each contract in the bundle only appears once | ||
// in the address map. It returns an error if there are more than one instance of a contract. | ||
// Returns true if every value in the bundle is found once, false otherwise. | ||
func EnsureDeduped(addrs map[string]TypeAndVersion, bundle []TypeAndVersion) (bool, error) { |
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.
nice!
0320343
|
PR #16148 added labels to contract addresses on deployment, but did not introduce filtering. This introduced a bug where certain changesets in
chainlink-deployments
that relied on the assumption of a single contract per chain for MCMS contracts inadvertently generated proposals with the wrong MCMS contract addresses.This PR fixes the issue by filtering contracts by labels when loading the address book in a backwards compatible way. If the passed label set is empty, then only un-labeled contracts are returned. If there are labels passed in the request, then only contracts that have all labels are returned.
Requires
Supports