Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Jan 22, 2025
1 parent dd1f402 commit 1930c11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import _ from "lodash";
dotenv.config({ path: path.resolve(__dirname, "..", ".env.test") });

const CHAIN_ENDPOINT = requireEnvVar("CHAIN_ENDPOINT");
// CHAIN_ID can be fetch from CHAIN_ID but when running test it hit RPC everytime to get that and slow the test so we just define in the env similar to how we define CHAIN_ENDPOINT
const CHAIN_ID = parseInt(process.env.CHAIN_ID || 11155111);
console.log("CHAIN_ENDPOINT", CHAIN_ENDPOINT, "CHAIN_ID", CHAIN_ID);

Expand Down

0 comments on commit 1930c11

Please sign in to comment.