fusion icon indicating copy to clipboard operation
fusion copied to clipboard

error: failed to load manifest for workspace member

Open hustnn opened this issue 2 years ago • 6 comments

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

hustnn avatar Mar 03 '23 08:03 hustnn

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

leonardoalt avatar Mar 03 '23 17:03 leonardoalt

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 avatar Mar 04 '23 00:03 hustnn

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

hustnn avatar Mar 04 '23 00:03 hustnn

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

hustnn avatar Mar 04 '23 00:03 hustnn

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

What's your foundry version?

leonardoalt avatar Mar 04 '23 12:03 leonardoalt

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?

leonardoalt avatar Mar 21 '23 16:03 leonardoalt