mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
Feat: Improved import export sorting for app and common (#833)
* save import sorting work * remove dupe headers and fix type errors * sort imports and exports * fix errors from export sorting * fix tests * codex feedback * fix exports * fix exports and tweak test build * fix export and format * fix license headers * fix app building and clean up test errors * fix android local e2e test * improve caching * final fixes * remove invalid option * fix sorting and get random values loading * fix import sorting
This commit is contained in:
@@ -2,7 +2,7 @@ import { expect } from "chai";
|
||||
import { TransactionReceipt, ZeroAddress } from "ethers";
|
||||
import { ethers } from "hardhat";
|
||||
import { poseidon2 } from "poseidon-lite";
|
||||
import { CIRCUIT_CONSTANTS, DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants/constants";
|
||||
import { CIRCUIT_CONSTANTS, DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants";
|
||||
import { ATTESTATION_ID } from "../utils/constants";
|
||||
import { deploySystemFixtures } from "../utils/deployment";
|
||||
import { generateDscProof, generateRegisterProof } from "../utils/generateProof";
|
||||
|
||||
@@ -11,7 +11,7 @@ import { BigNumberish } from "ethers";
|
||||
import { generateRandomFieldElement, getStartOfDayTimestamp, splitHexFromBack } from "../utils/utils";
|
||||
import { Formatter, CircuitAttributeHandler } from "../utils/formatter";
|
||||
import { formatCountriesList, reverseBytes, reverseCountryBytes } from "@selfxyz/common/utils/circuits/formatInputs";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/contracts/forbiddenCountries";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/sanctions";
|
||||
import { countries, Country3LetterCode } from "@selfxyz/common/constants/countries";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Signer } from "ethers";
|
||||
import { ethers } from "hardhat";
|
||||
import { DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants/constants";
|
||||
import { DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants";
|
||||
import { genAndInitMockPassportData } from "@selfxyz/common/utils/passports/genMockPassportData";
|
||||
import { getCscaTreeRoot } from "@selfxyz/common/utils/trees";
|
||||
import { PassportData } from "@selfxyz/common/utils/types";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ethers } from "hardhat";
|
||||
import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers";
|
||||
import { Signer } from "ethers";
|
||||
import { DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants/constants";
|
||||
import { DscVerifierId, RegisterVerifierId } from "@selfxyz/common/constants";
|
||||
import { genAndInitMockPassportData } from "@selfxyz/common/utils/passports/genMockPassportData";
|
||||
import { getCscaTreeRoot } from "@selfxyz/common/utils/trees";
|
||||
import { PassportData } from "@selfxyz/common/utils/types";
|
||||
|
||||
@@ -5,7 +5,7 @@ import { poseidon2 } from "poseidon-lite";
|
||||
import { generateCommitment } from "@selfxyz/common/utils/passports/passport";
|
||||
import { BigNumberish } from "ethers";
|
||||
import { generateRandomFieldElement, getStartOfDayTimestamp } from "../utils/utils";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/contracts/forbiddenCountries";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/sanctions";
|
||||
import { countries } from "@selfxyz/common/constants/countries";
|
||||
import { deploySystemFixturesV2 } from "../utils/deploymentV2";
|
||||
import { DeployedActorsV2 } from "../utils/types";
|
||||
|
||||
@@ -6,7 +6,7 @@ import { poseidon2 } from "poseidon-lite";
|
||||
import { generateCommitment } from "@selfxyz/common/utils/passports/passport";
|
||||
import { BigNumberish } from "ethers";
|
||||
import { generateRandomFieldElement, getStartOfDayTimestamp } from "../utils/utils";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/contracts/forbiddenCountries";
|
||||
import { getPackedForbiddenCountries } from "@selfxyz/common/utils/sanctions";
|
||||
import { countries } from "@selfxyz/common/constants/countries";
|
||||
import { deploySystemFixturesV2 } from "../utils/deploymentV2";
|
||||
import { DeployedActorsV2 } from "../utils/types";
|
||||
|
||||
Reference in New Issue
Block a user