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

Dfx 15 #262

Merged
merged 19 commits into from
Nov 13, 2023
Merged

Dfx 15 #262

merged 19 commits into from
Nov 13, 2023

Conversation

bitdivine
Copy link
Member

@bitdivine bitdivine commented Nov 7, 2023

Motivation

We would like to keep dfx up to date.

Changes

  • Update dfx from version 0.14.4 to 0.15.1
  • Install dfx nns as an extension, as it is no longer in dfx core.

Tests

bitdivine added a commit that referenced this pull request Nov 10, 2023
# Motivation
In `dfx v0.14.4`, `dfx nns deploy` would create the `internet_identity`
and `nns-dapp` canisters with the current user as the controller. In
`dfx v0.15.1` the anonymous user is the controller, which is a breaking
change.

# Changes
- Check whether the current user is a controller and if not, use the
anonymous user to add the current user as a controller.

# Tests
- For `dfx v0.14.4` see CI in the current PR.
- For `dfx v0.15.1` see [the PR that updates `dfx` to
`v0.51.1`](#262).

---------

Co-authored-by: Max Murphy <max@winning.black>
Co-authored-by: Formatting Committer <nobody@example.com>
@bitdivine bitdivine marked this pull request as ready for review November 10, 2023 17:23
@bitdivine bitdivine requested a review from a team as a code owner November 10, 2023 17:23
Copy link
Contributor

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

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

LGTM!

@bitdivine bitdivine merged commit b051ff0 into main Nov 13, 2023
15 checks passed
bitdivine added a commit that referenced this pull request Nov 17, 2023
This reverts commit b051ff0.
bitdivine added a commit that referenced this pull request Nov 17, 2023
# Motivation
`dfx v 0.15.1` doesn't serve correctly when deployed to a devenv.

# Changes
* This reverts commit b051ff0.

# Tests
See CI
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