hashgraph / hashgraph/hedera-docs
explain forge's forking and gas simulation limitations
Open
- Dominant language
- MDX
- Stars
- 10
- Forks
- 49
- Avg merge
- 19h 49m
- Merged PRs (30d)
- 17
Description
### Problem
documentation doesn't adequately explain that forge's simulation of deployments doesn't account for system contracts, resulting in underestimated gas requirements even with added buffers
developers encounter out-of-gas errors in real deployments despite successful local simulations because the local simulation skips system contract calls.
### Solution
Create a section within the forge deployment docs explaining how forking works in this context, its limitations with system contracts, and guidance for adjusting gas settings manually.
### Alternatives
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.