Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Project organization plan

Aperta
#512 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Il payload non nomina file né test; inizia esaminando la struttura attuale del repository Foundry e i componenti module, coordinator, app-descriptor e Mold menzionati nella proposta. Mappa questi componenti rispetto ai tre gruppi proposti e definisci l’ambito della migrazione; il lavoro è completato quando è disponibile un piano organizzativo approvato da un maintainer.

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

Descrizione

Current Foundry's project structure is somewhat tangled.
I suggest following new structure.

  1. We have a separate repo for types/traits/utilities widely used in the host and modules. (Let's say foundry-suite) Some types might have their async-graphql implementations. The module author will import both module-rt and foundry-suite.
    Also, the coordinator - module interfaces are included here as well.

  2. App descriptor is separated into two independent parts: Foundry configuration (genesis config, transaction services) and general linking instructions (export, import, init config). Let's say the latter as a 'link descriptor'.

  3. We keep the module system (Mold) pure, not involved in any blockchain context. It will be only about sandbox, links, communication and bootstrapping. Here are the components included

  • RTO
  • module-rt
  • sandbox implementations
  • link-desc (see section 2)
  • weaver
  • codechain-module (linkable, linker, Port, ...)
  1. Coordinator will be just one use case of Mold, with some predefined services to import and export (coordinator - module interfaces).

  2. We publish Mold as a general framework, which can be used widely out of blockchain context.

Doing this, we can have three clearly separated groups.

  1. The consensus engine: Anything below the engine interface. DB, Tendermint, P2P, GraphQL server and so on. Current foundry repo will be about them.

  2. The general module system: As described above.

  3. The bridge between 1. and 2. : Coordinator, types, predefined services, utilities, ...

Any comments are welcome.

Lingua principale
Rust
Stelle
36
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodeChain-io/foundry

Tutte le issue di CodeChain-io/foundry

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.