Skip to content

Commit

Permalink
feat: redeploy IL with updated zksolc & new comptroller implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGuru7 committed Sep 6, 2024
1 parent a3591f2 commit 8ef42d6
Show file tree
Hide file tree
Showing 20 changed files with 1,929 additions and 1,302 deletions.
120 changes: 60 additions & 60 deletions deployments/zksyncmainnet/ComptrollerBeacon.json

Large diffs are not rendered by default.

375 changes: 272 additions & 103 deletions deployments/zksyncmainnet/ComptrollerImpl.json

Large diffs are not rendered by default.

146 changes: 73 additions & 73 deletions deployments/zksyncmainnet/Comptroller_Core.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions deployments/zksyncmainnet/PoolLens.json

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions deployments/zksyncmainnet/PoolRegistry.json

Large diffs are not rendered by default.

162 changes: 81 additions & 81 deletions deployments/zksyncmainnet/PoolRegistry_Implementation.json

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions deployments/zksyncmainnet/PoolRegistry_Proxy.json

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions deployments/zksyncmainnet/VTokenBeacon.json

Large diffs are not rendered by default.

186 changes: 93 additions & 93 deletions deployments/zksyncmainnet/VTokenImpl.json

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions deployments/zksyncmainnet/VToken_vUSDC.e_Core.json

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions deployments/zksyncmainnet/VToken_vUSDT_Core.json

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions deployments/zksyncmainnet/VToken_vWBTC_Core.json

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions deployments/zksyncmainnet/VToken_vWETH_Core.json

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions deployments/zksyncmainnet/VToken_vZK_Core.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion hardhat.config.zksync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import * as dotenv from "dotenv";
import "hardhat-dependency-compiler";
import "hardhat-deploy";
import "hardhat-gas-reporter";
import { TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS } from "hardhat/builtin-tasks/task-names";
import { subtask } from "hardhat/config";
import { HardhatUserConfig, extendConfig, task } from "hardhat/config";
import { HardhatConfig } from "hardhat/types";
import "solidity-docgen";
Expand Down Expand Up @@ -39,7 +41,7 @@ task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
zksolc: {
version: "1.5.0",
version: "1.5.3",
},
solidity: {
compilers: [
Expand Down Expand Up @@ -150,4 +152,15 @@ const config: HardhatUserConfig = {
},
};

// Added a subtask to exclude some solidity files from compilation due to limitation in zksync compiler, https://docs.zksync.io/zk-stack/components/compiler/toolchain/solidity#limitations
subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS).setAction(async (_, __, runSuper) => {
const paths = await runSuper();
// List the files to exclude that are not being deployed on zkSync
const filesToExclude = ["WrappedNative"];

return paths.filter(p => {
return !filesToExclude.some(file => p.includes(file));
});
});

export default config;

0 comments on commit 8ef42d6

Please sign in to comment.