From 7a842cc1ff38c11fe31307116f1f6160a8c9f8df Mon Sep 17 00:00:00 2001 From: finn79426 Date: Fri, 15 Jul 2022 14:44:41 +0800 Subject: [PATCH] Upgrade: deprecated ds-test, use forge-std for all Tested: FlippazOne.sol --- .gitmodules | 3 +++ src/test/Anyswap_poc.t.sol | 2 +- src/test/Auctus_exp.sol | 2 +- src/test/Bacon_exp.sol | 2 +- src/test/Beanstalk_exp.sol | 2 +- src/test/BuildF_exp.sol | 2 +- src/test/CompoundTusd_exp.sol | 2 +- src/test/Cover_exp.sol | 2 +- src/test/Cream_exp.sol | 2 +- src/test/Discover_exp.sol | 2 +- src/test/Elephant_Money_poc.sol | 2 +- src/test/Fantasm_exp.sol | 2 +- src/test/Gym_1_exp.sol | 2 +- src/test/Gym_2_exp.sol | 2 +- src/test/Harmony_multisig.sol | 2 +- src/test/HarvestFinance_exp.sol | 2 +- src/test/InverseFinance_exp.sol | 2 +- src/test/Mono_exp.t.sol | 2 +- src/test/Novo_exp.sol | 2 +- src/test/Omni_exp.sol | 2 +- src/test/OneRing_exp.sol | 2 +- src/test/Optimism_exp.sol | 2 +- src/test/Paraluni_exp.sol | 2 +- src/test/Parity_kill.sol | 2 +- src/test/Quixotic_exp.sol | 2 +- src/test/Rari_exp.t.sol | 2 +- src/test/Revest_exp.sol | 2 +- src/test/Rikkei_exp.sol | 2 +- src/test/SenseFinance_exp.sol | 2 +- src/test/Snood_poc.t.sol | 2 +- src/test/Sushimiso_exp.sol | 2 +- src/test/TreasureDAO_exp.sol | 2 +- src/test/Visor_exp.t.sol | 2 +- src/test/Wdoge_exp.sol | 2 +- src/test/XCarnival.exp.sol | 2 +- src/test/XSURGE_exp.t.sol | 2 +- src/test/Zeed_exp.sol | 2 +- src/test/deus_exp.sol | 2 +- src/test/dodo_flashloan.sol | 2 +- src/test/dodo_flashloan_exp.sol | 2 +- src/test/flashloan_aave.sol | 2 +- src/test/flashloan_balancer.t.sol | 2 +- src/test/flashloan_biswap.sol | 2 +- src/test/flashloan_uniswapv2.sol | 2 +- src/test/flashswap_pancake.sol | 2 +- src/test/interface.sol | 2 +- 46 files changed, 48 insertions(+), 45 deletions(-) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..888d42dc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/forge-std"] + path = lib/forge-std + url = https://github.com/foundry-rs/forge-std diff --git a/src/test/Anyswap_poc.t.sol b/src/test/Anyswap_poc.t.sol index 5a226867..216f0c4b 100644 --- a/src/test/Anyswap_poc.t.sol +++ b/src/test/Anyswap_poc.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Auctus_exp.sol b/src/test/Auctus_exp.sol index 2edeff98..d23c23e2 100644 --- a/src/test/Auctus_exp.sol +++ b/src/test/Auctus_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract MockACOToken { diff --git a/src/test/Bacon_exp.sol b/src/test/Bacon_exp.sol index 11bc258a..cbfe85b9 100644 --- a/src/test/Bacon_exp.sol +++ b/src/test/Bacon_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Beanstalk_exp.sol b/src/test/Beanstalk_exp.sol index 382ca17b..15243a49 100644 --- a/src/test/Beanstalk_exp.sol +++ b/src/test/Beanstalk_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/BuildF_exp.sol b/src/test/BuildF_exp.sol index 95b5978f..594a013e 100644 --- a/src/test/BuildF_exp.sol +++ b/src/test/BuildF_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/CompoundTusd_exp.sol b/src/test/CompoundTusd_exp.sol index c12b5bd2..354c2988 100644 --- a/src/test/CompoundTusd_exp.sol +++ b/src/test/CompoundTusd_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Cover_exp.sol b/src/test/Cover_exp.sol index 96b4e8a8..d9525d43 100644 --- a/src/test/Cover_exp.sol +++ b/src/test/Cover_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface Blacksmith { diff --git a/src/test/Cream_exp.sol b/src/test/Cream_exp.sol index b0e62cdb..ac2dfeb8 100644 --- a/src/test/Cream_exp.sol +++ b/src/test/Cream_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Discover_exp.sol b/src/test/Discover_exp.sol index c6f110f1..d7486134 100644 --- a/src/test/Discover_exp.sol +++ b/src/test/Discover_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface ETHpledge { diff --git a/src/test/Elephant_Money_poc.sol b/src/test/Elephant_Money_poc.sol index 647c5f73..dfcb20dc 100644 --- a/src/test/Elephant_Money_poc.sol +++ b/src/test/Elephant_Money_poc.sol @@ -2,7 +2,7 @@ //Credit: W2Ning pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Fantasm_exp.sol b/src/test/Fantasm_exp.sol index 3a907fa6..c55f6a72 100644 --- a/src/test/Fantasm_exp.sol +++ b/src/test/Fantasm_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Gym_1_exp.sol b/src/test/Gym_1_exp.sol index 1fd0e102..9a395be6 100644 --- a/src/test/Gym_1_exp.sol +++ b/src/test/Gym_1_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Gym_2_exp.sol b/src/test/Gym_2_exp.sol index 8de91d61..3102bc59 100644 --- a/src/test/Gym_2_exp.sol +++ b/src/test/Gym_2_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Harmony_multisig.sol b/src/test/Harmony_multisig.sol index 6384af86..d028c43f 100644 --- a/src/test/Harmony_multisig.sol +++ b/src/test/Harmony_multisig.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/HarvestFinance_exp.sol b/src/test/HarvestFinance_exp.sol index daeb1d9f..3333b7f2 100644 --- a/src/test/HarvestFinance_exp.sol +++ b/src/test/HarvestFinance_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/InverseFinance_exp.sol b/src/test/InverseFinance_exp.sol index 238a4694..ecef5e49 100644 --- a/src/test/InverseFinance_exp.sol +++ b/src/test/InverseFinance_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Mono_exp.t.sol b/src/test/Mono_exp.t.sol index d7084ef2..27abb16d 100644 --- a/src/test/Mono_exp.t.sol +++ b/src/test/Mono_exp.t.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Novo_exp.sol b/src/test/Novo_exp.sol index fbe3a59f..de17adcd 100644 --- a/src/test/Novo_exp.sol +++ b/src/test/Novo_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; // Exploit Alert ref: https://www.panewslab.com/zh_hk/articledetails/f40t9xb4.html diff --git a/src/test/Omni_exp.sol b/src/test/Omni_exp.sol index f3516c2e..59606083 100644 --- a/src/test/Omni_exp.sol +++ b/src/test/Omni_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface IDOODLENFTXVault{ diff --git a/src/test/OneRing_exp.sol b/src/test/OneRing_exp.sol index 3d6574d7..13e11d2a 100644 --- a/src/test/OneRing_exp.sol +++ b/src/test/OneRing_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Optimism_exp.sol b/src/test/Optimism_exp.sol index e531c2aa..2d9a657d 100644 --- a/src/test/Optimism_exp.sol +++ b/src/test/Optimism_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface ProxyFactory { diff --git a/src/test/Paraluni_exp.sol b/src/test/Paraluni_exp.sol index ad4fa626..346e5137 100644 --- a/src/test/Paraluni_exp.sol +++ b/src/test/Paraluni_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract EvilToken { diff --git a/src/test/Parity_kill.sol b/src/test/Parity_kill.sol index 1b8ab30d..d0531645 100644 --- a/src/test/Parity_kill.sol +++ b/src/test/Parity_kill.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface parity { diff --git a/src/test/Quixotic_exp.sol b/src/test/Quixotic_exp.sol index 3baafc3e..32275dd5 100644 --- a/src/test/Quixotic_exp.sol +++ b/src/test/Quixotic_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface Quixotic { diff --git a/src/test/Rari_exp.t.sol b/src/test/Rari_exp.t.sol index 50b284b3..15693627 100644 --- a/src/test/Rari_exp.t.sol +++ b/src/test/Rari_exp.t.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Revest_exp.sol b/src/test/Revest_exp.sol index 13626ad6..48703c99 100644 --- a/src/test/Revest_exp.sol +++ b/src/test/Revest_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Rikkei_exp.sol b/src/test/Rikkei_exp.sol index 5c494826..01f91681 100644 --- a/src/test/Rikkei_exp.sol +++ b/src/test/Rikkei_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/SenseFinance_exp.sol b/src/test/SenseFinance_exp.sol index 3b89f675..a32e9015 100644 --- a/src/test/SenseFinance_exp.sol +++ b/src/test/SenseFinance_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface ISpace { diff --git a/src/test/Snood_poc.t.sol b/src/test/Snood_poc.t.sol index 94583523..e280305f 100644 --- a/src/test/Snood_poc.t.sol +++ b/src/test/Snood_poc.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface IUNIPAIR is IERC20 { diff --git a/src/test/Sushimiso_exp.sol b/src/test/Sushimiso_exp.sol index 4f611710..2a5966d1 100644 --- a/src/test/Sushimiso_exp.sol +++ b/src/test/Sushimiso_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface IDutchAuction { diff --git a/src/test/TreasureDAO_exp.sol b/src/test/TreasureDAO_exp.sol index a6a5454f..9395b36e 100644 --- a/src/test/TreasureDAO_exp.sol +++ b/src/test/TreasureDAO_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Visor_exp.t.sol b/src/test/Visor_exp.t.sol index 9b4912fc..ea4cc1c2 100644 --- a/src/test/Visor_exp.t.sol +++ b/src/test/Visor_exp.t.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/Wdoge_exp.sol b/src/test/Wdoge_exp.sol index 5342351d..2a6dc63d 100644 --- a/src/test/Wdoge_exp.sol +++ b/src/test/Wdoge_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/XCarnival.exp.sol b/src/test/XCarnival.exp.sol index d362a465..70781e6f 100644 --- a/src/test/XCarnival.exp.sol +++ b/src/test/XCarnival.exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; // @KeyInfo diff --git a/src/test/XSURGE_exp.t.sol b/src/test/XSURGE_exp.t.sol index 662c827b..0cd239e3 100644 --- a/src/test/XSURGE_exp.t.sol +++ b/src/test/XSURGE_exp.t.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface IpancakePair { diff --git a/src/test/Zeed_exp.sol b/src/test/Zeed_exp.sol index 8a10a944..871f3584 100644 --- a/src/test/Zeed_exp.sol +++ b/src/test/Zeed_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/deus_exp.sol b/src/test/deus_exp.sol index b93fd286..c642cad3 100644 --- a/src/test/deus_exp.sol +++ b/src/test/deus_exp.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/dodo_flashloan.sol b/src/test/dodo_flashloan.sol index 9864720e..2ea9048d 100644 --- a/src/test/dodo_flashloan.sol +++ b/src/test/dodo_flashloan.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; interface Token { diff --git a/src/test/dodo_flashloan_exp.sol b/src/test/dodo_flashloan_exp.sol index d681f49c..0e637e95 100644 --- a/src/test/dodo_flashloan_exp.sol +++ b/src/test/dodo_flashloan_exp.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/flashloan_aave.sol b/src/test/flashloan_aave.sol index 47799c15..1df62b1f 100644 --- a/src/test/flashloan_aave.sol +++ b/src/test/flashloan_aave.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/flashloan_balancer.t.sol b/src/test/flashloan_balancer.t.sol index 747ba4ce..a587a227 100644 --- a/src/test/flashloan_balancer.t.sol +++ b/src/test/flashloan_balancer.t.sol @@ -2,7 +2,7 @@ // !! THIS FILE WAS AUTOGENERATED BY abi-to-sol v0.5.3. SEE SOURCE BELOW. !! pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/flashloan_biswap.sol b/src/test/flashloan_biswap.sol index 2d328395..c9e5cd49 100644 --- a/src/test/flashloan_biswap.sol +++ b/src/test/flashloan_biswap.sol @@ -2,7 +2,7 @@ pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract Exploit is DSTest { diff --git a/src/test/flashloan_uniswapv2.sol b/src/test/flashloan_uniswapv2.sol index 6f5f5e9f..2de74814 100644 --- a/src/test/flashloan_uniswapv2.sol +++ b/src/test/flashloan_uniswapv2.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/flashswap_pancake.sol b/src/test/flashswap_pancake.sol index 6ba19187..d612223a 100644 --- a/src/test/flashswap_pancake.sol +++ b/src/test/flashswap_pancake.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; import "./interface.sol"; contract ContractTest is DSTest { diff --git a/src/test/interface.sol b/src/test/interface.sol index a1ec9b2f..6ed949d8 100644 --- a/src/test/interface.sol +++ b/src/test/interface.sol @@ -2,7 +2,7 @@ pragma solidity >=0.7.0 <0.9.0; -import "ds-test/test.sol"; +import "forge-std/Test.sol"; interface CheatCodes { // This allows us to getRecordedLogs()