Skip to content

Commit

Permalink
chore(nns): release v0.4.7 (#157)
Browse files Browse the repository at this point in the history
* chore: transfer dependencies for nns version 0.4.7

* chore: Release

* Update replica rev

---------

Co-authored-by: anchpop <3711047+anchpop@users.noreply.github.com>
Co-authored-by: Andre Popovitch <andre@popovit.ch>
  • Loading branch information
3 people authored Nov 8, 2024
1 parent c9885ba commit dfa765a
Show file tree
Hide file tree
Showing 10 changed files with 638 additions and 451 deletions.
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

0 comments on commit dfa765a

Please sign in to comment.