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

bug: running rollkit start has errors and no blocks produced #529

Open
jcstein opened this issue Dec 5, 2024 · 0 comments
Open

bug: running rollkit start has errors and no blocks produced #529

jcstein opened this issue Dec 5, 2024 · 0 comments

Comments

@jcstein
Copy link
Member

jcstein commented Dec 5, 2024

While following the quickstart guide:

  1. install rollkit CLI
  2. run rollkit
rollkit version

rollkit version:  v0.14.1
rollkit git sha:  5a8693e

Results in a stream of these errors E[2024-12-05|13:38:06.635] error while publishing block module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"

rollkit start
Error intercepting command:  Reading rollkit.toml: no rollkit.toml found
I[2024-12-05|13:37:23.573] Found private validator                      module=main keyFile=/Users/js/.rollkit/config/priv_validator_key.json stateFile=/Users/js/.rollkit/data/priv_validator_state.json
I[2024-12-05|13:37:23.573] Found node key                               module=main path=/Users/js/.rollkit/config/node_key.json
I[2024-12-05|13:37:23.573] Found genesis file                           module=main path=/Users/js/.rollkit/config/genesis.json
I[2024-12-05|13:37:23.577] Starting mock DA server                      module=main address=http://localhost:26658
I[2024-12-05|13:37:23.577] Starting mock sequencer                      module=main address=localhost:50051 rollupID=test-rollup-43f88514
I[2024-12-05|13:37:23.577] service start                                module=proxy msg="Starting multiAppConn service" impl=multiAppConn
I[2024-12-05|13:37:23.578] service start                                module=abci-client connection=query msg="Starting localClient service" impl=localClient
I[2024-12-05|13:37:23.578] service start                                module=abci-client connection=snapshot msg="Starting localClient service" impl=localClient
I[2024-12-05|13:37:23.578] service start                                module=abci-client connection=mempool msg="Starting localClient service" impl=localClient
I[2024-12-05|13:37:23.578] service start                                module=abci-client connection=consensus msg="Starting localClient service" impl=localClient
I[2024-12-05|13:37:23.578] service start                                module=events msg="Starting EventBus service" impl=EventBus
I[2024-12-05|13:37:23.578] service start                                module=pubsub msg="Starting PubSub service" impl=PubSub
I[2024-12-05|13:37:23.593] Using default mempool ttl                    module=BlockManager MempoolTTL=25
I[2024-12-05|13:37:23.596] service start                                module=txindex msg="Starting IndexerService service" impl=IndexerService
I[2024-12-05|13:37:23.596] service start                                module=main msg="Starting RPC service" impl=RPC
I[2024-12-05|13:37:23.596] service start                                module=main msg="Starting Node service" impl=Node
I[2024-12-05|13:37:23.596] starting P2P client                          module=main 
I[2024-12-05|13:37:23.596] serving HTTP                                 module=main listenaddress=127.0.0.1:26657
I[2024-12-05|13:37:23.606] listening on                                 module=p2p address=/ip4/10.0.0.125/tcp/26656/p2p/12D3KooWJ9nDPWnLH4aoZYNp9jfsBBViJoMYRmBxzny1iWPuk44q
I[2024-12-05|13:37:23.606] listening on                                 module=p2p address=/ip4/127.0.0.1/tcp/26656/p2p/12D3KooWJ9nDPWnLH4aoZYNp9jfsBBViJoMYRmBxzny1iWPuk44q
I[2024-12-05|13:37:23.607] no seed nodes - only listening for connections module=p2p 
I[2024-12-05|13:37:23.609] working in aggregator mode                   module=main blocktime=1s
I[2024-12-05|13:37:23.609] Started node                                 module=main 
E[2024-12-05|13:37:23.609] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:24.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:25.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:26.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:27.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:28.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:29.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:30.610] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:31.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:32.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:33.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:34.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:35.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:36.611] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:37.612] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:38.610] error while submitting block to DA           module=BlockManager error="failed to load block header: datastore: key not found"
E[2024-12-05|13:37:38.612] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:39.612] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:40.613] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:41.613] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:42.614] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:43.614] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:44.615] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:45.616] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:46.616] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:47.617] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:48.618] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:49.618] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:50.620] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:51.621] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:52.622] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:53.609] error while submitting block to DA           module=BlockManager error="failed to load block header: datastore: key not found"
E[2024-12-05|13:37:53.622] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:54.623] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:55.624] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:56.626] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:57.627] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:58.628] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:37:59.629] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:00.630] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:01.631] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:02.631] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:03.632] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:04.633] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:05.634] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:06.635] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:07.636] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:08.609] error while submitting block to DA           module=BlockManager error="failed to load block header: datastore: key not found"
E[2024-12-05|13:38:08.638] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:09.640] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:10.639] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
E[2024-12-05|13:38:11.639] error while publishing block                 module=BlockManager error="error while loading last block: failed to load block header: datastore: key not found"
^CI[2024-12-05|13:38:11.674] signal trapped                               module=main msg="captured interrupt, exiting..."
I[2024-12-05|13:38:11.675] service stop                                 module=main msg="Stopping Node service" impl=Node
I[2024-12-05|13:38:11.675] halting full node...                         module=main 
I[2024-12-05|13:38:11.675] shutting down full node sub services...      module=main 
I[2024-12-05|13:38:11.677] service stop                                 module=txindex msg="Stopping IndexerService service" impl=IndexerService
E[2024-12-05|13:38:11.687] errors while stopping node:                  module=main errors="context canceled\ncontext canceled\ncontext canceled\ncontext canceled"

So I think this is not a rollkit issue, but a UX issue where the chain has not been initialized?

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

No branches or pull requests

1 participant