matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment
Apache License 2.0
299 stars 130 forks source link

Deployment gas computation for EraVM #675

Open Karrq opened 2 weeks ago

Karrq commented 2 weeks ago

Improve gas limit fix computation, to detect if the passed in gas is sufficient for the full deployment

This would be easier to troubleshoot if the EraVM failed with a more useful error like “out of gas”

Might be outdated at this point, due to recent changes to gas values: