ef-grant's People
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
error: failed to select a version for the requirement `funty = "~1.2"`
Hi , can you help me fix the problem. It is the version problem of "https://github.com/privacy-scaling-explorations/halo2.git"
typo mul->add
hi, Thank you for great material for zk engineers ;>
I found one typo here.
https://github.com/EDGDrummond/EF-grant/blob/main/halo2/tests/tutorial.rs#L134
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.