0xMiden / 0xMiden/rust-sdk

Allow selecting `AuthScheme` in integration tests

未關閉
#2,110 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
tests
主要語言
Rust
星號
78
分支
129
平均合併
4 天 14 小時
30 天內合併 PR
52

描述

The integration-tests binary (bin/integration-tests) hardcodes `RPO_FALCON_SCHEME_ID` (`AuthSchemeId::Falcon512Poseidon2`) in ~40+ wallets and faucets across tests. The helpers already accept an `AuthSchemeId`, and the client supports `EcdsaK256Keccak` too, but there's no way to exercise it from the integration suite.

We could add an --auth-scheme CLI flag to and carry it through `ClientConfig`.

貢獻指南

開啟貢獻指南

研究方向

Start by examining the integration-tests binary (bin/integration-tests) to see how AuthSchemeId is currently hardcoded. Look at the helpers that already accept an AuthSchemeId and the client support for EcdsaK256Keccak. Add an --auth-scheme CLI flag and propagate it through ClientConfig. Test by running the integration suite with the new flag to ensure both auth schemes work.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
testing
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。