CodeChain-io / CodeChain-io/foundry

Improve RLP macros

Aperta
#99 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
refactoring
Lingua principale
Rust
Stelle
36
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the existing RLP implementation and Ethereum's procedural macros at paritytech/rlp, then read the related discussion in CodeChain-io/foundry#65. The issue does not identify files, tests, or a specific macro design, so the desired functionality and completion criteria need to be defined before implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
blockchain
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.