0xMiden / 0xMiden/rust-sdk

Allow selecting `AuthScheme` in integration tests

Offen
#2,110 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
tests
Vorherrschende Sprache
Rust
Sterne
78
Forks
129
Ø Merge
4 T. 14 Std.
Gemergte PRs (30 T.)
52

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
testing
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.