feat: update tests and solidity version

This commit is contained in:
Shriya Tyagi 2024-01-14 02:59:22 +04:00
parent 3fc43a5580
commit 49e73b0601
5 changed files with 190 additions and 308 deletions

View File

@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2; pragma solidity 0.8.19;
import {Id, MarketParams} from "./interfaces/IMorpho.sol"; import {Id, MarketParams} from "./interfaces/IMorpho.sol";
contract Events { contract Events {

View File

@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2; pragma solidity 0.8.19;
import {Id, IMorpho, MarketParams, Position, Market} from "./interfaces/IMorpho.sol"; import {Id, IMorpho, MarketParams, Position, Market} from "./interfaces/IMorpho.sol";
import "../../common/stores.sol"; import "../../common/stores.sol";

View File

@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT
pragma solidity ^0.8.2; pragma solidity 0.8.19;
import "./helpers.sol"; import "./helpers.sol";
import "./events.sol"; import "./events.sol";

View File

@ -69,6 +69,15 @@ function getNetworkUrl(networkType: string) {
const config: any = { const config: any = {
solidity: { solidity: {
compilers: [ compilers: [
{
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
{ {
version: "0.8.2", version: "0.8.2",
settings: { settings: {
@ -78,6 +87,15 @@ const config: any = {
} }
} }
}, },
{
version: "0.8.0",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
{ {
version: "0.7.6", version: "0.7.6",
settings: { settings: {

File diff suppressed because one or more lines are too long