GithubHelp home page GithubHelp logo

ef-grant's People

Contributors

edgdrummond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ef-grant's Issues

compile Error

When cargo test -- --nocapture ecdsa_example :

error[E0741]: `ExecutionState` must implement `ConstParamTy` to be used as the type of a const generic parameter
  --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/execution/dummy.rs:15:84
   |
15 | pub(crate) struct DummyGadget<F, const N_POP: usize, const N_PUSH: usize, const S: ExecutionState> {
   |                                                                                    ^^^^^^^^^^^^^^
   |
help: add `#[derive(ConstParamTy)]` to the struct
  --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/step.rs:23:1
   |
23 + #[derive(ConstParamTy)]
24 | pub enum ExecutionState {
   |

error[E0741]: `ExecutionState` must implement `ConstParamTy` to be used as the type of a const generic parameter
  --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/execution/dummy.rs:21:66
   |
21 | impl<F: Field, const N_POP: usize, const N_PUSH: usize, const S: ExecutionState> ExecutionGadget<F>
   |                                                                  ^^^^^^^^^^^^^^
   |
help: add `#[derive(ConstParamTy)]` to the struct
  --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/step.rs:23:1
   |
23 + #[derive(ConstParamTy)]
24 | pub enum ExecutionState {
   |

error[E0741]: `GasCost` must implement `ConstParamTy` to be used as the type of a const generic parameter
   --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/util/memory_gadget.rs:339:60
    |
339 | pub(crate) struct MemoryCopierGasGadget<F, const GAS_COPY: GasCost> {
    |                                                            ^^^^^^^

error[E0741]: `GasCost` must implement `ConstParamTy` to be used as the type of a const generic parameter
   --> /Users/soda/.cargo/git/checkouts/zkevm-circuits-bd9aa9c68dc83a80/d5cc6be/zkevm-circuits/src/evm_circuit/util/memory_gadget.rs:345:32
    |
345 | impl<F: Field, const GAS_COPY: GasCost> MemoryCopierGasGadget<F, GAS_COPY> {
    |                                ^^^^^^^

For more information about this error, try `rustc --explain E0741`.
error: could not compile `zkevm-circuits` (lib) due to 4 previous errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.