-
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
Fix multiclient #15557
Fix multiclient #15557
Conversation
} | ||
mc.chainName = details.ChainName | ||
} | ||
id, err := client.ChainID(context.Background()) |
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.
since we're already Dialing, we can ask for the chain ID as well
if err == nil { | ||
details, err := chainselectors.GetChainDetailsByChainIDAndFamily(id.String(), chainselectors.FamilyEVM) | ||
if err == nil { | ||
return nil, err |
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.
this will always return nil, nil
// Expect defaults to be set if not provided. | ||
mc, err := NewMultiClient(lggr, []RPC{{WSURL: s.URL}}) | ||
require.NoError(t, err) | ||
require.NotNil(t, mc) |
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.
missing assertion from test
Fix a regression from #15535