Skip to content

Feat/rc naga 2025 04 07 #813

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

Open
wants to merge 41 commits into
base: LIT-4211-auth-refactor
Choose a base branch
from

Conversation

Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Apr 7, 2025

WHAT

WIP This is a temporary branch for internal naga dev testing:

Tests

NETWORK=naga-dev DEBUG=true yarn test:local --filter=testUseEoaSessionSigsToPkpSign,testUseEoaSessionSigsToExecuteJsSigning,testUseEoaSessionSigsToEncryptDecryptString --exclude=Parallel

❗️1 test failed, seems like Lit Action server isn't up. cc @glitch003 (already cc-ed in Slack)
image

❗️NOTE to self or everyone else: In this test, we are still hardcoding realm = 1 when we first connected to the nodes, contract calls that requires realmId in the param are however dynamically updated (as required). In the follow up PR, we might need to use the getAllReservedValidators function (which is not in this lit-assets commit atm.), and maybe we can use the numRealms function to check how many realms are there. If there's only one, use that; If not, we randomly choose one. Also note that pricing needs to choose the cheapest set of nodes. And If i select a threshold of nodes, they need to come from the same realms)

Related PRs from other repos:

mikelodder7 and others added 30 commits January 28, 2025 09:18
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
…007-js-sdk-add-frost-support-unified-combiner

# Conflicts:
#	local-tests/tests/testUseEoaSessionSigsToPkpSign.ts
#	packages/constants/src/lib/constants/curves.ts
#	packages/core/src/lib/lit-core.ts
#	packages/crypto/src/lib/crypto.ts
#	packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts
#	packages/pkp-base/src/lib/pkp-base.ts
#	packages/types/src/lib/interfaces.ts
…e extra validation leaving it as consumer responsibility
…-frost-support-unified-combiner

feat: unified combiner for multiple signing schemes aggregation
…`lastRewardEpoch`. Unused, but just for refrences these are updated abis
Signed-off-by: Michael Lodder <mike@litprotocol.com>
@Ansonhkg Ansonhkg marked this pull request as ready for review April 10, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants