Skip to content

docs(ed25519): fix type names and method calls in README#61

Merged
arihantbansal merged 1 commit intoarcium-hq:mainfrom
giwaov:fix/ed25519-readme-type-names
Mar 8, 2026
Merged

docs(ed25519): fix type names and method calls in README#61
arihantbansal merged 1 commit intoarcium-hq:mainfrom
giwaov:fix/ed25519-readme-type-names

Conversation

@giwaov
Copy link
Contributor

@giwaov giwaov commented Feb 23, 2026

Summary

  • Fixed incorrect type CompressedVerifyingKeyPack<VerifyingKey> in README code snippet
  • Fixed incorrect API VerifyingKey::from_compressed(...to_arcis()).to_arcis().unpack()
  • Fixed parameter name verifying_key_compressed_encverifying_key_enc

Issue

The README's verify_signature snippet showed types and methods that don't exist in the actual implementation, which would mislead developers trying to follow the example.

Verification

Confirmed against actual code in ed25519/encrypted-ixs/src/lib.rs.

Test plan

  • Verify README snippet now matches actual source code

The README showed CompressedVerifyingKey and VerifyingKey::from_compressed()
but the actual code uses Pack<VerifyingKey> and .to_arcis().unpack().
@giwaov giwaov force-pushed the fix/ed25519-readme-type-names branch from 471b551 to 1306b9d Compare February 25, 2026 08:18
@arihantbansal arihantbansal merged commit 16c2d58 into arcium-hq:main Mar 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants