eqlabs / pathfinder

A Starknet full node written in Rust
https://eqlabs.github.io/pathfinder/
Other
619 stars 227 forks source link

RPC: implement `SerializeForVersion` for RPC v0.6 #2047

Open Mirko-von-Leipzig opened 3 months ago

Mirko-von-Leipzig commented 3 months ago

Requires #1830.

Once #1830 is completed, all methods should be available for use which enables switching to using these for all RPC versions.

I propose only doing this once RPC version v0.4 and v0.5 have been removed. This (a) lessens the work, and (b) is safer since some methods have changed semantically (and have different error types for example).

This leaves RPC v0.6: