oasisprotocol / nexus

Official indexer for the Oasis Network.
Apache License 2.0
13 stars 4 forks source link

infra: Set up archive node #186

Open mitjat opened 1 year ago

mitjat commented 1 year ago

Give indexer access to oasis-2 (Cobalt) data by bringing up an oasis-2 node with all blocks, and including emerald.

@gw0 @amela do you have a config or even a node we can borrow from operators-health? Looking at our charts, we're using the same v22 (= loose name for consensus v6 = oasis-3) node.

Impact until we have this:

gw0 commented 1 year ago

Give indexer access to oasis-2 (Cobalt) data by bringing up an oasis-2 node with all blocks, and including emerald.

I guess you need gRPC access to a Mainnet v21.3 (Cobalt) archive node? Do you also need a Testnet v21.3 archive node?

Also, is this for staging or production oasis-indexer?

@gw0 @amela do you have a config or even a node we can borrow from operators-health? Looking at our charts, we're using the same v22 (= loose name for consensus v6 = oasis-3) node.

Because it was a one-time import, we just spinned up a temporary archive node to run all the importers of operators-health. We deleted it afterwards.

mitjat commented 1 year ago

We'll eventually need both mainnet and testnet, first in staging and then in prod. However, we don't have the code yet to handle Cobalt (or rather, the migration from Cobalt to Damask), nor do we have the Emerald analyzer fully implemented, so this ticket is currently blocked.

Continuing in https://app.clickup.com/t/3ua4c4z