Open
Description
TODOs:
- Run EVM in riscv/tests/riscv.rs. Latest attempt did not work with error in
riscv_executor::execute_ast
in main branch:
thread 'test_evm' panicked at /home/phoebe/projects/powdr/riscv_executor/src/lib.rs:757:66:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: rust_begin_unwind
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/panicking.rs:72:14
2: core::panicking::panic_bounds_check
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/panicking.rs:208:5
3: <usize as core::slice::index::SliceIndex<[T]>>::index
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/slice/index.rs:255:10
4: core::slice::index::<impl core::ops::index::Index<I> for [T]>::index
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/slice/index.rs:18:9
5: <alloc::vec::Vec<T,A> as core::ops::index::Index<I>>::index
at /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/alloc/src/vec/mod.rs:2770:9
6: riscv_executor::Executor<F>::eval_expression
at /home/phoebe/projects/powdr/riscv_executor/src/lib.rs:757:66
7: riscv_executor::execute_ast
at /home/phoebe/projects/powdr/riscv_executor/src/lib.rs:820:31
8: riscv::common::verify_riscv_asm_string
at ./tests/common/mod.rs:17:5
9: riscv::verify_riscv_crate
at ./tests/riscv.rs:232:5
10: riscv::test_evm
at ./tests/riscv.rs:22:5
11: riscv::test_evm::{{closure}}
at ./tests/riscv.rs:20:14
- Port
TaikoBlockBuilder
to integration test with mock input data: https://github.com/CeciliaZ030/zeth/blob/8551ed4cf23f02b5d220d41389b423e88324a224/raiko-guest-powdr/src/one_shot.rs#L98 - Figure out how to compact Taiko specific public input to Powdr's witness input.
- Integrate Powdr's continuation design
- Serve proof context from raiko-host by implementing [WIP] feat: Powdr Support taikoxyz/raiko#2
@leonardoalt If you can help us with the first step running the revm that'd be amazing! 😊