Skip to content

Commit

Permalink
for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awisniew207 committed Feb 19, 2025
1 parent edefa24 commit 29eca1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ export async function getPkpSessionSigs(litNodeClient: any, pkpPublicKey: string
};

// Get capacity delegation auth sig for datil networks before session sigs
if (process.env.NETWORK === "datil-test" || process.env.NETWORK === "datil") {
if (config.network === "datil-test" || config.network === "datil") {
const signer = getSigner();

const capacityTokens = await queryCapacityCredits(signer);
Expand Down
2 changes: 1 addition & 1 deletion tests/routes/auth/pkpsign.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PKP_PERMISSIONS_ABI = [
'function getDelegatees(uint256 pkpTokenId) external view returns (address[] memory)'
];

const networks: NetworkType[] = ['datil-dev', 'datil-test', 'datil'];
const networks: NetworkType[] = ['datil-dev']//, 'datil-test', 'datil'];

describe.each(networks)('pkpsign Integration Tests on %s', (network) => {
let app: express.Application;
Expand Down

0 comments on commit 29eca1d

Please sign in to comment.