blockful-io / swaplace-contracts

Swaplace is an open-source, ownerless and feeless token swap protocol
https://app.swaplace.xyz/
MIT License
33 stars 33 forks source link

feat: include echidna fuzz swap tests for native ether and ERC1155 asset #226

Open 0xneves opened 3 months ago

0xneves commented 3 months ago

Feature Request

Describe the Feature Request

The PR #218 introduces the tests with ERC1155 and PR #213 introduces unit tests on TestSwapFactory.test.ts and TestSwaplace.test.ts. Such unit tests don't exist in echidna for fuzzing.

Describe Preferred Solution

The files in question are TestSwaplace.sol and TestSwapFactory.sol in echidna folder.

The definition of done: