Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Project organization plan

Đang mở
#512 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
backend, blockchain

Hướng nghiên cứu

Payload không nêu tên tệp hay test nào; hãy bắt đầu bằng việc xem xét cấu trúc repository Foundry hiện tại và các component module, coordinator, app-descriptor và Mold được nêu trong proposal. Đối chiếu các component đó với ba group được đề xuất và xác định phạm vi migration; yêu cầu để hoàn tất là có một organization plan được maintainer phê duyệt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
36
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeChain-io/foundry

Tất cả issue của CodeChain-io/foundry

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.