-
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
Replace NodesFromJD with NodeInfo #15256
Conversation
deployment/environment.go
Outdated
return nil, nil | ||
} | ||
// if nodeIDs starts with `p2p_` lookup by p2p_id instead | ||
filterByPeerIDs := strings.HasPrefix("p2p_", nodeIDs[0]) |
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.
A bit implicit, but JD node IDs start with node_
. p2p_
is a good indicator to filter by peer ID instead
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
448d463
to
dce776a
Compare
deployment/environment.go
Outdated
@@ -278,6 +312,7 @@ func NodeInfo(nodeIDs []string, oc NodeChainConfigsLister) (Nodes, error) { | |||
if err != nil { | |||
return nil, err | |||
} | |||
// TODO: this is evm specific, make it work with aptos |
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.
still need to address this
Flaky Test Detector for
|
Flaky Test Detector for
|
3dd311f
to
759c3c1
Compare
Flaky Test Detector for
|
759c3c1
to
3f915f4
Compare
I see you updated files related to
|
308aff7
to
ef1547b
Compare
ef1547b
to
9557e71
Compare
9557e71
to
d5fbc8c
Compare
d5fbc8c
to
26f5904
Compare
} | ||
|
||
func (d RegisteredDon) signers() []common.Address { | ||
func (d RegisteredDon) signers(chainFamily string) []common.Address { |
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.
would this be easier if passing the selector rather than the family? all the nodes have to have the registry chain enabled for the system to work so should be safe to pass the registry selector
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.
add a small test would give confidence of this func
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 was actually the bug: I used the registry selector but the write nodes didn't have the registry chain defined, so the lookup was failing
// accountAddress string | ||
// } | ||
|
||
func toNodeKeys(o *deployment.Node, registryChainSel uint64) NodeKeys { |
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.
add a small test?
52f12d2
to
c588ee2
Compare
c588ee2
to
772a589
Compare
fc2afb9
No description provided.