mina-indexer icon indicating copy to clipboard operation
mina-indexer copied to clipboard

Store raw JSON bytes instead of the serialized `PrecomputedBlock` bytes

Open Isaac-DeFrain opened this issue 10 months ago • 5 comments

BlockStore function add_block currently takes a &PrecomputedBlock and we store the bytes from serde_json::to_vec() in the db. We should store the contents of a BlockFileContents instead.

Isaac-DeFrain avatar Apr 04 '24 23:04 Isaac-DeFrain