-
Notifications
You must be signed in to change notification settings - Fork 87
Feat/naga shiva #989
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
base: naga
Are you sure you want to change the base?
Feat/naga shiva #989
Conversation
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.
Pull Request Overview
This PR refactors the e2e package exports by:
- Alphabetically organizing existing exports
- Exporting new test helper functions and types for creating test environments and accounts
- Making the
registerPaymentDelegationTicketSuitefunction available through the package's public API
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/e2e/src/index.ts | Reorganizes exports alphabetically, adds exports for new test helper functions (createEnvVars, createTestAccount, createTestEnv) and the payment delegation ticket suite |
| packages/e2e/src/e2e.spec.ts | Updates import to use registerPaymentDelegationTicketSuite from the package's public API instead of a relative import |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| export { printAligned } from './helper/utils'; | ||
| export type { AuthContext } from './types'; | ||
|
|
||
| // re-export new helpers that should be used to refactor the `init.ts` proces |
Copilot
AI
Nov 3, 2025
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.
Corrected spelling of 'proces' to 'process'.
| // re-export new helpers that should be used to refactor the `init.ts` proces | |
| // re-export new helpers that should be used to refactor the `init.ts` process |
WHAT
Edge cases
1. missingVerificationKey
The node responded with a payload encrypted under a verification key the client doesn’t recognise. Essentially, it means the node has loaded a new epoch’s share before the client re-handshook.
Fix: Trigger a handshake refresh and rebuild the JIT context. The next request will include the updated verification key mapping and succeed.
2. networkFetch
One or more nodes are temporarily offline (e.g., killed or rebooting).
Fix: Refresh the handshake so the dead node is pruned from serverKeys, then rerun the request.
3. noValidShares
The client successfully received responses, but none contained valid key shares or signatures meeting the network’s threshold.
Fix: Refresh the handshake to rebuild the JIT context without the missing node, and rerun the action so the result is combined from the remaining shares.