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

Refine decodeDNSPacketBytes unit test #48

Open
lightwalker-eth opened this issue Jan 21, 2025 · 0 comments
Open

Refine decodeDNSPacketBytes unit test #48

lightwalker-eth opened this issue Jan 21, 2025 · 0 comments
Labels
question Further information is requested
Milestone

Comments

@lightwalker-eth
Copy link
Member

Image

Please note the discrepancy highlighted in the screenshot above.

Is it right to assume we don't want to change anything in our decodeDNSPacketBytes implementation?

Assuming so, perhaps the fix here is just to change:

it("should return [null, null] for labels with unindexable characters", () => {

to:

it("should return [null, null] for labels with unindexable characters (except the empty label)", () => {

Advice appreciated 👍

@lightwalker-eth lightwalker-eth added the question Further information is requested label Jan 21, 2025
@lightwalker-eth lightwalker-eth added this to the v1 milestone Jan 21, 2025
@lightwalker-eth lightwalker-eth moved this to Backlog in ENSNode Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog
Development

No branches or pull requests

1 participant