-
Notifications
You must be signed in to change notification settings - Fork 138
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
Integrate Epoch Block Oracle #479
Conversation
5f9af3f
to
61f0148
Compare
c2a45eb
to
728d4a0
Compare
728d4a0
to
27b749e
Compare
packages/indexer-common/src/indexer-management/resolvers/allocations.ts
Outdated
Show resolved
Hide resolved
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, considering the Epoch Subgraph scope.
I would say that removing rinkeby
as an indexed chaing is the only required change on that matter.
9b4ebc1
to
30849bc
Compare
fd5b3a9
to
212ab95
Compare
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.
Getting close!
f01a133
to
5994add
Compare
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 👍
5994add
to
dd2b863
Compare
In preparation for the Epoch Block Oracle (EBO) to be the source of true latest valid epochs and latest valid epoch start blocks in the multi-chain world, This PR integrates the EBO subgraph such that
indexer-agent,common,service
can resolve POIs for subgraph deployments on different networks.Usage
indexer-agent
startup param endpoint--block-oracle-endpoint
Updates/Notes
NetworkAliases
for Ethereum mainnet, goerli, and gnosis chain. (Remove once aliasing happens on the EBO subgraph or the graph node.-- This replaces the previous process: query the network epochManager contract for the current epoch start block, then query the indexer agent's eth client for the block hash.
currentEpochs
and othergetBlock(...).hash
calls later on