-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from using HardHat to Foundry #223
Comments
#238 is the first attempt to integrate with foundry (awesome tool btw). And for testing precompiles, rather than hardcode individual genesis files for each case (how it's done now in the |
As a first pass, we should migrate from starting an entire network to the approach outlined in this ticket to make running e2e tests of the VM behavior (where consensus/networking does not need to be tested) #358. This should reduce the complexity of orchestrating the e2e tests significantly. |
We have migrated all of the e2e precompile tests to run on a single node network as in #358 and simplified the code to construct a network from a given genesis and then execute the HardHat tests on that subnet (ref: https://github.com/ava-labs/subnet-evm/blob/master/tests/precompile/solidity/suites.go#L29-L34). We should be able to use the code from @gyuho 's previous pass at integrating Foundry here:
|
This ticket is to switch from using HardHat to the Foundry tool with the goal of switching from JS to Rust dependency for security reasons.Use
Foundry
cli tooling with DS-test instead of HardHat. Benefits include (but are not limited to):Implementation plan
The text was updated successfully, but these errors were encountered: