Skip to content

Conversation

@GTC6244
Copy link
Contributor

@GTC6244 GTC6244 commented Dec 16, 2025

WHAT

Initially meant to just adapt the end-user concept, there was no way to test without actually making changes directly in the nodes and add in the endpoints.

  • Refactored key_set_id handling from Option to &str for more consistent parameter passing
  • Added Datil contract integration and authentication support
  • Introduced keyset utility functions for managing default keysets
  • Updated string formatting throughout the codebase to use inline format syntax
  • Added support for Datil PKP operations in tests

GTC6244 and others added 30 commits November 24, 2025 16:29
…PKP assertions across chain

This is incomplete.
…PKP assertions across chain

This is incomplete.
@GTC6244 GTC6244 marked this pull request as ready for review January 5, 2026 15:34
Copilot AI review requested due to automatic review settings January 5, 2026 15:34
Copy link
Contributor

Copilot AI left a 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 adapts the end-user concept to support PKPs (Programmable Key Pairs) in both Naga and Datil chains. The main changes include:

  • Refactored key_set_id handling from Option<String> to &str for more consistent parameter passing
  • Added Datil contract integration and authentication support
  • Introduced keyset utility functions for managing default keysets
  • Updated string formatting throughout the codebase to use inline format syntax
  • Added support for Datil PKP operations in tests

Reviewed changes

Copilot reviewed 145 out of 147 changed files in this pull request and generated no comments.

Show a summary per file
File Description
rust/lit-node/lit-node/src/utils/keysets.rs New utility module for keyset management including default keyset retrieval
rust/lit-node/lit-node/src/utils/datil_contract.rs New module for Datil contract interactions
rust/lit-node/lit-node/src/pkp/auth/datil.rs New authentication module for Datil PKPs
rust/lit-node/lit-node/src/tss/common/curve_state.rs Refactored to use non-optional key_set_id
rust/lit-node/lit-node/src/endpoints/web_client.rs Updated to use default keyset utilities
rust/lit-node/lit-node/src/pkp/utils.rs Added Datil-specific pubkey routing logic
rust/lit-node/lit-node-testnet/src/testnet/datil/contracts.rs New Datil contracts wrapper
Multiple test files Updated to pass key_set_id parameters and use new APIs
Multiple files String formatting updates (cosmetic changes)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GTC6244 GTC6244 changed the title Feature/node 4876 adapt the end user to support pkps in both chains Feature/node 4876 - using both chains in some tests ( adapt end user to support pkps in both chains ) Jan 5, 2026
Base automatically changed from feature/node-4874-support-multiple-chains-at-anvil-level to keysets January 6, 2026 18:25
@GTC6244 GTC6244 merged commit 8cbff16 into keysets Jan 8, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants