You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users on Apple Silicon Macs (M1/M2/M3) currently face issues with our Docker-based abigen tool due to AMD64 architecture incompatibility. While Rosetta 2 provides a workaround, it's not ideal and can cause performance overhead and occasional stability issues.
Proposed Solution
Implement a fallback mechanism that downloads solc binaries directly instead of relying on Docker containers:
First attempt to use Docker-based solution
If Docker fails or we detect Apple Silicon architecture:
Download appropriate solc binary from ethereum/solc-bin repository
Store in local cache (e.g., ~/.cache/solc/)
Use binary directly for compilation
Benefits
Eliminates Rosetta dependency on Apple Silicon
Potentially faster compilation (no Docker overhead)
Problem
Users on Apple Silicon Macs (M1/M2/M3) currently face issues with our Docker-based
abigen
tool due to AMD64 architecture incompatibility. While Rosetta 2 provides a workaround, it's not ideal and can cause performance overhead and occasional stability issues.Proposed Solution
Implement a fallback mechanism that downloads
solc
binaries directly instead of relying on Docker containers:solc
binary from ethereum/solc-bin repository~/.cache/solc/
)Benefits
Implementation Notes
Related
The text was updated successfully, but these errors were encountered: