mirror of
https://github.com/Instadapp/dsa-connectors-2.0.git
synced 2024-07-29 21:57:39 +00:00
feat: update tests and solidity version
This commit is contained in:
parent
3fc43a5580
commit
49e73b0601
|
@ -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 {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user