Skip to content

Commit ca22cbd

Browse files
committed
fixed lint issues
1 parent 688b200 commit ca22cbd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ const config: HardhatUserConfig = {
701701
: (process.env.FORK_PROVIDER || process.env.BASE_RPC || "https://base-mainnet.public.blastapi.io"),
702702
blockNumber: (() => {
703703
// Determine which chain is being forked
704-
const chain = (process.env.DRY_RUN || process.env.FORK_TEST || 'BASE').toUpperCase();
704+
const chain = (process.env.DRY_RUN || process.env.FORK_TEST || "BASE").toUpperCase();
705705
// Look up the per-chain fork block number
706706
const blockVar = `FORK_BLOCK_NUMBER_${chain}`;
707707
const blockNumber = process.env[blockVar];

scripts/get-blocks.mjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { ethers } from 'ethers';
1+
import {ethers} from "ethers";
22

33
const chains = {
4-
'BASE': process.env.BASE_RPC || 'https://base-mainnet.public.blastapi.io',
5-
'ETHEREUM': process.env.ETHEREUM_RPC || 'https://eth-mainnet.public.blastapi.io',
6-
'ARBITRUM_ONE': process.env.ARBITRUM_ONE_RPC || 'https://arbitrum-one.public.blastapi.io',
7-
'OP_MAINNET': process.env.OP_MAINNET_RPC || 'https://public-op-mainnet.fastnode.io',
8-
'POLYGON_MAINNET': process.env.POLYGON_MAINNET_RPC || 'https://polygon-bor-rpc.publicnode.com',
9-
'AVALANCHE': process.env.AVALANCHE_RPC || 'https://avalanche-c-chain-rpc.publicnode.com',
10-
'BSC': process.env.BSC_RPC || 'https://bsc-mainnet.public.blastapi.io',
11-
'LINEA': process.env.LINEA_RPC || 'https://linea-rpc.publicnode.com',
4+
"BASE": process.env.BASE_RPC || "https://base-mainnet.public.blastapi.io",
5+
"ETHEREUM": process.env.ETHEREUM_RPC || "https://eth-mainnet.public.blastapi.io",
6+
"ARBITRUM_ONE": process.env.ARBITRUM_ONE_RPC || "https://arbitrum-one.public.blastapi.io",
7+
"OP_MAINNET": process.env.OP_MAINNET_RPC || "https://public-op-mainnet.fastnode.io",
8+
"POLYGON_MAINNET": process.env.POLYGON_MAINNET_RPC || "https://polygon-bor-rpc.publicnode.com",
9+
"AVALANCHE": process.env.AVALANCHE_RPC || "https://avalanche-c-chain-rpc.publicnode.com",
10+
"BSC": process.env.BSC_RPC || "https://bsc-mainnet.public.blastapi.io",
11+
"LINEA": process.env.LINEA_RPC || "https://linea-rpc.publicnode.com",
1212
};
1313

1414
async function getBlockNumber(name, url) {
@@ -26,7 +26,7 @@ async function getBlockNumber(name, url) {
2626
}
2727

2828
async function main() {
29-
console.log('# Fetching current block numbers...');
29+
console.log("# Fetching current block numbers...");
3030
for (const [name, url] of Object.entries(chains)) {
3131
await getBlockNumber(name, url);
3232
}

0 commit comments

Comments
 (0)