-
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
refactor update & append capabilities #15563
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
require.NoError(t, err) | ||
require.Len(t, csOut.Proposals, 1) | ||
require.Len(t, csOut.Proposals[0].Transactions, 1) | ||
require.Len(t, csOut.Proposals[0].Transactions[0].Batch, 2) // add capabilities, update nodes |
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.
ty for this comment
@@ -425,30 +425,19 @@ type RegisteredCapability struct { | |||
ID [32]byte | |||
} | |||
|
|||
func FromCapabilitiesRegistryCapability(cap *kcr.CapabilitiesRegistryCapability, e deployment.Environment, registryChainSelector uint64) (*RegisteredCapability, 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.
No other consumers?
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.
thanks. yes there are. i didn't mean to delete this
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.
LGTM
02aba69
to
dbedc94
Compare
proposerMCMSes, | ||
[]timelock.BatchChainOperation{*r.Ops}, | ||
"proposal to set update node capabilities", | ||
0, |
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.
probably worth parameterizing this just in case you want to add timelock delay in the future. @carte7000 had a good idea here https://github.com/smartcontractkit/chainlink/pull/15525/files#diff-f6eeb14804b5d16769abc3f48ad18187965263d5e5d29345e4079e85199de731R38 to use an MCMS struct being nil/not-nil as a way to signal that but also keep the door open for any other MCMS specific params
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.
ack, will address in followup; have one more in the stack to merge
@@ -0,0 +1,129 @@ | |||
package changeset_test |
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.
typo in file name
f975632
to
4e368e6
Compare
KS-610
mcms refactoring for update and append capabilities to nodes. these changeset are compound - they write new capabilities and set the nodes. this requires some new layering to support MCMS
Requires
Supports