diff --git a/package.json b/package.json index 01f6de7ce..cadb4d8d0 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "lerna": "^5.1.8", "run-with-hardhat-node": "^0.4.3", "solpp": "^0.11.5", - "truffle": "5.1.26", + "truffle": "5.4.33", "ts-node": "8.6.2", "ts-loader": "^9.4.4", "typechain": "^8.3.1", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index c362aa4c7..aff69e770 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -29,7 +29,7 @@ "ethers": "^5.7.2" }, "devDependencies": { - "solc-0.8": "npm:solc@0.8.11", + "solc-0.8": "npm:solc@0.8.15", "solhint": "^3.3.2", "solidity-docgen": "^0.5.16", "ts-node": "8.6.2" diff --git a/packages/contracts/truffle.js b/packages/contracts/truffle.js index 43187beab..a14e9d2cf 100644 --- a/packages/contracts/truffle.js +++ b/packages/contracts/truffle.js @@ -16,7 +16,7 @@ module.exports = { contracts_directory: './solpp', compilers: { solc: { - version: '0.8.7', + version: '0.8.15', settings: { evmVersion: 'london', optimizer: { diff --git a/packages/paymasters/truffle.js b/packages/paymasters/truffle.js index 6a028e45d..e3479ac1e 100644 --- a/packages/paymasters/truffle.js +++ b/packages/paymasters/truffle.js @@ -32,7 +32,7 @@ module.exports = { }, compilers: { solc: { - version: '0.8.7', + version: '0.8.15', settings: { evmVersion: 'london', optimizer: { diff --git a/tsconfig.json b/tsconfig.json index 22065cfdf..61f30e18f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,9 @@ { "path": "./packages/common" }, + { + "path": "./packages/contracts" + }, { "path": "./packages/dev" },