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

TODOS for organization, improvements, processes and documentation

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

@davekay100 đang làm issue này rồi.

Từ ngày 13/1/2021.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Organization

  • Remove all fields that are not implemented, or label them NOT IMPLEMENTED
  • Clean up the schema
  • Clean up all the mappings and other files

Improvements to the Subgraph

  • Add in the proxy implementation code (it is commented out and now working)
  • Add a field that shows total delegation fees paid by a delegator, all time
  • Renaming of fields
    • totalStaked on Delegators should really be called totalDelegated
  • Rename all fields and names from signalled to signaled
  • Add collected GRT to the epoch, to go alongside rebate amount
  • Move GRT and transfers out of the main subgraph (some discussion still needed here)
  • Implement GRT in USD and ETH by querying the uniswap subgraph (you could argue this should be in the GRT balances subgraph, as it would cause a ton of txs as well
  • Load AND CREATE all entities by default to avoid future bugs
  • Remove lastRunEpoch

Process improvements

  • Start following standard Graph QL api upgrading procedures
  • Look into hiding deprecated fields in Graph QL
  • Figure out the best way to set up a hook or github action for the subgraph
  • Develop an updating process:
    • Changelog
    • Release versions (on github, no need for NPM right now)
    • For Versions, have the subgraph ID in a file in the code, automatically updated
    • Consider doing monthly updates, and running a dev subgraph and a prod subgraph
  • Linting on push

Documentation for the subgraph

  • Explain parts per million
  • Deep explanation on subgraphs vs. subgraph deployments (might be able to dig up docs on notion)
  • Explain CURRENT and cumulative
  • Explain GRT values are all 10^18
  • Explain how network issuance rate works ( 1.000000012184945188^(3656060*24/13) )
  • Explain subgraph metadata for semantic versioning
  • Document all mappings
  • See if we can autogen docs from the schema
  • See if we can autogen docs from the event signatures
Ngôn ngữ chính
TypeScript
Star
82
Fork
47
Merge trung bình
7 ngày 3 giờ
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 graphprotocol/graph-network-subgraph

Tất cả issue của graphprotocol/graph-network-subgraph

Issue tương tự

Thêm issue về TypeScript

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.