Manta-Network / manta-rs

Rust Crates for the Manta Network Ecosystem

Home Page:https://github.com/Manta-Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suboptimal serialization

SupremoUGH opened this issue · comments

The byte measurement tests in #303 hint that we might not be optimally encoding our TransferPosts. For example, a back-of-the-envelope computation gives a length of 497 bytes for a ToPrivate TransferPost, but the test returns:

Serde_json encoding: 2241
Bincode encoding: 668