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

support mcms in forwarder contract config changeset #15533

Merged
merged 8 commits into from
Dec 6, 2024

Conversation

krehermann
Copy link
Contributor

@krehermann krehermann commented Dec 5, 2024

Adds mcms support to forwarder contract configuration

Requires

Supports

// 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 {
Copy link
Contributor Author

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 {
Copy link
Contributor Author

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
Copy link
Contributor Author

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) {
Copy link
Contributor Author

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

@krehermann krehermann changed the title support mcms in ocr3 contract config changeset support mcms in forwarder contract config changeset Dec 5, 2024
@krehermann krehermann marked this pull request as ready for review December 5, 2024 20:34
@krehermann krehermann requested review from a team as code owners December 5, 2024 20:34
@krehermann krehermann enabled auto-merge December 6, 2024 17:10
@krehermann krehermann added this pull request to the merge queue Dec 6, 2024
Merged via the queue into develop with commit 4b738ab Dec 6, 2024
168 checks passed
@krehermann krehermann deleted the ks/refactor-forwarder-config branch December 6, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants