0xMiden / 0xMiden/rust-sdk

Allow selecting `AuthScheme` in integration tests

Đang mở
#2,110 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
tests
Ngôn ngữ chính
Rust
Star
78
Fork
129
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
52

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

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

Đánh giá

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

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.