Skip to content
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

Create rpc-types crate that can be compiled for wasm32 #7140

Open
ijerkovic opened this issue Jun 29, 2022 · 3 comments
Open

Create rpc-types crate that can be compiled for wasm32 #7140

ijerkovic opened this issue Jun 29, 2022 · 3 comments
Labels
community Issues created by community

Comments

@ijerkovic
Copy link

The issue here is similar to near crypto for wasm32 issue, the core/primitives depends on rand and therefore can not be included as dependency.

I guess most of the rpc-types are here:
https://github.com/near/nearcore/blob/master/core/primitives/src/views.rs

We copy-pasted the structs for our needs, but in long term an rpc-types crate would be handy

@ijerkovic
Copy link
Author

@medicz @chefsale

@chefsale
Copy link
Contributor

@matklad
Copy link
Contributor

matklad commented Jun 30, 2022

cc @miraclx, I think this'll just fall-out naturally from the work we are doing on creating the rpc types/primitives crate.

@telezhnaya telezhnaya added the community Issues created by community label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues created by community
Projects
None yet
Development

No branches or pull requests

5 participants
@ijerkovic @matklad @chefsale @telezhnaya and others