-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use espresso-dev-node in CI #17
Comments
I'm running: docker run --network=host -e ESPRESSO_SEQUENCER_L1_PROVIDER=http://localhost:8545/ -e ESPRESSO_SEQUENCER_API_PORT=1999 ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:main I got this error: thread 'main' panicked at /home/runner/actions-runner/_work/espresso-sequencer/espresso-sequencer/sequencer/src/api.rs:737:34:
called `Result::unwrap()` on an `Err` value: error returned from database: (code: 1) no such table: header Full log Is it ok to open an issue on the Espresso repo? |
I highly suggest using a tag, not
Did you create the espresso database? I suggest you look at https://github.com/cartesi/cli/blob/prerelease/v2-alpha/apps/cli/src/node/docker-compose-espresso.yaml |
The docker file has the postgres as a base image. In the logs we can see the migration running ok, but the code does not recognize the table. |
They advised using the main tag.... |
@tuler running this tag shows some errors in the logs: At least it's up |
|
I did not go deep on that error analysis.
Are services running on those ports? |
Hi @lynoferraz! |
@fabiooshiro Espresso told me that the version running on Decaf is |
I'm running 20241120-patch3 |
Now we are on the same page as @lynoferraz. Run Anvil: docker run --rm --name devnet -p 8545:8545 -d cartesi/rollups-node-devnet:devel Run Espresso dev node 20241120-patch5 docker run -d --network=host -e ESPRESSO_SEQUENCER_L1_PROVIDER=http://localhost:8545/ -e ESPRESSO_SEQUENCER_API_PORT=24000 --name espresso-dev-node ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:20241120-patch5 Wait for a while and then run: SELECT height, timestamp FROM hotshot.header ORDER BY height; Using docker: docker exec -i espresso-dev-node psql -U root -d root -t -c "SELECT height, timestamp FROM hotshot.header ORDER BY height;" Missing blocks 116... 469... 599... 625... 629... 633... ![]() |
@fabiooshiro was this closed by #29? |
CI currently uses the live Decaf testnet for integration tests. We should use a local environment using the espresso-dev-node.
The text was updated successfully, but these errors were encountered: