Skip to content

Revert the dappnodesdk 0.3.52 pin - #8

Merged
Marketen merged 1 commit into
mainfrom
revert/dappnodesdk-pin
Aug 24, 2026
Merged

Revert the dappnodesdk 0.3.52 pin#8
Marketen merged 1 commit into
mainfrom
revert/dappnodesdk-pin

Conversation

@Marketen

Copy link
Copy Markdown
Contributor

The pin did not work — the run with it applied failed identically:

Run npx @dappnode/dappnodesdk@0.3.52 publish patch --dappnode_team_preset --timeout 2h
 ✖ execution reverted: ResolverNotFound(bytes)

Why pinning cannot work

0.3.52 -> @dappnode/toolkit ^0.1.21
0.3.53 -> @dappnode/toolkit ^0.1.21     identical
toolkit -> ethers ^6.9.0

Both ranges float, so a fresh CI install resolves a current ethers regardless of which dappnodesdk version is requested — and current ethers decodes the ENS custom error as ResolverNotFound instead of reporting NOREPO.

My earlier local test that showed 0.3.52 working was invalid: it resolved to a globally installed copy whose dependency tree was frozen at install time, not a fresh resolve. Apologies for the detour.

The real fix

dappnode/DAppNodeSDK#480 makes both first-publish guards recognise ResolverNotFound alongside the older spellings. This package can publish once a dappnodesdk release carrying that lands on npm; the workflow goes back to unpinned here so it picks it up automatically.

🤖 Generated with Claude Code

The pinned run failed identically with ResolverNotFound. Both 0.3.52 and
0.3.53 declare @dappnode/toolkit ^0.1.21, and the toolkit declares
ethers ^6.9.0, so a fresh install resolves a current ethers whatever the
dappnodesdk version is, and that raises ResolverNotFound rather than NOREPO.

The earlier local test suggesting otherwise was invalid: it used a globally
installed copy whose dependency tree was frozen at install time.

The fix belongs in DAppNodeSDK and is proposed in dappnode/DAppNodeSDK#480.
This package can publish once a release carrying it is on npm.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Marketen
Marketen merged commit 63173ea into main Aug 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant