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
Right now running forge test forces using the the built in revm to run the tests against. This is great, but if someone is trying to test smart contract logic that interacts with a custom precompile or some modified version of the EVM it prevents this.
For instance, we want to run unit tests that utilize precompile contracts in https://github.com/berachain/polaris and we cannot do so other than jankily writing a forge script.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Running forge test over RPC is counter-intuitive since we would not have any of the hooks necessary to insert cheatcodes or do tracing. It would be a lot of work for marginal benefit at best vs. adding support for custom precompiles which has better longetivity
Component
Forge
Describe the feature you would like
Right now running
forge test
forces using the the built inrevm
to run the tests against. This is great, but if someone is trying to test smart contract logic that interacts with a custom precompile or some modified version of the EVM it prevents this.For instance, we want to run unit tests that utilize precompile contracts in https://github.com/berachain/polaris and we cannot do so other than jankily writing a
forge script
.Additional context
No response
The text was updated successfully, but these errors were encountered: