taikoxyz / raiko

Multi-proofs for Taiko. SNARKS, STARKS and Trusted Execution Enclave. Our previous ZK-EVM circuits are deprecated.
Apache License 2.0
110 stars 85 forks source link

raiko panicked #158

Closed boblekov closed 4 months ago

boblekov commented 4 months ago

Describe the bug

Good afternoon. Can you tell me how to fix or eliminate this error? The error does not occur often, perhaps once a day on one block. It is solved by restarting raiko. image image1

Steps to reproduce

Steps to reproduce here.

Spam policy

zzlnc4 commented 4 months ago

I had the same errors on raiko logs and it appears only when the Prover node is getting out of sync, not 100% sure. I restarted both prover and raiko docker processes/containers and it went away and immediately I am able to submit block proof within 1 minute

liukun commented 4 months ago

taiko_client_prover_relayer send l2 RPC address to Raiko as http://l2_execution_engine:8545/ or other address you config, but since taiko_client_prover_relayer and Raiko may not under the same network, Raiko may not connect to this address. You can set them to use shared docker network, or use specify IP in Raiko's docker-compose.yml like

    extra_hosts:
      - "l2_execution_engine:192.168.1.100"

But this way, you cannot change port :8545, you need to ensure that port open.

davidtaikocha commented 4 months ago

taiko_client_prover_relayer send l2 RPC address to Raiko as http://l2_execution_engine:8545/ or other address you config, but since taiko_client_prover_relayer and Raiko may not under the same network, Raiko may not connect to this address. You can set them to use shared docker network, or use specify IP in Raiko's docker-compose.yml like

    extra_hosts:
      - "l2_execution_engine:192.168.1.100"

But this way, you cannot change port :8545, you need to ensure that port open.

This is the reason.