CodeChain-io / CodeChain-io/foundry

Improve RLP macros

Open
#99 6 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
Rust
Stars
36
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Our RLP heavily depends on Ethereum's implementation(https://github.com/paritytech/rlp).
They provide some procedural macros that generate encoding/decoding code for basic objects,
but it lacks of many details and functionality.
Though it helps on some level, we had to manually implement encoding/decoding routines in many cases.
I believe that there will be countless new types of data that should be serialized, and we are going to code repetitive functions again and again if there's no some new powerful metaprogramming support.

(see https://github.com/CodeChain-io/foundry/issues/65)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.