Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ra-phael committed Nov 29, 2023
1 parent 72c690d commit 0d7d391
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trailingComma: "all"
overrides:
- files: "*.sol"
options:
compiler: "0.8.17"
compiler: "0.8.20"
tabWidth: 4
- files: "*.ts"
options:
Expand Down
2 changes: 1 addition & 1 deletion tasks/deploy/prepareUpgrade.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ContractFactory } from "ethers";
import { task } from "hardhat/config";
import type { TaskArguments } from "hardhat/types";
import { ContractFactory } from "ethers";

// 💡 Make sure to delete /artifacts and /cache and then run `yarn compile` before running this task,
// and that you have specified the right Etherscan API key in .env.
Expand Down
4 changes: 2 additions & 2 deletions tasks/deploy/proposeUpgradeWithApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ task("proposeUpgradeWithApproval").setAction(async function (_taskArguments: Tas
"0xE62C5A18Fb0e5f9b01bE9fAc679040e142e0e1FC",
"VioletIDv1_4_0",
{
approvalProcessId: "95f8f653-1112-419a-ba23-bbc22dd5120a"
}
approvalProcessId: "95f8f653-1112-419a-ba23-bbc22dd5120a",
},
);
console.log(response);
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion tasks/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import accounts from "./accounts";
import prepareUpgrade from "./deploy/prepareUpgrade";
import proposeUpgradeWithApproval from "./deploy/proposeUpgradeWithApproval";
import validate from "./deploy/validate";
import validateUpgradeSafety from "./deploy/validateUpgradeSafety";
import deployVioletID from "./deploy/violetID";
import grantRole from "./grantRole";
import renounceRole from "./renounceRole";
import prepareUpgrade from "./deploy/prepareUpgrade";

export {
prepareUpgrade,
Expand Down
2 changes: 1 addition & 1 deletion test/utils/generateAccessToken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SignerWithAddress } from "@nomicfoundation/hardhat-ethers/signers";
import { messages, utils } from "@violetprotocol/ethereum-access-token-helpers";
import { BigNumberish, Contract, Wallet, Signature, getAddress } from "ethers";
import { BigNumberish, Contract, Signature, Wallet, getAddress } from "ethers";

import { VioletIDv1_4_0 } from "../../src/types";

Expand Down
4 changes: 2 additions & 2 deletions test/violetID/VID.behavior.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect } from "chai";
import { ZeroAddress, id } from "ethers";
import { ethers } from "hardhat";

import { VioletIDv1_4_0, VioletIDv1_4_0__factory } from "../../src/types";
import { generateAccessToken } from "../utils/generateAccessToken";
import { getStatusCombinationId } from "../utils/getStatusCombinationId";
import { ethers } from "hardhat";
import { VioletIDv1_4_0, VioletIDv1_4_0__factory } from "../../src/types";

enum Status {
REGISTERED_WITH_VIOLET = 1,
Expand Down

0 comments on commit 0d7d391

Please sign in to comment.