Skip to content

Bump DFX_IC_COMMIT to pick up dfx-core-vendored fix, revert #614 workaround - #616

Merged
daniel-wong-dfinity-org-twin merged 3 commits into
mainfrom
chore/bump-dfx-ic-commit
Aug 10, 2026
Merged

Bump DFX_IC_COMMIT to pick up dfx-core-vendored fix, revert #614 workaround#616
daniel-wong-dfinity-org-twin merged 3 commits into
mainfrom
chore/bump-dfx-ic-commit

Conversation

@claude

@claude claude Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What

  1. Bump DFX_IC_COMMIT in bin/versions.bash from 42413a1c7dbabc98ae3abc6124a9b96d3c0985fe to 1e1a813088f35d1024f9591a0a55617d37f0fb9e (current tip of dfinity/ic's master, at the time this PR was opened, with a green "Kickoff" CI run). This commit includes fix(sns-cli): resolve shared local network config in vendored dfx-core ic#10914, merged as aeb799e3dd3b5e0cecb628f2070bcb2aa7bc8400.
  2. Revert fix(sns): pass the network URL to the sns CLI when uploading SNS wasms #614 (git revert 11428563bf073e60e60ee9dbe7cb4eccf9b9d419, clean single-commit revert): restores bin/dfx-sns-wasm-upload's sns add-sns-wasm-for-tests --network "$DFX_NETWORK" call and removes the DFX_NNS_URL/dfx-network-provider workaround that fix(sns): pass the network URL to the sns CLI when uploading SNS wasms #614 added.

Why

dfinity/ic#10914 fixes local-network resolution in the vendored dfx-core subset (rs/sns/dfx-core-vendored) used by the sns CLI: it now correctly falls back to the shared ~/.config/dfx/networks.json (127.0.0.1:8080, this repo's convention) when the nearest dfx.json doesn't declare its own networks.local, instead of hardcoding the dfx project default 127.0.0.1:8000.

That hardcoded-default bug is exactly what #614 worked around, by resolving the network name to a literal URL via dfx-network-provider before calling sns add-sns-wasm-for-tests. Now that the underlying bug is fixed upstream and this PR's DFX_IC_COMMIT bump picks it up, the workaround is no longer needed — passing the network name local directly works again, matching how the rest of the sns CLI callsites in this repo behave.

Verification

  • git merge-base --is-ancestor aeb799e3dd3b5e0cecb628f2070bcb2aa7bc8400 1e1a813088f35d1024f9591a0a55617d37f0fb9e confirms the pinned commit includes the dfx-core-vendored fix.
  • shellcheck -e SC1090 -e SC2119 -e SC1091 -e SC2121 -e SC2155 -e SC2094 -e SC2015 bin/versions.bash bin/dfx-sns-wasm-upload (this repo's own .github/workflows/checks.yml flags) passes clean.
  • Full validation relies on this repo's CI, which exercises a real dfx start/replica against the pinned IC commit — not reproducible in this environment, hence opening as a draft PR pending CI.

Fixes/relates to dfinity/ic#10914, reverts #614.


Requested by: Daniel Wong

🤖 Generated with Claude Code

https://claude.ai/code/session_011Zr39tUEEpEqc45jdQ5HDi


Generated by Claude Code

claude added 2 commits August 6, 2026 12:44
Bump DFX_IC_COMMIT to dfinity/ic@1e1a813,
which includes dfinity/ic#10914 (merged as
aeb799e3dd3b5e0cecb628f2070bcb2aa7bc8400), fixing local-network
resolution in the vendored dfx-core used by the sns CLI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Zr39tUEEpEqc45jdQ5HDi
Comment thread bin/versions.bash Outdated
@daniel-wong-dfinity-org-twin
daniel-wong-dfinity-org-twin marked this pull request as ready for review August 10, 2026 17:49
@daniel-wong-dfinity-org-twin
daniel-wong-dfinity-org-twin requested a review from a team as a code owner August 10, 2026 17:49
Apply Daniel Wong's suggested edit: pick up a newer dfinity/ic master
commit (3ec5d044f5dc45a93943ec14258891a1c3c272be, 2026-08-07) than the
one this PR originally pinned. Confirmed it is a real commit on
dfinity/ic's master and still includes the dfx-core-vendored fix from
ic#10914 (aeb799e3dd3b5e0cecb628f2070bcb2aa7bc8400 is an ancestor).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Zr39tUEEpEqc45jdQ5HDi
@daniel-wong-dfinity-org-twin
daniel-wong-dfinity-org-twin merged commit d25edf5 into main Aug 10, 2026
18 checks passed
@daniel-wong-dfinity-org-twin
daniel-wong-dfinity-org-twin deleted the chore/bump-dfx-ic-commit branch August 10, 2026 17:53
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.

2 participants