Skip to content

Commit

Permalink
fmt:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hojarasca committed May 30, 2024
1 parent 89b7ce2 commit 2046dc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cli/src/lib/system-contract-change.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type {Hex} from "viem";
import type {BlockExplorerClient} from "./block-explorer-client";
import {ContractData} from "./contract-data.js";
import {ContracNotVerified} from "./errors.js";
import type {EraContractsRepo} from "./era-contracts-repo";
import type { Hex } from "viem";
import type { BlockExplorerClient } from "./block-explorer-client";
import { ContractData } from "./contract-data.js";
import { ContracNotVerified } from "./errors.js";
import type { EraContractsRepo } from "./era-contracts-repo";

export class SystemContractChange {
address: Hex;
Expand All @@ -29,7 +29,7 @@ export class SystemContractChange {
const content = {
content: `Code for contract ${this.address} (${this.name}) is not available in block explorer`,
};
return new ContractData(this.name, {"message.txt": content}, this.address);
return new ContractData(this.name, { "message.txt": content }, this.address);
}
throw e;
}
Expand Down

1 comment on commit 2046dc4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

44.04%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
bin
   validate.js0%0%0%0%1, 1–3
src
   entrypoint.ts0%0%0%0%1, 1–4
src/commands
   check-command.ts25%100%0%26.67%10–15, 5–9
   contract-diff-command.ts17.14%100%0%17.65%10–34, 7–9
   download-code-command.ts23.08%100%0%24%10–25, 7–9
   index.ts100%100%100%100%
src/lib
   abi-set.ts8.51%0%0%8.89%10–39, 4, 40–45, 5–9
   block-explorer-client.ts28.74%100%37.50%26.99%100–140, 143–152, 160–162, 31–51, 54–78, 81–99
   cli.ts5.99%100%0%6.02%100–109, 11, 110–119, 12, 120–129, 13, 130–139, 14, 140–149, 15, 150–159, 16, 160–166, 17–99
   compare-current-state-with.ts11.76%100%0%12.12%10–33, 5–9
   constants.ts100%100%100%100%
   contract-data.ts80.43%80%75%81.08%17–23, 30
   env-builder.ts83.33%81.25%71.43%85.42%33–34, 53–55, 62–64, 74–75, 78–79, 82–83, 92–94
   era-contracts-repo.ts95.31%90.63%100%95.86%103–105, 70–72, 95–97
   errors.ts64.62%100%33.33%66.67%12–13, 32–35, 47–57, 6–7
   file-system.ts58.33%66.67%50%58.62%11–12, 15–22, 25–27
   fs-utils.ts77.50%100%66.67%74.19%17–24
   importer.ts93.85%85.71%100%95.05%32–33, 68–70, 91–93
   index.ts100%100%100%100%
   rpc-client.ts58.51%100%50%57.32%37–39, 46–56, 59–60, 63–81
   system-contract-change.ts15.22%0%0%15.91%10–44, 7–9
   upgrade-changes.ts89.80%78.57%71.43%92.06%100–101, 104–106, 108–111, 47–48, 63–64
   verifier.ts90%100%66.67%92%23–24
   with-spinner.ts18.75%100%0%20%10–15, 4–9
   zk-sync-era-diff.ts3.26%0%0%3.27%100–139, 14, 140–149, 15, 150–159, 16, 160–169, 17, 170–179, 18, 180–189, 19, 190–199, 20, 200–209, 21, 210–219, 22, 220–229, 23, 230–239, 24, 240–249, 25, 250–259, 26, 260–269, 27, 270–279, 28, 280–289, 29, 290–299, 30, 300–309, 31, 310–319, 32, 320–329, 33, 330–339, 34, 340–349, 35, 350–359, 36, 360–369, 37, 370–379, 38, 380–389, 39, 390–399, 40, 400–409, 41, 410–419, 42, 420–428, 43–99
   zk-sync-era-state.ts13.41%0%0%13.51%100–259, 35–99
src/schema
   common.ts100%100%100%100%
   compiled.ts100%100%100%100%
   etherscan.ts100%100%100%100%
   facetCuts.ts100%100%100%100%
   facets.ts100%100%100%100%
   github-schemas.ts100%100%100%100%
   index.ts100%100%100%100%
   l2Upgrade.ts100%100%100%100%
   manifest.ts100%100%100%100%
   new-facets.ts100%100%100%100%
   transactions.ts100%100%100%100%

Please sign in to comment.