-
Notifications
You must be signed in to change notification settings - Fork 88
Feature/jss 32 naga sdk add rpc env var for e2e and artillery tests #854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Ansonhkg
merged 17 commits into
feat/naga-dev-29-05-2025-v2
from
feature/jss-32-naga-sdk-add-rpc-env-var-for-e2e-and-artillery-tests
Aug 11, 2025
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
54b0bdc
feat(networks): add fresh price feed fetcher to network modules
Ansonhkg 39e6788
fix(e2e): update transport configuration to support custom RPC URL
Ansonhkg 47185ac
chore: reverting changes as we have a separate PR for these:
Ansonhkg 14b4185
revert changes as feature is added in another PR
Ansonhkg 87e7638
feat(e2e): add end-to-end testing workflow for Naga, pkpSign for now.
Ansonhkg de40fad
chore(e2e): enhance workflow by adding code checkout step and improvi…
Ansonhkg 79b0077
chore(e2e): update environment variables and add timeout for health c…
Ansonhkg b3c6e23
feat: add prettier on build packages
Ansonhkg 9b3897d
fmt
Ansonhkg e0696c3
chore(e2e): streamline health checks and remove redundant environment…
Ansonhkg dcf69e9
removing old CI tests for now
Ansonhkg ee0ef98
fmt
Ansonhkg 30e04dc
chore: update CI workflow to support multiple branches and switch to …
Ansonhkg 14c54a0
chore(e2e): update health check commands to run all tests with increa…
Ansonhkg b54c23a
chore(e2e): mask sensitive parts of custom RPC URL in logs
Ansonhkg c48d2e9
chore(e2e): remove unused workflow_dispatch inputs from e2e CI config…
Ansonhkg 2fb80de
Merge pull request #855 from LIT-Protocol/feature/jss-31-naga-datil-j…
Ansonhkg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,5 +1,5 @@ | ||||
| import { createAuthManager, storagePlugins } from "@lit-protocol/auth"; | ||||
| import { createLitClient } from "@lit-protocol/lit-client"; | ||||
| import { createLitClient, LitClientType } from "@lit-protocol/lit-client"; | ||||
| import { z } from "zod"; | ||||
| import * as StateManager from "../StateManager"; | ||||
| import * as NetworkManager from "../../../src/helper/NetworkManager"; | ||||
|
|
@@ -16,7 +16,7 @@ const PkpSignResultSchema = z.object({ | |||
| }); | ||||
|
|
||||
| // Global variables to cache expensive operations | ||||
| let litClient: any = null; | ||||
| let litClient: LitClientType; | ||||
| let authManager: any = null; | ||||
| let masterAccountAuthContext: any = null; | ||||
| let networkModule: any = null; | ||||
|
|
@@ -113,6 +113,7 @@ export async function runPkpSignTest() { | |||
| authContext: authContext, | ||||
| pubKey: state.masterAccount.pkp.publicKey, | ||||
| toSign: `Hello from Artillery! ${Date.now()}`, // Unique message per request | ||||
| // userMaxPrice: 1000000000000000000n, | ||||
|
||||
| // userMaxPrice: 1000000000000000000n, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The litClient variable is declared without initialization but used in conditional checks. This will cause a TypeScript error since LitClientType doesn't include undefined. Consider initializing as
let litClient: LitClientType | null = null;to match the previous pattern.