Added custom Uniswap swapper with Chainlink Oracle that swaps by using the Oracle price
Added swapper to deployment when Unsiwap Router is not configured
Updated all unit tests to use the new swapper
Updated Hardhat 2.12.2 to try to fix an issue with revert messages: mocha matcher revertedWith is not working anymore when using a local Hardhat node. After brief investigation seems a problem in ethereum-waffle package. The bug has been reported to the team here: https://github.com/TrueFiEng/Waffle/issues/812
mocha
matcherrevertedWith
is not working anymore when using a local Hardhat node. After brief investigation seems a problem inethereum-waffle
package. The bug has been reported to the team here: https://github.com/TrueFiEng/Waffle/issues/812