Replies: 2 comments 2 replies
-
Super interested in this. Loving foundry but currently waiting on the order of ~70s for compilation after contract changes. Thanks in advance for any tips! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does this happen with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know foundry runs faster than other competitors for pure solidity. The issue is that with foundry (forge) you end up writing a ton more solidity; for us for every line of production solidity code we have probably 15x as many lines for test, scripts, deployments etc.
I've tried making all my contracts use interface files when referencing other contracts. But all the tests require the actual file to deploy - no now every change I make to a production contract has to compile over ~40 other contracts - and I don't see a way around that.
Even on a single file solidity contract test the DX is quite disruptive to have to wait for the compilation each time (compared to hardhat tests for example).
Two questions of discussion:
Beta Was this translation helpful? Give feedback.
All reactions