-
Notifications
You must be signed in to change notification settings - Fork 0
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
getlit
tool is possibly out of date
#18
Comments
I think it's a matter of declaring your Lit Action within a string template like so. It looks like For additional reference, there are more examples |
I'm curious how your |
Hi spacesailor and thank you for your support ! Here is the link to the repo : git repo I've been checking the example but if I'm not mistaken, all the examples are using the passed JSparams inside the sign function so I was not sure if those params were available from the whole lit-action. Thank you for your confirmation ! It's just the basic getlit cmd init + the fetch example. In fact, the condition of the fetch was hiding another error signing error (present also in the main action):
So I used 'npx getlit setup' to generate a new PKP, but I have this error message getting the AuthSign : I could generate the PKP but I guess the authsign error remains and I now have a Swile error : Since it's the expirationTime of the getLit.json that is causing an error I tried to change the expirationTime of the signedMessage / switching browser & cleaning up the getlit.json without success |
In your [ |
Sure, it's actually the same as in the screenshot.
|
Is that SIWE message hardcoded? It's expired:
So which error are you getting? The original The |
About the SIWE message in the authSig, I can't update it, the workaround I found is to create a new wallet each time it expire (so everyday). Here is a step by step guide to reproduce the
And on the 2nd run, I get this error :
|
Thank you for the steps, I will investigate further |
Is this a limitation specific to your implementation, or is there an issue using the SDK to generate new AuthSigs? Also I was able to reproduce the
error, so I'll escalate this and get back to you when I have an update! |
Thank you very much ! 🙏 About the new AuthSigs I don't know. I think it was working without any trouble the first time, I guess the issue appeared later. |
@bertrandbuild I don't see code to generate an auth sig in your repo, can you share that code and we can help debug that as well? |
Ah yea I see now that |
@bertrandbuild In the meantime, can you tell me more about what you're trying to accomplish with Lit and I can help you get started with integrating Lit? |
Alright, noted about the ps: maybe the issue can be renamed to better match the trouble with the getlit tool ? |
getlit
tool is possibly out of date
Do you want to share your code without using Also renamed the issue, thank you for the suggestion! |
thank you very much @spacesailor24 for your support. Here is a point I would need help with :
However, when I try to replace the Here is the details of my code + the errors. Thx a lot for your support
|
Description of the issue
Updating the description for clarification of the current issue:
Running the following to reproduce yields the
There was an error getting the signing shares from the nodes
error:npx getlit action
npx getlit setup
foo.action.ts
npx getlit watch main
npx getlit watch main
@lit-protocol/lit-node-client-nodejs
npx getlit watch main
@josh Mentioned that
getlit
could be out of date and could be causing an issue - @wyatt to investigateHi there !
I would like to pass params into a lit action.
I could find the jsParams but if I'm not mistaken, those params are only available into the LitActions.signEcdsa function, is it right ?
I tried using jsParams and executeJs but I'm still having this error.
Is there a way to do this ? Particularly I need to pass conditional params to fetch an api
Thank you in advance !
Additional context
No response
The text was updated successfully, but these errors were encountered: