Skip to content

Commit a979d3e

Browse files
committed
fix: single quotes
1 parent f8cd8bc commit a979d3e

File tree

633 files changed

+5924
-5915
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

633 files changed

+5924
-5915
lines changed

.lintstagedrc.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
"**/*.(js|jsx|ts|tsx|md|mdx|html|css)": ["biome check --apply-unsafe"],
2+
'**/*.(js|jsx|ts|tsx|md|mdx|html|css)': ['biome check --apply-unsafe'],
33
};

.vscode/settings.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"editor.defaultFormatter": "biomejs.biome",
3-
"editor.formatOnSave": true,
4-
"editor.codeActionsOnSave": {
5-
"source.fixAll.eslint": "explicit"
6-
},
7-
"editor.quickSuggestions": {
8-
"strings": "on"
9-
},
10-
"tailwindCSS.experimental.classRegex": [
11-
["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
12-
]
2+
"editor.defaultFormatter": "biomejs.biome",
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": "explicit"
6+
},
7+
"editor.quickSuggestions": {
8+
"strings": "on"
9+
},
10+
"tailwindCSS.experimental.classRegex": [
11+
["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
12+
]
1313
}

biome.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@
4040
}
4141
}
4242
},
43+
"javascript": {
44+
"formatter": {
45+
"quoteStyle": "single"
46+
}
47+
},
48+
"json": {
49+
"parser": {
50+
"allowTrailingCommas": true
51+
}
52+
},
4353
"vcs": {
4454
"enabled": true,
4555
"clientKind": "git",
@@ -64,8 +74,7 @@
6474
"./packages/app-explorer/public/portal-storybook",
6575
"./packages/app-portal/public/**",
6676
"./packages/app-portal/src/types",
67-
"pnpm-lock.yaml",
68-
"**/**/*.json"
77+
"pnpm-lock.yaml"
6978
]
7079
}
7180
}

contracts/predicate/scripts/run-predicate.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { promises as fs } from "node:fs";
2-
import { resolve } from "node:path";
3-
import { BaseAssetId, Predicate, Provider, Wallet, bn, hexlify } from "fuels";
1+
import { promises as fs } from 'node:fs';
2+
import { resolve } from 'node:path';
3+
import { BaseAssetId, Predicate, Provider, Wallet, bn, hexlify } from 'fuels';
44

55
const { FUEL_PROVIDER, PRIVATE_KEY } = process.env;
6-
const BIN_PATH = resolve(__dirname, "../out/debug/predicate-app.bin");
6+
const BIN_PATH = resolve(__dirname, '../out/debug/predicate-app.bin');
77
const AMOUNT = 300_000;
88

99
if (!FUEL_PROVIDER || !PRIVATE_KEY) {
1010
throw new Error(
11-
"Missing some config in .env file. Should have FUEL_PROVIDER and PRIVATE_KEY",
11+
'Missing some config in .env file. Should have FUEL_PROVIDER and PRIVATE_KEY',
1212
);
1313
}
1414

