Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
fix: import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
me505 committed Jul 15, 2023
1 parent e245a91 commit 2bbd101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/configs/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const DEFAULT_TIME_RANGE_FOR_MAX_ISSUE_ENABLED = true;
export const DEFAULT_FOLLOWUP_TIME = "4 days"; // 4 days
export const DEFAULT_DISQUALIFY_TIME = "7 days"; // 7 days

export const DEFAULT_NETWORK_ID = 1; // ethereum
export const DEFAULT_EVM_NETWORK_ID = 1; // ethereum
export const DEFAULT_RPC_ENDPOINT = "https://rpc-bot.ubq.fi/v1/mainnet";
export const DEFAULT_PERMIT_BASE_URL = "https://pay.ubq.fi";
export const COMMAND_INSTRUCTIONS = generateHelpMenu();
4 changes: 2 additions & 2 deletions src/utils/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DEFAULT_NETWORK_ID, DefaultPriceConfig } from "../configs";
import { DEFAULT_EVM_NETWORK_ID, DefaultPriceConfig } from "../configs";
import { CommentElementPricing } from "../types";
import { WideLabel, WideOrgConfig, WideRepoConfig } from "./private";

Expand All @@ -8,7 +8,7 @@ export const getNetworkId = (parsedRepo: WideRepoConfig | undefined, parsedOrg:
} else if (parsedOrg && parsedOrg["evm-network-id"] && !Number.isNaN(Number(parsedOrg["evm-network-id"]))) {
return Number(parsedOrg["evm-network-id"]);
} else {
return DEFAULT_NETWORK_ID;
return DEFAULT_EVM_NETWORK_ID;
}
};

Expand Down

0 comments on commit 2bbd101

Please sign in to comment.