MetaMorpho uses Solidity 0.8.21 (strictly). The goal is to have 0.8.24 in the public allocator but still be able to reuse Metamorpho's useful test contracts. That means not importing MetaMorpho in IntegrationTest.
This PR adds a MM-deployer function in IntegrationTest. It creates Metamorpho instances using deployCode. As with Blue, importers of MM must now have a MetaMorphoImport.sol file which adds MetaMorpho to the compilation plan.
MetaMorpho uses Solidity 0.8.21 (strictly). The goal is to have 0.8.24 in the public allocator but still be able to reuse Metamorpho's useful test contracts. That means not importing
MetaMorpho
inIntegrationTest
.This PR adds a MM-deployer function in
IntegrationTest
. It creates Metamorpho instances usingdeployCode
. As with Blue, importers of MM must now have aMetaMorphoImport.sol
file which addsMetaMorpho
to the compilation plan.