Skip to content

Commit e523796

Browse files
author
Severin Siffert
committed
Merge branch 'main' into severin/cmc-knows-about-cycles-ledger
2 parents 3856233 + 1eec50b commit e523796

6 files changed

Lines changed: 107 additions & 56 deletions

File tree

compatibility.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"0.16.1": {
3+
"nns": {
4+
"versions": ["0.2.1"]
5+
},
6+
"sns": {
7+
"versions": ["0.2.1"]
8+
}
9+
},
210
"0.16.0": {
311
"nns": {
412
"versions": ["0.2.1"]

extensions-utils/src/dependencies/download_ic_binaries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn download_ic_binary(replica_rev: &str, binary_name: &str, destination_path
2020
};
2121

2222
let url = format!(
23-
"https://download.dfinity.systems/ic/{replica_rev}/openssl-static-binaries/{arch}-{os}/{binary_name}.gz",
23+
"https://download.dfinity.systems/ic/{replica_rev}/binaries/{arch}-{os}/{binary_name}.gz",
2424
arch = arch,
2525
os = os,
2626
binary_name = binary_name,

extensions/nns/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::env;
22
use std::path::PathBuf;
33

4-
const REPLICA_REV: &str = "f99495f3772d5a85d25ef5008179b49a5f12c5c2";
4+
const REPLICA_REV: &str = "044cfd5147fc97d7e5a214966941b6580c325d72";
55

66
const BINARY_DEPENDENCIES: &[(&str, &str)] = &[
77
// (downloaded binary name, renamed binary name)

extensions/nns/e2e/tests/nns.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ teardown() {
2525
# it panics, but still shows help
2626
run "$(dfx cache show)/extensions/nns/ic-nns-init" --help
2727
assert_failure
28-
assert_output --partial "thread 'main' panicked at 'Illegal arguments:"
28+
assert_output --partial "thread 'main' panicked"
29+
assert_output --partial "Illegal arguments:"
2930
assert_output --partial "ic-nns-init [OPTIONS]"
3031
assert_output --regexp "-h, --help.*Print help information"
3132
assert_output --regexp '--version.*Print version information'

extensions/sns/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::env;
22
use std::path::PathBuf;
33

4-
const REPLICA_REV: &str = "f99495f3772d5a85d25ef5008179b49a5f12c5c2";
4+
const REPLICA_REV: &str = "044cfd5147fc97d7e5a214966941b6580c325d72";
55

66
const BINARY_DEPENDENCIES: &[(&str, &str)] = &[
77
// (downloaded binary name, renamed binary name)
Lines changed: 94 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,106 @@
11
name: Daniel
22
description: >
3-
The best software engineer you ever did saw.
3+
The best software engineer you ever did saw.
44
logo: logo.png
5-
url: https://forum.dfinity.org/
5+
url: https://some-link-to-a-project.org
6+
67
NnsProposal:
7-
title: "Proposal to Create an SNS named Daniel"
8-
url: "https://forum.dfinity.org/"
9-
summary: "This is just a short summary, but I think it's pretty good."
10-
Principals: []
8+
title: "Proposal to Create an SNS named Daniel"
9+
url: "https://forum.dfinity.org/thread-where-this-sns-is-discussed"
10+
summary: "This is just a short summary, but I think it's pretty good."
11+
12+
13+
Principals:
14+
- id: 5zxxw-63ouu-faaaa-aaaap-4ai
15+
name: Bruce Wayne
16+
email: batman@superherosinc.com
17+
- id: uqf5l-jukmu-fqaaa-aaaap-4ai
18+
name: Alfred Pennyworth
19+
- id: c2n4r-wni5m-dqaaa-aaaap-4ai
20+
name: employees (canister)
21+
- id: ucm27-3lxwy-faaaa-aaaap-4ai
22+
name: departments (canister)
23+
1124
fallback_controller_principals:
12-
- hpikg-6exdt-jn33w-ndty3-fc7jc-tl2lr-buih3-cs3y7-tftkp-sfp62-gqe
25+
- 5zxxw-63ouu-faaaa-aaaap-4ai # TODO: Bruce Wayne
26+
1327
dapp_canisters: []
28+
1429
Token:
15-
name: Batman
16-
symbol: BTM
17-
transaction_fee: 10_000 e8s
18-
logo: logo.png
30+
name: Batman
31+
symbol: BTM
32+
transaction_fee: 10_000 e8s
33+
logo: logo.png
34+
1935
Proposals:
20-
rejection_fee: 1 token
21-
initial_voting_period: 4d
22-
maximum_wait_for_quiet_deadline_extension: 1 day
36+
rejection_fee: 1 token
37+
initial_voting_period: 4d
38+
maximum_wait_for_quiet_deadline_extension: 1 day
39+
2340
Neurons:
24-
minimum_creation_stake: 61800 e8s
41+
minimum_creation_stake: 61800 e8s
42+
2543
Voting:
26-
minimum_dissolve_delay: 26 weeks
27-
MaximumVotingPowerBonuses:
28-
DissolveDelay:
29-
duration: 8 years
30-
bonus: 100%
31-
Age:
32-
duration: 4 years
33-
bonus: 25%
34-
RewardRate:
35-
initial: 10%
36-
final: 2.25%
37-
transition_duration: 12 years
44+
minimum_dissolve_delay: 26 weeks
45+
46+
MaximumVotingPowerBonuses:
47+
DissolveDelay:
48+
duration: 8 years
49+
bonus: 100%
50+
51+
Age:
52+
duration: 4 years
53+
bonus: 25%
54+
55+
RewardRate:
56+
initial: 10%
57+
final: 2.25%
58+
transition_duration: 12 years
59+
3860
Distribution:
39-
Neurons:
40-
- principal: dktcs-d43lz-rosn2-wnwsj-kef34-6kl3i-ux7qb-ka6xr-biref-ykeaj-sqe
41-
stake: 15 tokens
42-
memo: 0
43-
dissolve_delay: 1 years
44-
vesting_period: 1 year 1 second
45-
InitialBalances:
46-
governance: 60 tokens
47-
swap: 40 tokens
48-
total: 115 tokens # 60 + 40 + 15
61+
62+
Neurons:
63+
64+
- principal: 5zxxw-63ouu-faaaa-aaaap-4ai # TODO: Bruce Wayne
65+
stake: 15 tokens
66+
memo: 42
67+
# TODO: Add support for non-integer numbers in duration strings?
68+
dissolve_delay: 1 years
69+
vesting_period: 1 year 1 second
70+
71+
- principal: uqf5l-jukmu-fqaaa-aaaap-4ai # TODO: Alfred Pennyworth
72+
stake: 14.9 tokens
73+
dissolve_delay: 52 weeks
74+
vesting_period: 53 weeks
75+
76+
InitialBalances:
77+
governance: 60 tokens
78+
swap: 40 tokens
79+
80+
# Optional, but highly recommended. This is a literal
81+
# checksum.
82+
total: 129.9 tokens # 60 + 40 + 15 + 14.9
83+
4984
Swap:
50-
minimum_participants: 50
51-
minimum_icp: 123 tokens
52-
maximum_icp: 65000 tokens
53-
minimum_participant_icp: 650 tokens
54-
maximum_participant_icp: 6500 tokens
55-
confirmation_text: Hello, world?
56-
restricted_countries:
57-
- US
58-
- CH
59-
VestingSchedule:
60-
events: 83
61-
interval: 17 days
62-
start_time: 12:00 UTC
63-
duration: 7 days
64-
neurons_fund_investment_icp: 1_000 tokens
85+
minimum_participants: 50
86+
87+
minimum_direct_participation_icp: 113 tokens
88+
maximum_direct_participation_icp: 64990 tokens
89+
90+
minimum_participant_icp: 650 tokens
91+
maximum_participant_icp: 6500 tokens
92+
93+
confirmation_text: Hello, world?
94+
95+
restricted_countries:
96+
- US
97+
- CH
98+
99+
VestingSchedule:
100+
events: 83
101+
interval: 17 days
102+
103+
start_time: 12:00 UTC
104+
duration: 7 days
105+
106+
neurons_fund_participation: true

0 commit comments

Comments
 (0)