Skip to content

Commit

Permalink
Change output directory for typechain
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Sep 24, 2024
1 parent 6e9a672 commit 9e2c7c4
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ coverage/
crytic-corpus/
crytic-export/
node_modules/
typechain/
typechain-types/
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ coverage/
crytic-corpus/
crytic-export/
node_modules/
typechain/
typechain-types/
.DS_Store
.env
.env.test
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const config: HardhatUserConfig = {
},
},
typechain: {
outDir: "typechain",
outDir: "typechain-types",
target: "ethers-v5",
},
mocha: {
Expand Down
5 changes: 1 addition & 4 deletions solc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"remappings": [
"@chainlink/=./node_modules/@chainlink/",
"@openzeppelin/=./node_modules/@openzeppelin/"
]
"remappings": ["@openzeppelin/=./node_modules/@openzeppelin/"]
}
2 changes: 1 addition & 1 deletion test/ChildPool.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
RateProvider,
StakeManagerMock,
ValidatorRegistry,
} from "../typechain";
} from "../typechain-types";

describe("ChildPool", () => {
let childPool: ChildPool;
Expand Down
2 changes: 1 addition & 1 deletion test/MaticX.forking.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
IValidatorShare,
MaticX,
ValidatorRegistry,
} from "../typechain";
} from "../typechain-types";
import { extractEnvironmentVariables } from "../utils/environment";
import { generateRandomAddress } from "../utils/account";

Expand Down
2 changes: 1 addition & 1 deletion test/MaticX.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
FxStateRootTunnel,
FxStateChildTunnel,
RateProvider,
} from "../typechain";
} from "../typechain-types";

describe("MaticX", function () {
let deployer: SignerWithAddress;
Expand Down
2 changes: 1 addition & 1 deletion test/ValidatorRegistry.forking.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
IMaticX,
IStakeManager,
ValidatorRegistry,
} from "../typechain";
} from "../typechain-types";
import { extractEnvironmentVariables } from "../utils/environment";
import { generateRandomAddress } from "../utils/account";

Expand Down
2 changes: 1 addition & 1 deletion test/ValidatorRegistry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
PolygonMock,
ValidatorRegistry,
StakeManagerMock,
} from "../typechain";
} from "../typechain-types";

describe("ValidatorRegistry", function () {
let deployer: SignerWithAddress;
Expand Down

0 comments on commit 9e2c7c4

Please sign in to comment.