0xPolygonZero / zk_evm

Apache License 2.0
85 stars 37 forks source link

Validate native tracers with reth #790

Closed temaniarpit27 closed 6 days ago

temaniarpit27 commented 1 week ago

Check if native tracers work with reth or not

temaniarpit27 commented 6 days ago

Error:

arpit.temani@Polygon-V0VXP5G0XK:~/Workspace/Polygon/zk_evm|arpit/704⚡ ⇒  RUST_LOG=debug OUTPUT_TO_TERMINAL=true ./scripts/prove_rpc.sh 1 1 http://localhost:8545/ native 0 3000 100 test_only
Block batch size: 8
Proving blocks from (1) to (1)
   Compiling zero v0.1.0 (/Users/arpit.temani/Workspace/Polygon/zk_evm/zero)
    Finished `release` profile [optimized] target(s) in 31.65s
     Running `target/release/leader --test-only --runtime in-memory --load-strategy on-demand --proof-output-dir /Users/arpit.temani/Workspace/Polygon/zk_evm/proofs --block-batch-size 8 rpc --rpc-type native --rpc-url 'http://localhost:8545/' --start-block 1 --end-block 1 --backoff 3000 --max-retries 100 --checkpoint-block 0`
2024-11-11T12:16:25.564682Z  INFO leader: Proving interval 1
process_block_trace
process_block_trace
process_transactions
process_transaction
fetch_tx_data
fetch_tx_data - 1
fetch_tx_data - 2
fetch_tx_data - 3
fetch_tx_data - 4
process_transaction - 1
process_transaction - 2
process_transaction - 3
process_block_trace
Error: Failed to get proof for account

Caused by:
    server returned an error response: error code -32602: distance to target block exceeds maximum proof window

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: <futures_util::future::try_maybe_done::TryMaybeDone<Fut> as core::future::future::Future>::poll
   2: <futures_util::future::maybe_done::MaybeDone<Fut> as core::future::future::Future>::poll
   3: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
   4: leader::main::{{closure}}
   5: tokio::runtime::park::CachedParkThread::block_on
   6: leader::main
   7: std::sys::backtrace::__rust_begin_short_backtrace
   8: std::rt::lang_start::{{closure}}
   9: std::rt::lang_start_internal
  10: _main
Proof witness generation finished with result: 1
temaniarpit27 commented 6 days ago

Closing this for now