fix(serializers): mark event_index read-only in ContractEventSerializer
Maintainer thường phản hồi trong vòng 2 ngày
@mathstickz đang làm issue này rồi.
Từ ngày 19/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Files: django-backend/soroscan/ingest/serializers.py (ContractEventSerializer, ~line 361)
Problem: event_index is exposed as a writable field (it appears in Meta.fields but is absent from read_only_fields, which does include status), so an API client could attempt to overwrite an indexed event's position.
Approach: Add event_index to read_only_fields (indexed-event data is server-owned).
Acceptance criteria:
-
event_indexis read-only. - Existing create/update flows unaffected.
- Test added.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 119
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 111
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 SoroScan/soroscan
-
ci: add manage.py check --deploy to the Django workflowCó thể đã có người làm @benedictworks-home đã nhận 4 ngày trước. Đang mởci/cd django good first issue Stellar Wave trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SoroScan/soroscan#1722 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
test(webhooks): add a test for FilterBuilderModalCó thể đã có người làm @susanyusuf đã nhận 4 ngày trước. Đang mởfrontend medium Stellar Wave testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SoroScan/soroscan#1716 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
feat(deploy): add the Helm chart referenced by the deployment docsCó thể đã có người làm @TheCreatorNode đã nhận 3 ngày trước. Đang mởdevops enhancement high infrastructure Stellar Wave
SoroScan/soroscan#1865 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
refactor(contracts): wire or remove orphaned soroban-contracts sourcesCó thể đã có người làm @TheCreatorNode đã nhận 3 ngày trước. Đang mởcontracts medium refactor rust Stellar Wave
SoroScan/soroscan#1864 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
docs(sdk-py): add pagination and webhook-verification examplesCó thể đã có người làm @TheCreatorNode đã nhận 3 ngày trước. Đang mởdocumentation good first issue python sdk Stellar Wave trivial
SoroScan/soroscan#1863 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của SoroScan/soroscan
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/rapids-singlecell#854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ 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
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=FalseCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ 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 13 ngày