artblocks-contracts icon indicating copy to clipboard operation
artblocks-contracts copied to clipboard

Migrate smart contract tests from Hardhat to Foundry.

Open ryley-o opened this issue 2 years ago • 1 comments

This is currently a watch-item, based on Foundry adoption and/or advantages.

Goal: This will improve developer efficiency, code sharing, reliability, and code health as a function of time. No longer as urgent after previous eng work (previously tests took long time but now run in parallel and no longer take a long time).

ryley-o avatar Oct 27 '22 19:10 ryley-o

With the changes in #498, this becomes less valuable thanks to hardhat fixtures being much more performant than our previous use of mocha's beforeEach. We can keep this issue though, since using Foundry would enable our tests to be written in solidity, and should still be considered an option, even if we are less likely to pursue.

ryley-o avatar Feb 23 '23 23:02 ryley-o