Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: GetIPNSRecord example gateway implementation #158

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Feb 8, 2023

Fixes the GetIPNSRecord in the gateway examples. The issue here was that the routing.ValueStore expects a multihash encoded key instead of a readable string.

@hacdias hacdias marked this pull request as ready for review February 8, 2023 08:59
@hacdias hacdias requested a review from lidel as a code owner February 8, 2023 08:59
@hacdias hacdias self-assigned this Feb 8, 2023
@hacdias hacdias changed the title fix: example get ipns record with routing api fix: GetIPNSRecord example gateway implementation Feb 8, 2023
@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #158 (5993a58) into main (0d695f3) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
- Coverage   19.63%   19.62%   -0.02%     
==========================================
  Files         100      100              
  Lines       11046    11053       +7     
==========================================
  Hits         2169     2169              
- Misses       8590     8597       +7     
  Partials      287      287              
Impacted Files Coverage Δ
examples/gateway/common/blocks.go 36.42% <0.00%> (-1.78%) ⬇️

@hacdias hacdias merged commit c761383 into main Feb 10, 2023
@hacdias hacdias deleted the fix/example-ipns-key branch February 10, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants