-
Notifications
You must be signed in to change notification settings - Fork 95
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
exporter: decideds endpoint; fix signers; fix resolving role; cache domain; fix convert #1766
Conversation
networkconfig/holesky-stage.go
Outdated
@@ -16,7 +16,7 @@ var HoleskyStage = NetworkConfig{ | |||
GenesisEpoch: 1, | |||
RegistrySyncOffset: new(big.Int).SetInt64(84599), | |||
RegistryContractAddr: "0x0d33801785340072C452b994496B19f196b7eE15", | |||
AlanForkEpoch: 99999999, | |||
//AlanForkEpoch: 99999999, |
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.
lets not merge this
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.
reverted
networkconfig/holesky-stage.go
Outdated
@@ -16,8 +16,8 @@ var HoleskyStage = NetworkConfig{ | |||
GenesisEpoch: 1, | |||
RegistrySyncOffset: new(big.Int).SetInt64(84599), | |||
RegistryContractAddr: "0x0d33801785340072C452b994496B19f196b7eE15", | |||
AlanForkEpoch: 999999999, | |||
DiscoveryProtocolID: [6]byte{'s', 's', 'v', 'd', 'v', '5'}, | |||
//AlanForkEpoch: 999999999, |
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.
should not be in this PR even though stage is going to be post-fork from now..
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.
should not be in this PR even though stage is going to be post-fork from now..
yes, should be reverted once argo sensor is deleted
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.
next time just please create a separate deploy
branch to keep the main PR clean.
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.
reverted
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.
Requesting changes not to forget to revert AlanForkEpoch once it's tested
|
||
type DomainCache struct { | ||
beaconNode beacon.BeaconNode | ||
cache *ttlcache.Cache[domainCacheKey, phase0.Domain] |
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.
seems to be threadsafe from looking at the code
"github.com/ssvlabs/ssv/protocol/v2/blockchain/beacon" | ||
) | ||
|
||
type DomainCache struct { |
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.
nice addition, we should probably use this in the actual runners and not just exporter! of course in a different PR.
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.
@olegshmuelov @nkryuchkov
Good job on figuring out all the quirks here! this is a big transition in exporter.
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.
LGTM
well done @olegshmuelov @nkryuchkov @y0sher 💪
let's not forget to let @andrew-blox know that this should be QA'd before release (this will probably go in v2.0.2 after the fork, except for private early release to exporter operators)
Changes to Exporter:
GET /v1/exporter/decideds
)X-SSV-Node-Version
headerconvert
package