Skip to content
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

Index local chain #33

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Index local chain #33

wants to merge 1 commit into from

Conversation

toliaqat
Copy link
Contributor

I used the changes in this PR to index the local chain.

Steps:

  1. run the local chain
docker run -d -p 26657:26657 -p 1317:1317 -p 9090:9090 ghcr.io/agoric/agoric-3-proposals:main
  1. git fetch & git checkout tl-local-chain

  2. yarn codegen

  3. yarn build

  4. docker compose pull && docker compose up

  5. Query the index

{
  query {
    _metadata {
    	lastProcessedHeight 
    }
    stateChangeEvents(first: 5) {
      nodes {
        id
        path
        body
      }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant