Escrow create accepts payer == beneficiary and the id-reuse rule is undocumented
メンテナーはふだん 1 日以内に返信
@KuchiMercy がすでに取り組んでいます。
2026年10月18日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- postgresql, typescript
- 領域
- backend, documentation, testing
調査の方向性
Start by locating the escrow create implementation and its existing has(&key) duplicate-id check. Add validation so payer == beneficiary returns InvalidParties, then add tests for identical parties and document in the README that IDs remain single-use for the life of the contract. Run the escrow test suite and verify the README rule.
索引モデルが issue の本文から書いたものです。
説明
Problem
create accepts payer == beneficiary, which produces an escrow where one party can release or refund at will, and the duplicate-id check only tests has(&key). That is correct for id reuse today, but the rules aren't documented (an id that was Released can never be reused, which affects backend id derivation).
Proposed change
Reject payer == beneficiary with a new InvalidParties error, document the id uniqueness rule and retention in the README, and add tests for both cases.
Acceptance criteria
-
createwith identical payer and beneficiary returns the new error. - README states that ids are single-use for the life of the contract.
- 主要言語
- TypeScript
- スター
- 16
- フォーク
- 225
- 平均マージ
- 8時間 4分
- マージ済み PR(30日)
- 61
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DistinctCodes/ManageHub のほかの issue
-
bug contract soroban-contract
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
DistinctCodes/ManageHub#2029 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
backend contract documentation soroban-contract
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DistinctCodes/ManageHub#2028 ·
メンテナーはふだん 1 日以内に返信
-
Add an end-to-end local sandbox for contracts (standalone network, deploy, call) to the repo docsオープンcontract documentation soroban-contract
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
DistinctCodes/ManageHub#2027 ·
メンテナーはふだん 1 日以内に返信
-
backend contract documentation NestJS soroban-contract
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
DistinctCodes/ManageHub#2026 ·
メンテナーはふだん 1 日以内に返信
-
Contracts have no shared ABI/interface fixture used by both the Rust tests and the backend clientオープンbackend contract enhancement NestJS soroban-contract
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
DistinctCodes/ManageHub#2025 ·
メンテナーはふだん 1 日以内に返信
DistinctCodes/ManageHub の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
equinor/prisma-decision-web#919 ·
メンテナーはふだん 1 日以内に返信
-
[DC] OneLogin sync imports a partial user list when an API request fails対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
bitwarden/directory-connector#1276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
home-assistant/installer#324 ·
メンテナーはふだん 1 日以内に返信
-
Mondriaan
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
knaw-huc/textannoviz#733 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信