Skip to content

Conversation

@jamaljsr
Copy link
Member

@jamaljsr jamaljsr commented Jan 5, 2023

This PR updates the build-protos.js script to generate the necessary TS/JS library files from the lit-accounts.proto RPC definitions.

The litrpc protos are copied into the proto dir because the sanatize function will add the [jstype = JS_STRING] modifier to unint64 values. I didn't think it was a good idea to have the script overwrite the source files in the litrpc dir. I'm open to feedback on this.

@guggero
Copy link
Contributor

guggero commented Jan 5, 2023

I've created a fix for the linter issue in #473.

Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@jamaljsr jamaljsr force-pushed the add-account-rpc-types branch from 960d91b to 36f3e29 Compare January 5, 2023 14:24
@jamaljsr
Copy link
Member Author

jamaljsr commented Jan 5, 2023

Rebased on master to resolve the linter failing.

@jamaljsr jamaljsr force-pushed the add-account-rpc-types branch from 36f3e29 to 342cf24 Compare January 5, 2023 14:56
@jamaljsr jamaljsr requested a review from itsrachelfish January 5, 2023 15:19
@jamaljsr jamaljsr merged commit 7b1b8e3 into master Jan 6, 2023
@guggero guggero deleted the add-account-rpc-types branch January 6, 2023 07:02
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