Migrate the multiplex tests to foundry (#655)

* add some tests for multiplex using foundry

* remove try/catch from multiplex foundry tests

* refactor multiplex forge tests

* fix broken import, remove dead code

---------

Co-authored-by: Patrick Dowell <patrick.dowell@gmail.com>
This commit is contained in:
Andy
2023-02-22 19:16:48 -05:00
committed by GitHub
parent 459fb3ee28
commit 38665ffc86
9 changed files with 1116 additions and 20 deletions

View File

@@ -227,15 +227,6 @@ contract ForkUtils is Test {
}
}
//gets a dummy signer to be used for an OTC order
function getSigner() public returns (address, uint) {
string memory mnemonic = "test test test test test test test test test test test junk";
uint256 privateKey = vm.deriveKey(mnemonic, 0);
vm.label(vm.addr(privateKey), "zeroEx/MarketMaker");
return (vm.addr(privateKey), privateKey);
}
//read the uniswapV2 router addresses from file
function readLiquiditySourceAddresses() internal returns (string memory) {
string memory root = vm.projectRoot();