Skip to content

Instantly share code, notes, and snippets.

@HAOYUatHZ
Created December 23, 2021 07:53
Show Gist options
  • Save HAOYUatHZ/5bc35111a508b122f9a8f20484a0edc8 to your computer and use it in GitHub Desktop.
Save HAOYUatHZ/5bc35111a508b122f9a8f20484a0edc8 to your computer and use it in GitHub Desktop.
lookup_fail

报了一个

failures:

---- evm_circuit::execution::storage::test::storage_gadget_simple stdout ----
thread 'evm_circuit::execution::storage::test::storage_gadget_simple' panicked at 'assertion failed: `(left == right)`
  left: `Err([Lookup { lookup_index: 66, row: 0 }, Lookup { lookup_index: 67, row: 0 }])`,
 right: `Ok(())`', zkevm-circuits/src/evm_circuit/execution/storage.rs:184:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

看了一下这个 错误应该是 报的

    fn lookup_fail(
        row: usize,
        lookup_index: usize,
    ) -> halo2::dev::VerifyFailure {
        Lookup { lookup_index, row }
    }

但是搜了一下,找不到调用这个 lookup_fail 的地方

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment