[Regression on closed #314] milestones::recover_admin's only test still runs under mock_all_auths()

オープン
#562 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@urielit1313-creator がすでに取り組んでいます。

2026年10月13日 から。

  • #576 @urielit1313-creator による — オープン
  • #759 @Chidi-Dev1 による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
rust

調査の方向性

Read contracts/milestones/src/test.rs and inspect the existing recover_admin test and how targeted mock_auths are used. Add checks for both signers, recovery signer only, and new admin only; done means the joint signature succeeds and either single signer fails. A linked pull request is already open, so check its status before starting.

索引モデルが issue の本文から書いたものです。

説明

security Stellar Wave testing

Problem

#314 is closed, but contracts/milestones/src/test.rs contains no targeted mock_auths at all, and recover_admin is called once, under mock_all_auths(). Nothing proves that both the recovery address and the new admin must sign, which is the whole point of the recovery design.

Suggested fix

Add targeted-auth tests: both signers → OK, recovery only → fail, new admin only → fail.

Related: #314

主要言語
Rust
スター
1
フォーク
102
平均マージ
4時間 12分
マージ済み PR(30日)
30

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MergeFi/contracts のほかの issue

MergeFi/contracts の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。