foundry
foundry copied to clipboard
Enhance RLP to support map
Currently, stake module implements the encoding/decoding for the map. https://github.com/CodeChain-io/codechain/blob/5baa5768d381589ddfc450d774900dcf48cf2bb8/core/src/consensus/stake/action_data.rs#L227 IMO, it's better to move it to the rlp module.