Skip to content

Commit b54c23a

Browse files
committed
chore(e2e): mask sensitive parts of custom RPC URL in logs
1 parent 14c54a0 commit b54c23a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

e2e/src/helper/NetworkManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const getViemPublicClient = async ({
5353

5454
const customRpcUrl = process.env['LIT_YELLOWSTONE_PRIVATE_RPC_URL'];
5555
if (customRpcUrl) {
56-
console.log(`🔧 Using custom E2E RPC URL: ${customRpcUrl}`);
56+
console.log(`🔧 Using custom E2E RPC URL: ***${customRpcUrl.slice(-6)}`);
5757
}
5858

5959
const publicClient = createPublicClient({

e2e/src/helper/fundAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const fundAccount = async (
8080
) => {
8181
const customRpcUrl = process.env['LIT_YELLOWSTONE_PRIVATE_RPC_URL'];
8282
if (customRpcUrl) {
83-
console.log(`🔧 Using custom E2E RPC URL: ${customRpcUrl}`);
83+
console.log(`🔧 Using custom E2E RPC URL: ***${customRpcUrl.slice(-6)}`);
8484
}
8585

8686
// check account balance

0 commit comments

Comments
 (0)