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

feat: ipns v2 and v2 record combination and tests #157

Merged
merged 5 commits into from
Sep 15, 2023
Merged

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Sep 7, 2023

Closes #144. Many IPNS tests. This fixtures can also later be re-used for when we add TTL. It also sets a nice precedent of adding a file where we programatically generate the fixtures in a language other than shell.

tooling/test/sugar.go Outdated Show resolved Hide resolved
Copy link
Contributor

@laurentsenta laurentsenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for applying the fixes.

it may be not obvious why we have these checks or why
certain edge case fails/passes, added Hints to elaborate
@github-actions
Copy link
Contributor

Results against Kubo master:
(check the action's summary for the full results)

Summary

Tests Failures Errors Skipped
1853 0 0 0

@github-actions
Copy link
Contributor

Results against Kubo latest:
(check the action's summary for the full results)

Summary

Tests Failures Errors Skipped
1853 11 0 0

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hacdias! Lgtm. I will refer to these fixtures from IPIP-428.

I've added missing Hint to some V1/V2 test cases to make it self-explanatory for the reader why certain checks exist.

@laurentsenta I've resolved conflict with main, ok to merge?

@laurentsenta laurentsenta merged commit 9ef9297 into main Sep 15, 2023
13 of 15 checks passed
@laurentsenta
Copy link
Contributor

@lidel merged, thanks for the review and conflict resolution! @hacdias thanks for adding the test

@laurentsenta laurentsenta deleted the issue-144 branch September 15, 2023 09:07
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.

Add more IPNS record tests based on IPIP-428
3 participants