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

chore(nns): release v0.4.7 #157

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,058 changes: 619 additions & 439 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ slog = "^2.7.0"
tempfile = "3.12.0"
tokio = { version = "^1.36.0", features = ["rt-multi-thread"] }
url = "^2.4.1"
ic-http-utils = { git = "https://github.com/dfinity/ic", rev = "61f05b60fb3464cec774da4dc81aca0dc4fa8366" }
ic-icp-index = { git = "https://github.com/dfinity/ic", rev = "61f05b60fb3464cec774da4dc81aca0dc4fa8366" }
ic-icrc1-index-ng = { git = "https://github.com/dfinity/ic", rev = "61f05b60fb3464cec774da4dc81aca0dc4fa8366" }
ic-icrc1-ledger = { git = "https://github.com/dfinity/ic", rev = "61f05b60fb3464cec774da4dc81aca0dc4fa8366" }
ic-sns-cli = { git = "https://github.com/dfinity/ic", rev = "61f05b60fb3464cec774da4dc81aca0dc4fa8366" }
ic-http-utils = { git = "https://github.com/dfinity/ic", rev = "0f96a6f4661f0d87bd9149a88846db9674360291" }
ic-icp-index = { git = "https://github.com/dfinity/ic", rev = "0f96a6f4661f0d87bd9149a88846db9674360291" }
ic-icrc1-index-ng = { git = "https://github.com/dfinity/ic", rev = "0f96a6f4661f0d87bd9149a88846db9674360291" }
ic-icrc1-ledger = { git = "https://github.com/dfinity/ic", rev = "0f96a6f4661f0d87bd9149a88846db9674360291" }
ic-sns-cli = { git = "https://github.com/dfinity/ic", rev = "0f96a6f4661f0d87bd9149a88846db9674360291" }
serde_json = "1.0.79"

# Config for 'cargo dist'
Expand Down
4 changes: 4 additions & 0 deletions extensions/nns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## [Unreleased] - ReleaseDate
- Fixed a bug where `dfx nns install` and `dfx nns import` would fail if a canister type in dfx.json was defined by an extension.

## [0.4.7] - 2024-11-08
- Added support for `dfx start --pocketic`.

## [0.4.6] - 2024-10-10
- Unchanged from 0.4.5

Expand Down Expand Up @@ -48,6 +51,7 @@

<!-- next-url -->
[Unreleased]: https://github.com/dfinity/dfx-extensions/compare/{{tag_name}}...HEAD
[0.4.7]: https://github.com/dfinity/dfx-extensions/compare/{{tag_name}}...{{tag_name}}
[0.4.6]: https://github.com/dfinity/dfx-extensions/compare/{{tag_name}}...{{tag_name}}
[0.4.5]: https://github.com/dfinity/dfx-extensions/compare/{{tag_name}}...{{tag_name}}
[0.4.4]: https://github.com/dfinity/dfx-extensions/compare/{{tag_name}}...{{tag_name}}
Expand Down
2 changes: 1 addition & 1 deletion extensions/nns/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nns"
version = "0.4.6"
version = "0.4.7"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion extensions/nns/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::env;
use std::path::PathBuf;

const REPLICA_REV: &str = "61f05b60fb3464cec774da4dc81aca0dc4fa8366";
const REPLICA_REV: &str = "0f96a6f4661f0d87bd9149a88846db9674360291";

const BINARY_DEPENDENCIES: &[(&str, &str)] = &[
// (downloaded binary name, renamed binary name)
Expand Down
5 changes: 5 additions & 0 deletions extensions/nns/dependencies.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"0.4.7": {
"dfx": {
"version": ">=0.17.0"
}
},
"0.4.6": {
"dfx": {
"version": ">=0.17.0"
Expand Down
2 changes: 0 additions & 2 deletions extensions/nns/e2e/tests/nns.bash
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ teardown() {
assert_output --partial "thread 'main' panicked"
assert_output --partial "Illegal arguments:"
assert_output --partial "ic-nns-init [OPTIONS]"
assert_output --regexp "-h, --help.*Print help information"
assert_output --regexp '--version.*Print version information'

# --version fails too
run "$(dfx cache show)/extensions/nns/ic-nns-init" --version
Expand Down
2 changes: 1 addition & 1 deletion extensions/nns/extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nns",
"version": "0.4.6",
"version": "0.4.7",
"homepage": "https://github.com/dfinity/dfx-extensions",
"authors": "DFINITY",
"summary": "Toolkit for interacting with the Network Nervous System.",
Expand Down
2 changes: 1 addition & 1 deletion extensions/sns/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::env;
use std::path::PathBuf;

const REPLICA_REV: &str = "61f05b60fb3464cec774da4dc81aca0dc4fa8366";
const REPLICA_REV: &str = "0f96a6f4661f0d87bd9149a88846db9674360291";

const BINARY_DEPENDENCIES: &[(&str, &str)] = &[
// (downloaded binary name, renamed binary name)
Expand Down
2 changes: 1 addition & 1 deletion extensions/sns/e2e/assets/sns/valid/sns_init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Distribution:
vesting_period: 53 weeks

InitialBalances:
governance: 60 tokens
treasury: 60 tokens
swap: 40 tokens

# Optional, but highly recommended. This is a literal
Expand Down
Loading