Verifiable builds: compare the CI wasm hash with the deployed contract
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, wasm
- Lĩnh vực
- blockchain, build-system, ci-cd
Hướng nghiên cứu
Start with .github/workflows/contract.yml to see where the wasm artifact is built and uploaded, then read contracts/deployment.testnet.json and contracts/DEPLOYMENT.md to see how wasmHash is recorded. Add a sha256 step that writes the hash to the job summary, and a script in scripts/ that compares a local build against the manifest and reports any mismatch. Done when the CI summary shows the hash, the script exits non-zero on mismatch, and the reproducibility findings are documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Difficulty: Advanced
Problem
CI uploads the built wasm, and contracts/deployment.testnet.json records the deployed wasmHash, but nothing checks that a given commit actually produces that hash. The deployed hash (from July) predates later source changes.
Why it matters
"The deployed contract matches the source" is a core trust claim for an invoicing and payments contract.
Scope of work
Compute the sha256 of the CI wasm artifact and print it in the job summary; document how to reproduce the build locally; add a script that compares the built hash with deployment.testnet.json and reports a mismatch clearly. Investigate whether the build is reproducible across machines (toolchain pinning).
Expected outcome
Anyone can verify which source commit a deployed contract corresponds to.
Acceptance criteria
- The CI summary shows the wasm sha256.
- A documented script compares it with the manifest.
- Reproducibility findings and any toolchain pinning are documented.
Relevant files
.github/workflows/contract.yml,contracts/DEPLOYMENT.md,contracts/deployment.testnet.json,scripts/(new script)
Dependencies
Pairs well with #54.
Maintainer discussion needed?
No.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 4
- Merge trung bình
- 54 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Yormee-103/PayLoop
-
Add a CHANGELOG and release-notes conventionCó thể đã có người làm @Sharon-dev-create đã nhận hôm nay. Đang mởdifficulty: beginner documentation dx help wanted Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Yormee-103/PayLoop#169 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Glossary of Stellar and PayLoop terms, linked from the Help pageCó thể đã có người làm @Yemmy88 đã nhận hôm nay. Đang mởdifficulty: beginner documentation good first issue help wanted Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Yormee-103/PayLoop#168 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
difficulty: beginner dx good first issue help wanted web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Yormee-103/PayLoop#158 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
difficulty: beginner documentation good first issue help wanted security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Yormee-103/PayLoop#145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a11y difficulty: beginner good first issue help wanted web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Yormee-103/PayLoop#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Yormee-103/PayLoop
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-canvas bug oh-gpt-fleet priority:medium ready-for-dev UI/UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue javascript test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
writerslogic/scrivener-mcp#272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triaged tui ux wontfix
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày