xmtp / didethresolver

XMTP Registry Resolver
MIT License
3 stars 1 forks source link

51: use address for resolveDid parameter #52

Closed jac18281828 closed 8 months ago

jac18281828 commented 8 months ago

closes #51

renaming publicKey parameter to address

jac18281828 commented 8 months ago

tested:

curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method":"did_resolveDid", "params": { "address":"0x6CE..."} }' http://localhost:8080
{"jsonrpc":"2.0","result":{"didDocumentMetadata":{"deactivated":false,"versionId":5281718,"updated":"2024-02-13T19:07:36Z"}...
codecov[bot] commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (05b7e66) 97.28% compared to head (c7f7452) 97.27%.

Files Patch % Lines
lib/src/resolver.rs 91.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## ========================================== - Coverage 97.28% 97.27% -0.01% ========================================== Files 13 13 Lines 2833 2826 -7 ========================================== - Hits 2756 2749 -7 Misses 77 77 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.