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

Adding support for RMNRemote discovery #155

Merged
merged 15 commits into from
Sep 27, 2024
Merged

Adding support for RMNRemote discovery #155

merged 15 commits into from
Sep 27, 2024

Conversation

0xnogo
Copy link
Contributor

@0xnogo 0xnogo commented Sep 22, 2024

Get the RMNRemote address from the offramp contract in the dest chain using the discovery processor

@0xnogo 0xnogo marked this pull request as ready for review September 26, 2024 13:01
@0xnogo 0xnogo requested a review from a team as a code owner September 26, 2024 13:01
@0xnogo 0xnogo requested review from makramkd and winder September 26, 2024 13:01
internal/plugincommon/discovery/processor.go Show resolved Hide resolved
pkg/reader/ccip.go Outdated Show resolved Hide resolved
Copy link

Test Coverage

Branch Coverage
ng/discovery-rmnremote 73.8%
main 73.8%

@0xnogo 0xnogo requested a review from makramkd September 26, 2024 18:35
@@ -655,7 +658,7 @@ func (r *ccipChainReader) getOfframpStaticConfig(
//nolint:lll // It's a URL.
type offrampStaticChainConfig struct {
ChainSelector cciptypes.ChainSelector `json:"chainSelector"`
RmnProxy []byte `json:"rmnProxy"`
Rmn []byte `json:"rmn"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm tests seem to be failing after this change, maybe i was wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The RMNRemote contract is not defined in the dest chain reader defintion. This PR should fix it: smartcontractkit/chainlink#14588

@0xnogo 0xnogo enabled auto-merge (squash) September 27, 2024 11:13
Copy link

Metric ng/discovery-rmnremote main
Coverage 72.1% 72.1%

@0xnogo 0xnogo merged commit 0c91e44 into main Sep 27, 2024
3 of 4 checks passed
dimkouv added a commit that referenced this pull request Sep 27, 2024
@mateusz-sekara mateusz-sekara deleted the ng/discovery-rmnremote branch November 8, 2024 09:21
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.

2 participants