You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We serialize TrieUpdates and StorageTrieUpdates using hex encoding for nibbles. It's fine for a human-readable format like JSON, but suboptimal for a binary one like bincode.
Problem
We serialize
TrieUpdates
andStorageTrieUpdates
using hex encoding for nibbles. It's fine for a human-readable format like JSON, but suboptimal for a binary one like bincode.reth/crates/trie/trie/src/updates.rs
Lines 11 to 14 in b29d81c
reth/crates/trie/trie/src/updates.rs
Lines 119 to 124 in b29d81c
Solution
Provide a custom serde implementation for these structs via
serde_as
, similar to #11331.The text was updated successfully, but these errors were encountered: