Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zk init fails on arm64 #521

Open
thomas-nguy opened this issue Nov 20, 2023 · 0 comments
Open

Zk init fails on arm64 #521

thomas-nguy opened this issue Nov 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@thomas-nguy
Copy link
Member

thomas-nguy commented Nov 20, 2023

We are facing several issues when using arm architecture

The first one is that the zksolc v1.13.14 is not available for linux-arm64 which is causing error in the script
see
matter-labs/era-contracts#97
and
matter-labs/era-system-contracts#72

The second issue is during the Compile l2 contracts step fails with the following error

Compiling contracts for zkSync Era with zkvyper v1.3.11 and vyper v0.3.3
An unexpected error occurred:

Error: Command failed: /root/.cache/hardhat-nodejs/compilers-v2/zkvyper/zkvyper-v1.3.11 -O 3 -f combined_json /root/zksync-era/core/tests/ts-integration/contracts/vyper/Greeter.vy /root/zksync-era/core/tests/ts-integration/contracts/vyper/Greeter2.vy --vyper /root/.cache/hardhat-nodejs/compilers-v2/vyper/linux/0.3.3
thread 'main' panicked at src/vyper/mod.rs:57:50:
Version getting error: /root/.cache/hardhat-nodejs/compilers-v2/vyper/linux/0.3.3 subprocess error: Os { code: 8, kind: Uncategorized, message: "Exec format error" }

Any guidance for the second error?

@thomas-nguy thomas-nguy added the bug Something isn't working label Nov 20, 2023
@thomas-nguy thomas-nguy changed the title Zk init fails on arm machine Zk init fails on arm64 Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant