paritytech / jsonrpsee

Rust JSON-RPC library on top of async/await
MIT License
629 stars 169 forks source link

chore: remove direct tracing calls from proc-macros #1405

Closed DaniPopes closed 2 months ago

DaniPopes commented 3 months ago

This significantly reduces the amount of code generated by the rpc macro. I've also taken the liberty to refactor some of the proc macro code to make it more maintainable.

For example, on the reth-rpc-api crate (just #[rpc(server)]):

DaniPopes commented 2 months ago

Hey @niklasad1 anything left to do here?