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

create and release emit no events, so off-chain indexers must poll get_status

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Từ ngày 17/10/2026.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
postgresql, typescript
Lĩnh vực
backend, blockchain

Hướng nghiên cứu

Start by locating the contract entrypoints for create, release, and refund, along with the existing env.events().all() assertions and README schema documentation. Follow the existing ledger timestamp and transaction event patterns, then define topic and data fields consistently across all three calls. Done means each call emits the documented event and its tests assert the expected topic and payload.

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

Mô tả

contract enhancement soroban-contract Stellar Wave

Problem

None of the entrypoints publish an event (a refund-event issue is already open, #1873). Without create and release events the backend's submission processor and any indexer can only learn about state changes by simulating get_status per escrow, which adds RPC load and cannot show who triggered a change.

Proposed change

Publish events on create, release and refund with topics (symbol, escrow_id) and data containing payer, beneficiary, amount and ledger timestamp. Document the schema in the README and add event assertions to the tests.

Acceptance criteria

  • env.events().all() contains the expected event after each call; schema documented.
Ngôn ngữ chính
TypeScript
Star
16
Fork
225
Merge trung bình
10 giờ 53 phút
Pull request đã merge (30 ngày)
66

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 DistinctCodes/ManageHub

Tất cả issue của DistinctCodes/ManageHub

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.