Read the list of registered coordinators from Ethreum in order to obtain the URL and find the public key of the coordinator (by fetching the tx that originated the event)
Generate the libp2p ID from the public key of the coordinators
How to test?
The added tests have to be run as explained in eth/README.md, better tests will be included when facing #1029 however I've run it against mainnet and goerli, and looks like all the coordinators addresses are generated properly
Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
Closes #1026 Closes #1021
What does this PR does?
How to test?
The added tests have to be run as explained in
eth/README.md
, better tests will be included when facing #1029 however I've run it against mainnet and goerli, and looks like all the coordinators addresses are generated properlyChecklist
These are the criteria that every PR should meet, please check them off as you review them: