marigold-dev / deku

MIT License
80 stars 16 forks source link

Add block_storage load block and votes test #1011

Open InfiniteSwerve opened 1 year ago

InfiniteSwerve commented 1 year ago

Depends

Problem

We want to ensure that our block_storage can save and load block-votes pairs

Solution

This PR saves and loads a block-votes pair. This involves encoding and decoding the block-votes pairs, which adds more entropy to the test.