Skip to content

Run Taiko Client on Powdr #850

Open
Open
@CeciliaZ030

Description

@CeciliaZ030

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

@leonardoalt If you can help us with the first step running the revm that'd be amazing! 😊

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions