This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
ipfs name resolve with recursive default to true makes name-pubsub fail #2001
Labels
exp/expert
Having worked on the specific codebase is important
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
Type:Bug
Severity: High
Description:
go-ipfs changed the default value for the recursive option in
ipfs name resolve
, so we should do the same.But in js-ipfs name-pubsub tests fail, with recursive === true.
Steps to reproduce the error:
default to
true
in these places:https://github.com/ipfs/js-ipfs/blob/master/src/cli/commands/name/resolve.js#L21
https://github.com/ipfs/js-ipfs/blob/master/src/http/api/resources/name.js#L10
https://github.com/ipfs/js-ipfs/blob/master/src/core/components/name.js#L130
/cc @vasco-santos
The text was updated successfully, but these errors were encountered: