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

bug(zksync): failed compile #52

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

bug(zksync): failed compile #52

wants to merge 10 commits into from

Conversation

pegahcarter
Copy link
Collaborator

@pegahcarter pegahcarter commented Feb 21, 2025

carter@laptop:~/Documents/frax/frax-oft-upgradeable$ forge build --zksync
[⠃] Using zksolc-1.5.11
[⠒] Compiling (zksync)
[⠰] Compiling 201 files with zksolc and solc 0.8.22
[⠔] zksolc and solc 0.8.22 finished in 853.92s
Error: Compiler run failed:
Error

carter@laptop:~/Documents/frax/frax-oft-upgradeable$ forge build --zksync
[⠃] Using zksolc-1.5.11
[⠆] Compiling (zksync)
[⠔] Compiling 201 files with zksolc and solc 0.8.22
[⠊] zksolc and solc 0.8.22 finished in 528.17s
Error: Compiler run failed:
Error

carter@laptop:~/Documents/frax/frax-oft-upgradeable$ foundryup-zksync --version
foundryup-zksync: 0.3.3

carter@laptop:~/Documents/frax/frax-oft-upgradeable$ forge --version
forge Version: 0.0.9-dev
Commit SHA: VERGEN_IDEMPOTENT_OUTPUT
Build Timestamp: 2025-02-20T21:07:56.344312967Z (1740085676)
Build Profile: release

@pegahcarter pegahcarter changed the title bug: never-ending compile bug: failed compile Feb 21, 2025
@pegahcarter pegahcarter changed the title bug: failed compile bug(zksync): failed compile Feb 21, 2025
@pegahcarter pegahcarter mentioned this pull request Feb 21, 2025
@tom2o17
Copy link

tom2o17 commented Feb 25, 2025

Hmm seems like I am able to compile with the following

tc@TCs-MacBook-Pro frax-oft-upgradeable % forge build scripts/DeployFraxOFTProtocol/DeployFraxOFTProtocol.s.sol --zksync
[⠃] Using zksolc-1.5.7
[⠊] Compiling (zksync)
[⠰] Compiling 115 files with zksolc and solc 0.8.22
[⠒] zksolc and solc 0.8.22 finished in 35.58s
Compiler run successful!
tc@TCs-MacBook-Pro frax-oft-upgradeable %

Granted the process seemed to hang when I tried to compile the whole repo 201 files.

@pegahcarter
Copy link
Collaborator Author

@tom2o17 thanks for running and verifying!

@tom2o17
Copy link

tom2o17 commented Feb 25, 2025

Screenshot 2025-02-24 at 7 35 30 PM

Base automatically changed from ops/deploy-base-zksync to master March 10, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants