build --sizes does not work properly (false negative error code)
sakulstra opened this issue · comments
Lukas commented
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.0.2 (bde6d97 2024-08-06T00:23:04.629842000Z)
What command(s) is the bug in?
forge build --sizes
Operating System
macOS (Apple Silicon)
Describe the bug
foundry zksync will report exceeding size for:
| AaveV3ZkSync_AaveV3ZkSyncActivation_20240805 | 51,360 | -26,784 |
and thus exit with exit code 1 although, we're able to deploy it on zksync mainnet just fine
As reproduction you can:
- checkout https://github.com/bgd-labs/aave-proposals-v3/tree/feat/zksync-activation
- run
FOUNDRY_PROFILE=zksync forge build --sizes --zksync
Nisheeth Barthwal commented
Closed via #505