-
Notifications
You must be signed in to change notification settings - Fork 72
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
Feat/lit 1815 pull dynamic node urls #272
Conversation
…instead of throwing
…e-client-nodejs package
…st arrayify utf-16 strings
* it all works, yay * gen contracts * fix up tests * remove unused thing * add checkNodeAttestation boolean config option * better attestation * remove custom code to test on internaldev * check ip and port against report * check ip and port against attestation report * remove unused params * moving to get certs in js * i built stuff * it works * fully working in nodejs and also browser * fix valid cert test * sync package version * push readme changes * add back attestation checking from bad merge * add default for cayenne for attestation check * add explicit attestation check disable in e2e tests * fmt --------- Co-authored-by: Josh Long <josh@litprotocol.com>
|
…-1815-pull-dynamic-node-urls
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 looks good to me! will try to get manzano up to test with, too
…-1815-pull-dynamic-node-urls
Usage
yarn gen:internal-dev
To review
Scripts
Output
Integrations
Additionally
Test
yarn build
yarn test:e2e:node --filter=test-connection-internal-dev
Implementations
Implementation for calculating the
validator set
which takes the current active set and removes kicked validatorsWe calc the
threshold
orminNodeCount
with the implementation below:After connection we listen to
StateChanged
events on theStaking
contract to reload network urls / threshold