near / local

4 stars 0 forks source link

Testing getting an account with the `contract-helper-app` throws a DB error #7

Open mieubrisse opened 3 years ago

mieubrisse commented 3 years ago

After launching the Compose file, if I run http://localhost:3000/publicKey/ed25519:EKveJ28ocxfHXQEfH42AowPL7HgXHkKp3kmMoSXNjiRF/accounts as recommended by https://github.com/near/near-contract-helper , I'd expect a "no such key exists" but instead get:

error: relation "access_keys" does not exist

which seems like a DB error. My best guess as to why this is happening is that this Compose used to work at one time, but because the image tag wasn't pinned it's now pulling the latest versions which are different (e.g. maybe the contract-helper-db image would need to be updated with the new schema).

mieubrisse commented 3 years ago

Root cause seems to be https://github.com/near/near-contract-helper/issues/483

frol commented 3 years ago

@mieubrisse Sorry for the delay. We don't have the capacity to properly maintain this repo, but if you can take a closer look here, we can support you!

@mhalambek Have you completed the initial setup? Did it work for you at some point? I believe Indexer for Explorer still has the PR related to local execution not merged: https://github.com/near/near-indexer-for-explorer/pull/73

mhalambek commented 3 years ago

It was working at some point, it's missing latest images and some tests to verify all containers work.