-
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
support mcms in forwarder contract config changeset #15533
Conversation
// Depreciated: use changeset.ConfigureOCR3Contract instead | ||
// ocr3 contract on the registry chain for the wf dons | ||
func ConfigureOCR3Contract(env *deployment.Environment, chainSel uint64, dons []RegisteredDon, addrBook deployment.AddressBook, cfg *OracleConfigWithSecrets) 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.
fix up old signature; addr book now in env
}, nil | ||
} | ||
|
||
// ConfigureForwardContracts configures the forwarder contracts on all chains for the given DONS | ||
// the address book is required to contain the an address of the deployed forwarder contract for every chain in the environment | ||
func ConfigureForwardContracts(env *deployment.Environment, dons []RegisteredDon, addrBook deployment.AddressBook) 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.
code mv'ed to forwarder_deployer
AddressBook: addrBook, | ||
}, | ||
DonInfos: donsResp.donInfos, | ||
Changeset: &deployment.ChangesetOutput{}, // no new addresses, proposals etc |
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.
fix up old bug; should only return new addresses
RegistryChainSel uint64 | ||
} | ||
|
||
func NewRegisteredDon(env deployment.Environment, cfg RegisteredDonConfig) (*RegisteredDon, 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.
so we can create the needed input to ConfigureForwarderContracts for a given env
Adds mcms support to forwarder contract configuration
Requires
Supports