@@ -18,12 +18,12 @@ async function main() {
1818
const wallet = Wallet.fromPrivateKey(PRIVATE_KEY!, provider);
1919
const { minGasPrice: gasPrice } = wallet.provider.getGasConfig();
2020
const walletAddress = wallet.address.toB256();
21-
const abiPath = resolve(__dirname, "../out/debug/predicate-app-abi.json");
22-
const abi = await fs.readFile(abiPath, "utf-8");
21+
const abiPath = resolve(__dirname, '../out/debug/predicate-app-abi.json');
22+
const abi = await fs.readFile(abiPath, 'utf-8');
2323
const abiJson = JSON.parse(abi);
2424
const predicate = new Predicate(binHex, provider, abiJson);
2525

26-
console.log("💰 Funding predicate...");
26+
console.log('💰 Funding predicate...');
2727
const tx1 = await wallet.transfer(predicate.address, AMOUNT, BaseAssetId, {
2828
gasPrice,
2929
});
@@ -35,7 +35,7 @@ async function main() {
3535
console.log(`→ Predicate Id: ${predicate.address.toB256()}`);
3636
console.log(`📝 Wallet address: ${walletAddress}\n`);
3737

38-
console.log("⌛️ Running predicate...");
38+
console.log('⌛️ Running predicate...');
3939
predicate.setData(walletAddress);
4040

4141
try {

contracts/predicate/vitest.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { defineConfig } from "vitest/config";
1+
import { defineConfig } from 'vitest/config';
22

33
export default defineConfig({
44
test: {
5-
include: ["./tests/**.ts"],
5+
include: ['./tests/**.ts'],
66
},
77
});

docker/erc20-deployer/deployer/src/index.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { createServer } from "http";
1+
import { createServer } from 'http';
22
import {
33
getOrDeployECR20Contract,
44
getOrDeployFuelTokenContract,
55
getTokenId,
66
setupEnvironment,
7-
} from "@fuel-bridge/test-utils";
7+
} from '@fuel-bridge/test-utils';
88

99
const {
1010
PORT,
@@ -46,16 +46,16 @@ function startServer(deployments: Record<string, string>) {
4646
return new Promise((resolve) => {
4747
createServer((req, res) => {
4848
switch (req.url) {
49-
case "/health":
50-
res.writeHead(200, { "Content-Type": "text/plain" });
51-
res.end("OK");
49+
case '/health':
50+
res.writeHead(200, { 'Content-Type': 'text/plain' });
51+
res.end('OK');
5252
break;
53-
case "/deployments":
54-
res.writeHead(200, { "Content-Type": "application/json" });
53+
case '/deployments':
54+
res.writeHead(200, { 'Content-Type': 'application/json' });
5555
res.end(JSON.stringify(deployments));
5656
break;
5757
default:
58-
res.writeHead(404, "Not Found");
58+
res.writeHead(404, 'Not Found');
5959
res.end();
6060
}
6161
}).listen(Number(APP_PORT), 511, () => resolve(true));

docker/fuel-core/accounts.json

+80-80
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
11
[
2-
{
3-
"account": "0xc8e615a4089466174459ef19cfd257d2e17adfabff3b8f219dbb5fb4eca87c50",
4-
"privateKey": "0xba9e8401405cd4327119548bccf0cd8b195c3fb716c848d9571c60bb230c6978"
5-
},
6-
{
7-
"account": "0x92dffc873b56f219329ed03bb69bebe8c3d8b041088574882f7a6404f02e2f28",
8-
"privateKey": "0xa349d39f614a3085b7f7f8cef63fd5189136924fc1238e6d25ccdaa43a901cd0"
9-
},
10-
{
11-
"account": "0x456bdaffaf74fe03521754ac445d148033c0c6acf7d593132c43f92fdbc7324c",
12-
"privateKey": "0x139f2cd8db62a9d64c3ed4cdc804f1fb53be98d750cd1432a308b34a42d8dcc7"
13-
},
14-
{
15-
"account": "0x639880ece7753a32e09164d14dad7436c57737e567f18b98f6ee30fec6b247ec",
16-
"privateKey": "0x40aaca08dac67fa0c22b51794f652e20173970cd05a8797f2d3e8393cfc44211"
17-
},
18-
{
19-
"account": "0xfd8c520ef8caff0ad3289aa64acecd4ef86ac8f643fd9b76bf2d163a86a66716",
20-
"privateKey": "0xb58ad4fb072290d03fc2d81cd7534e9bf7360ccad8a48d2799b60bab357255da"
21-
},
22-
{
23-
"account": "0x8247104854dd733cb475901d55047f57cb3c8cafe3a9f7233de3325b8bf56a5c",
24-
"privateKey": "0x4256a670740031e4e7cb7216c9fe8921a4485c187686b7ab0ae7c317d7de0a22"
25-
},
26-
{
27-
"account": "0x53de37ae51fcfecb17ee3589f68904ac75bf5ec109edeb1065ccb63145287da6",
28-
"privateKey": "0x61a006b78a6e9eb5aeb11df25e6444be281893875ae5fdc5fa4a0f4702995cb7"
29-
},
30-
{
31-
"account": "0x17f4bef51f63f0c28af20d4223a3bf5cf1735a3b7ec52b4fcfbdbb5f30582a6b",
32-
"privateKey": "0x04fde5e936f6ff4c9d13ec5df34fef051024e2af615b12e366ff9730652b600a"
33-
},
34-
{
35-
"account": "0x95725e9083d8ed1cb52dcf6429d0cfce00cc375eeac5b620b5c36f5b1e734b31",
36-
"privateKey": "0x4ff733fed7a9310b60b8ea64457b092141d8dbb89a44039ce03bb407b80a68da"
37-
},
38-
{
39-
"account": "0x08792a75d5714165aa117fd75450f9efcfb7124d034ef271f2919e4cc287046c",
40-
"privateKey": "0xe2b6e639a03a76582c553bc49a07848aea014aade9dd3a61a879a6d0743f5214"
41-
},
42-
{
43-
"account": "0x6a16fba49dbdf7689c52b7a22951a54dc164076d27bdc6042b5d8377d68ca10b",
44-
"privateKey": "0xce2f0a265d960ec94f402f71a7e4cdb742f11638c2e9dbeeba0b0edadd64bef2"
45-
},
46-
{
47-
"account": "0x6494a55c0e3da212fdd0515507d00ae99151c7966e1448079c76bc447b577254",
48-
"privateKey": "0x47671a105ad00a5611ce642994ce66cbf8414881192538dc530900417bf1b54e"
49-
},
50-
{
51-
"account": "0xe0e1c94a9f9e02454772813ba6a6261b5228db1fabde3a68b23c0e9744ce22fc",
52-
"privateKey": "0xff008553f920bc698026fcc79c1106f390c2d2c4fc42a50c2fbe963d7090241d"
53-
},
54-
{
55-
"account": "0x425f3e91aedff36e72ae60a8a1d328e625d66d39fcc98d5fcd1ba7df65a9f878",
56-
"privateKey": "0xf083d6a6d008832360899e81a47b7a5122caf2e6490379b983ce0d288224c999"
57-
},
58-
{
59-
"account": "0xe2242f2e4971c34bc6fe5e1c0043b1aba717cb6a51f31f0dc0708cca73df905a",
60-
"privateKey": "0x5b9d7cffb808162ba01c820d73323d4e235b4d06a67998d3fb611102114b10b3"
61-
},
62-
{
63-
"account": "0x6aa67cb316f329111dc708bb766360f5026a614edb11882e14d4cc04f26e0a08",
64-
"privateKey": "0x3d256327cad3a79aa847a5cb9da06391d04da73a9df55fcbad0242ac545074bc"
65-
},
66-
{
67-
"account": "0xef5c2b712c4f3a10a37d6371cab2b03a6afd12e4ffcc9567d45d8c4b6e217e5c",
68-
"privateKey": "0x7579909452c8ba9bafbe4f4f91698509ae334dcaa48f8cd696b71ddfdf917167"
69-
},
70-
{
71-
"account": "0xa82f66642de54993b32036eef7914f2dbaa217aa3209707b64d0b90187456a1f",
72-
"privateKey": "0x15d55a49ba083310671808fd114e4bb9ef8e2fda580e485cb7ab8e1cb2ef8b2b"
73-
},
74-
{
75-
"account": "0x9c9c1f3346b54fe6cb379fa27f338464592515fd865656089c4a23ac34390e6f",
76-
"privateKey": "0xb114389b060050b649a0d04acc1ad67b91eee214896625703ae96cb4b46f8882"
77-
},
78-
{
79-
"account": "0x8a332bc33f4c10ad36392a9ca958a5ddf56081cc764f61613ea119e42ced6ac5",
80-
"privateKey": "0x7c60d419668302d397a35d64b3302efe8979a746c1f825a6a91482b681fbb600"
81-
}
2+
{
3+
"account": "0xc8e615a4089466174459ef19cfd257d2e17adfabff3b8f219dbb5fb4eca87c50",
4+
"privateKey": "0xba9e8401405cd4327119548bccf0cd8b195c3fb716c848d9571c60bb230c6978"
5+
},
6+
{
7+
"account": "0x92dffc873b56f219329ed03bb69bebe8c3d8b041088574882f7a6404f02e2f28",
8+
"privateKey": "0xa349d39f614a3085b7f7f8cef63fd5189136924fc1238e6d25ccdaa43a901cd0"
9+
},
10+
{
11+
"account": "0x456bdaffaf74fe03521754ac445d148033c0c6acf7d593132c43f92fdbc7324c",
12+
"privateKey": "0x139f2cd8db62a9d64c3ed4cdc804f1fb53be98d750cd1432a308b34a42d8dcc7"
13+
},
14+
{
15+
"account": "0x639880ece7753a32e09164d14dad7436c57737e567f18b98f6ee30fec6b247ec",
16+
"privateKey": "0x40aaca08dac67fa0c22b51794f652e20173970cd05a8797f2d3e8393cfc44211"
17+
},
18+
{
19+
"account": "0xfd8c520ef8caff0ad3289aa64acecd4ef86ac8f643fd9b76bf2d163a86a66716",
20+
"privateKey": "0xb58ad4fb072290d03fc2d81cd7534e9bf7360ccad8a48d2799b60bab357255da"
21+
},
22+
{
23+
"account": "0x8247104854dd733cb475901d55047f57cb3c8cafe3a9f7233de3325b8bf56a5c",
24+
"privateKey": "0x4256a670740031e4e7cb7216c9fe8921a4485c187686b7ab0ae7c317d7de0a22"
25+
},
26+
{
27+
"account": "0x53de37ae51fcfecb17ee3589f68904ac75bf5ec109edeb1065ccb63145287da6",
28+
"privateKey": "0x61a006b78a6e9eb5aeb11df25e6444be281893875ae5fdc5fa4a0f4702995cb7"
29+
},
30+
{
31+
"account": "0x17f4bef51f63f0c28af20d4223a3bf5cf1735a3b7ec52b4fcfbdbb5f30582a6b",
32+
"privateKey": "0x04fde5e936f6ff4c9d13ec5df34fef051024e2af615b12e366ff9730652b600a"
33+
},
34+
{
35+
"account": "0x95725e9083d8ed1cb52dcf6429d0cfce00cc375eeac5b620b5c36f5b1e734b31",
36+
"privateKey": "0x4ff733fed7a9310b60b8ea64457b092141d8dbb89a44039ce03bb407b80a68da"
37+
},
38+
{
39+
"account": "0x08792a75d5714165aa117fd75450f9efcfb7124d034ef271f2919e4cc287046c",
40+
"privateKey": "0xe2b6e639a03a76582c553bc49a07848aea014aade9dd3a61a879a6d0743f5214"
41+
},
42+
{
43+
"account": "0x6a16fba49dbdf7689c52b7a22951a54dc164076d27bdc6042b5d8377d68ca10b",
44+
"privateKey": "0xce2f0a265d960ec94f402f71a7e4cdb742f11638c2e9dbeeba0b0edadd64bef2"
45+
},
46+
{
47+
"account": "0x6494a55c0e3da212fdd0515507d00ae99151c7966e1448079c76bc447b577254",
48+
"privateKey": "0x47671a105ad00a5611ce642994ce66cbf8414881192538dc530900417bf1b54e"
49+
},
50+
{
51+
"account": "0xe0e1c94a9f9e02454772813ba6a6261b5228db1fabde3a68b23c0e9744ce22fc",
52+
"privateKey": "0xff008553f920bc698026fcc79c1106f390c2d2c4fc42a50c2fbe963d7090241d"
53+
},
54+
{
55+
"account": "0x425f3e91aedff36e72ae60a8a1d328e625d66d39fcc98d5fcd1ba7df65a9f878",
56+
"privateKey": "0xf083d6a6d008832360899e81a47b7a5122caf2e6490379b983ce0d288224c999"
57+
},
58+
{
59+
"account": "0xe2242f2e4971c34bc6fe5e1c0043b1aba717cb6a51f31f0dc0708cca73df905a",
60+
"privateKey": "0x5b9d7cffb808162ba01c820d73323d4e235b4d06a67998d3fb611102114b10b3"
61+
},
62+
{
63+
"account": "0x6aa67cb316f329111dc708bb766360f5026a614edb11882e14d4cc04f26e0a08",
64+
"privateKey": "0x3d256327cad3a79aa847a5cb9da06391d04da73a9df55fcbad0242ac545074bc"
65+
},
66+
{
67+
"account": "0xef5c2b712c4f3a10a37d6371cab2b03a6afd12e4ffcc9567d45d8c4b6e217e5c",
68+
"privateKey": "0x7579909452c8ba9bafbe4f4f91698509ae334dcaa48f8cd696b71ddfdf917167"
69+
},
70+
{
71+
"account": "0xa82f66642de54993b32036eef7914f2dbaa217aa3209707b64d0b90187456a1f",
72+
"privateKey": "0x15d55a49ba083310671808fd114e4bb9ef8e2fda580e485cb7ab8e1cb2ef8b2b"
73+
},
74+
{
75+
"account": "0x9c9c1f3346b54fe6cb379fa27f338464592515fd865656089c4a23ac34390e6f",
76+
"privateKey": "0xb114389b060050b649a0d04acc1ad67b91eee214896625703ae96cb4b46f8882"
77+
},
78+
{
79+
"account": "0x8a332bc33f4c10ad36392a9ca958a5ddf56081cc764f61613ea119e42ced6ac5",
80+
"privateKey": "0x7c60d419668302d397a35d64b3302efe8979a746c1f825a6a91482b681fbb600"
81+
}
8282
]

0 commit comments

Comments
 (0)