-
Notifications
You must be signed in to change notification settings - Fork 3
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
Don't observe destChain fee #392
Conversation
asoliman92
commented
Dec 19, 2024
•
edited
Loading
edited
- Don't observe destChain fee
- Fix test setup
… returned set will affect the original set
@@ -87,7 +87,7 @@ func (c ccipChainSupport) SupportedChains(oracleID commontypes.OracleID) (mapset | |||
return mapset.NewSet[cciptypes.ChainSelector](), fmt.Errorf("error getting supported chains: %w", err) | |||
} | |||
|
|||
return supportedChains, nil | |||
return supportedChains.Clone(), nil |
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.
Return a clone from supported chains. Otherwise any operations on the returned set will affect the original set
@@ -438,11 +438,11 @@ func TestPlugin_E2E_AllNodesAgree_ChainFee(t *testing.T) { | |||
nodes := make([]ocr3types.ReportingPlugin[[]byte], len(oracleIDs)) |
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.
changing the tests to simulate real results as we shouldn't expect fees for the destChain itself.
|