leonardoalt / fusion

An experimental progressive and fast zkRollup written in Rust, focused on performance, modularity, and applying cutting-edge Verifiable Computation proof systems.
GNU General Public License v3.0
119 stars 5 forks source link

error: failed to load manifest for workspace member #78

Open hustnn opened 1 year ago

hustnn commented 1 year ago

an error when running cargo build --release --bin fusion-sequencer

leonardoalt commented 1 year ago

What's the error you get? The command runs fine for me.

hustnn commented 1 year ago

The error is shown below when I run cargo build --release --bin fusion-sequencer

error: failed to load manifest for workspace member `/code/blockchain/fusion/fusion-prover`

Caused by:
  failed to load manifest for dependency `fusion-l1`

Caused by:
  failed to read `/code/blockchain/fusion/l1-verifier/out/bindings/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
hustnn commented 1 year ago

Should I make l1-verifier first, but the Verifier.sol is not found in circuits path.

hustnn commented 1 year ago

I think I figured it out.

In circuit folder, still need to run

make setup 
make verifier

and then

cd l1-verifier && make

But the build meets this error

image
leonardoalt commented 1 year ago

Ah yes you're right! I need to update that in the README, thanks.

What's your foundry version?

leonardoalt commented 1 year ago

I think I figured it out.

In circuit folder, still need to run

make setup 
make verifier

and then

cd l1-verifier && make

But the build meets this error image

I recently saw that same error which foundryup fixed for me. Can you try that?