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

Write proc-macro to automatically declare and implement the Rpc trait. #187

Closed
richardpringle opened this issue Jun 26, 2023 · 3 comments
Closed
Assignees

Comments

@richardpringle
Copy link
Collaborator

Right now, one has to create an Rpc trait, define all the methods, then define the implementation. It would be way nicer if we could just have one impl block that both defined the trait as well as the implementation. This should be pretty easy to accomplish with our own proc-macro.

TODO:
write example of desired output

@richardpringle richardpringle self-assigned this Jun 26, 2023
@richardpringle
Copy link
Collaborator Author

@hexfusion, should I move this issue to https://github.com/ava-labs/avalanche-rs?

@hexfusion
Copy link
Contributor

sure

@richardpringle
Copy link
Collaborator Author

Closing in favour of ava-labs/avalanche-rs#62

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

No branches or pull requests

2 participants