Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ohsalmeron/44358f976e9a765c321f532163e02269 to your computer and use it in GitHub Desktop.

Select an option

Save ohsalmeron/44358f976e9a765c321f532163e02269 to your computer and use it in GitHub Desktop.
./setup_locally.sh log
[bizkit@archlinux sns-testing]$ ./setup_locally.sh
Using identity: "default".
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345k 100 345k 0 0 1244k 0 --:--:-- --:--:-- --:--:-- 1241k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 151k 100 151k 0 0 718k 0 --:--:-- --:--:-- --:--:-- 720k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 805k 100 805k 0 0 2294k 0 --:--:-- --:--:-- --:--:-- 2301k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 819k 100 819k 0 0 2158k 0 --:--:-- --:--:-- --:--:-- 2157k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 511k 100 511k 0 0 1936k 0 --:--:-- --:--:-- --:--:-- 1944k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4206 100 4206 0 0 78120 0 --:--:-- --:--:-- --:--:-- 79358
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 517k 100 517k 0 0 1919k 0 --:--:-- --:--:-- --:--:-- 1917k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74558 100 74558 0 0 583k 0 --:--:-- --:--:-- --:--:-- 587k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4206 100 4206 0 0 57371 0 --:--:-- --:--:-- --:--:-- 57616
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833k 100 833k 0 0 2572k 0 --:--:-- --:--:-- --:--:-- 2580k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 256k 100 256k 0 0 1776k 0 --:--:-- --:--:-- --:--:-- 1778k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 480k 100 480k 0 0 2069k 0 --:--:-- --:--:-- --:--:-- 2069k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244k 100 244k 0 0 1522k 0 --:--:-- --:--:-- --:--:-- 1527k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 673k 100 673k 0 0 2257k 0 --:--:-- --:--:-- --:--:-- 2260k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 425k 100 425k 0 0 1945k 0 --:--:-- --:--:-- --:--:-- 1951k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 579k 100 579k 0 0 2455k 0 --:--:-- --:--:-- --:--:-- 2463k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 213k 100 213k 0 0 1499k 0 --:--:-- --:--:-- --:--:-- 1505k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 314k 100 314k 0 0 1749k 0 --:--:-- --:--:-- --:--:-- 1758k
Error: Extension 'nns' is already installed.
Error: Extension 'sns' is already installed.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /home/bizkit/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'ic' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /home/bizkit/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'ic' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /home/bizkit/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/governance/canister/governance.did
governance canister id on network 'ic' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /home/bizkit/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'ic' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /home/bizkit/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/handlers/lifeline/impl/lifeline.did
lifeline canister id on network 'ic' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /home/bizkit/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/registry/canister/canister/registry.did
registry canister id on network 'ic' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /home/bizkit/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/handlers/root/impl/canister/root.did
root canister id on network 'ic' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /home/bizkit/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'ic' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-identity has no local canister ID.
nns-ui has no local canister ID.
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ic-ckbtc-minter has no local canister ID.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/cli/dfx.json
Importing canister 'sns_governance' as 'sns_governance'
Importing /home/bizkit/sns-testing/candid/sns_governance.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/governance/canister/governance.did
sns_governance has no canister id for network 'ic'
Importing canister 'sns_index' as 'sns_index'
Importing /home/bizkit/sns-testing/candid/sns_index.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icrc1/index/index.did
sns_index has no canister id for network 'ic'
Importing canister 'sns_ledger' as 'sns_ledger'
Importing /home/bizkit/sns-testing/candid/sns_ledger.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icrc1/ledger/ledger.did
sns_ledger has no canister id for network 'ic'
Importing canister 'sns_root' as 'sns_root'
Importing /home/bizkit/sns-testing/candid/sns_root.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/root/canister/root.did
sns_root has no canister id for network 'ic'
Importing canister 'sns_swap' as 'sns_swap'
Importing /home/bizkit/sns-testing/candid/sns_swap.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/swap/canister/swap.did
sns_swap has no canister id for network 'ic'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25845 100 25845 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17373 100 17373 0 0 74154 0 --:--:-- --:--:-- --:--:-- 74243
Using identity: "default".
Using neuron csv initial_neurons.csv
Using identity: "nns-nf-neuron-3001".
Ensured the existence of Neurons' Fund neuron ID 3001 with identity principal = ptfxd-tnivq-mh6fl-ms45k-r6acx-rl26j-ruwas-c5pwf-vhndp-33vva-hqe
Using identity: "nns-nf-neuron-3002".
Ensured the existence of Neurons' Fund neuron ID 3002 with identity principal = fkvnc-uw2qv-4cqvo-2p2xn-utogf-fpezj-ety2o-hobv4-5xr2u-n76i7-zqe
Using identity: "nns-nf-neuron-3003".
Ensured the existence of Neurons' Fund neuron ID 3003 with identity principal = wrisa-2u4vp-uvhaw-efv2u-e2pip-s5qw7-ernwz-kn42l-u2vac-fltt6-lae
Using identity: "nns-nf-neuron-3004".
Ensured the existence of Neurons' Fund neuron ID 3004 with identity principal = r35nw-hlji7-oiuyq-ye24v-q23f5-ig2lu-xsiac-eeb6x-s27lj-tcalv-vqe
Using identity: "nns-nf-neuron-3005".
Ensured the existence of Neurons' Fund neuron ID 3005 with identity principal = qyy42-fpdjz-77ign-ukcll-5v45n-timat-vzjgx-zuwef-2tj73-6fgcn-lqe
Using identity: "nns-nf-neuron-3006".
Ensured the existence of Neurons' Fund neuron ID 3006 with identity principal = ct2km-u5tbb-6fcdw-4xjp4-lwjwt-fsq3w-kz7tu-ipa5n-5jjxy-6sqgq-oqe
[ic-nns-init] The content of the registry will be initialized with an empty content. This is most likely not what you want. Use --initial-registry or --registry-local-store-dir to specify initial content.
[ic-nns-init] Initializing neurons from CSV file: "initial_neurons.csv"
[ic-nns-init] Initializing with test ledger account: 1a6591fc6ea1e8a4d3b16d8172938f83b99fbefa36951c1bff853bbc157d4309
[ic-nns-init] Initializing with test ledger account: 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087
[ic-nns-init] Initializing with test ledger account: 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138
[ic-nns-init] Initialized governance.
Compiling Wasm for registry-canister in task on thread: ThreadId(11)
looking up registry-canister at REGISTRY_CANISTER_WASM_PATH
Compiling Wasm for governance-canister in task on thread: ThreadId(12)
looking up governance-canister at GOVERNANCE_CANISTER_TEST_WASM_PATH
Compiling Wasm for ledger-canister in task on thread: ThreadId(13)
looking up ledger-canister at LEDGER_CANISTER_NOTIFY_METHOD_WASM_PATH
Using pre-built binary for registry-canister with features: [] (size = 2802868, path = ./registry-canister.wasm)
Done compiling the wasm for registry-canister
Using pre-built binary for ledger-canister with features: ["notify-method"] (size = 1180832, path = ./ledger-canister_notify-method.wasm)
Using pre-built binary for governance-canister with features: ["test"] (size = 2667672, path = ./governance-canister_test.wasm)
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: rwlgt-iiaaa-aaaaa-aaaaa-cai
wasm_module: <2802868 bytes>
arg: <69 bytes>
compute_allocation: None
memory_allocation: Some("4_294_967_296")
}
Done compiling the wasm for governance-canister
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: rrkah-fqaaa-aaaaa-aaaaq-cai
wasm_module: <2667672 bytes>
arg: <2378 bytes>
compute_allocation: None
memory_allocation: Some("10_737_418_240")
}
Done compiling the wasm for ledger-canister
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: ryjl3-tyaaa-aaaaa-aaaba-cai
wasm_module: <1180832 bytes>
arg: <1989 bytes>
compute_allocation: None
memory_allocation: Some("4_294_967_296")
}
Successfully installed wasm into canister with ID: rwlgt-iiaaa-aaaaa-aaaaa-cai
Installed rwlgt-iiaaa-aaaaa-aaaaa-cai with registry-canister
Successfully installed wasm into canister with ID: ryjl3-tyaaa-aaaaa-aaaba-cai
Installed ryjl3-tyaaa-aaaaa-aaaba-cai with ledger-canister
Successfully installed wasm into canister with ID: rrkah-fqaaa-aaaaa-aaaaq-cai
Installed rrkah-fqaaa-aaaaa-aaaaq-cai with governance-canister
Compiling Wasm for root-canister in task on thread: ThreadId(12)
looking up root-canister at ROOT_CANISTER_WASM_PATH
looking up lifeline_canisterCompiling Wasm for cycles-minting-canister in task on thread: ThreadId(11)
at LIFELINE_CANISTER_WASM_PATH
looking up cycles-minting-canister at CYCLES_MINTING_CANISTER_WASM_PATH
Using pre-built binary for lifeline_canister with features: [] (size = 185538, path = ./lifeline_canister.wasm)
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: rno2w-sqaaa-aaaaa-aaacq-cai
wasm_module: <185538 bytes>
arg: <0 bytes>
compute_allocation: None
memory_allocation: Some("1_073_741_824")
}
Using pre-built binary for root-canister with features: [] (size = 682917, path = ./root-canister.wasm)
Using pre-built binary for cycles-minting-canister with features: [] (size = 992074, path = ./cycles-minting-canister.wasm)
Compiling Wasm for genesis-token-canister in task on thread: ThreadId(13)
Done compiling the wasm for root-canister
looking up genesis-token-canister at Compiling Wasm for sns-wasm-canister in task on thread: ThreadId(12)
GENESIS_TOKEN_CANISTER_WASM_PATH
looking up sns-wasm-canister at SNS_WASM_CANISTER_WASM_PATH
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: r7inp-6aaaa-aaaaa-aaabq-cai
wasm_module: <682917 bytes>
arg: <9 bytes>
compute_allocation: None
memory_allocation: Some("1_073_741_824")
}
Using pre-built binary for genesis-token-canister with features: [] (size = 412071, path = ./genesis-token-canister.wasm)
Using pre-built binary for sns-wasm-canister with features: [] (size = 1394393, path = ./sns-wasm-canister.wasm)
Done compiling the wasm for cycles-minting-canister
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: rkp4c-7iaaa-aaaaa-aaaca-cai
wasm_module: <992074 bytes>
arg: <184 bytes>
compute_allocation: None
memory_allocation: Some("1_073_741_824")
}
Done compiling the wasm for genesis-token-canister
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: renrk-eyaaa-aaaaa-aaada-cai
wasm_module: <412071 bytes>
arg: <8 bytes>
compute_allocation: None
memory_allocation: Some("1_073_741_824")
}
Done compiling the wasm for sns-wasm-canister
Install args: InstallCodeArgs {
mode: Reinstall
canister_id: qaa6y-5yaaa-aaaaa-aaafa-cai
wasm_module: <1394393 bytes>
arg: <32 bytes>
compute_allocation: None
memory_allocation: Some("1_073_741_824")
}
Successfully installed wasm into canister with ID: rkp4c-7iaaa-aaaaa-aaaca-cai
Installed rkp4c-7iaaa-aaaaa-aaaca-cai with cycles-minting-canister
Successfully installed wasm into canister with ID: rno2w-sqaaa-aaaaa-aaacq-cai
Installed rno2w-sqaaa-aaaaa-aaacq-cai with the lifeline handler
Successfully installed wasm into canister with ID: r7inp-6aaaa-aaaaa-aaabq-cai
Installed r7inp-6aaaa-aaaaa-aaabq-cai with root-canister
Successfully installed wasm into canister with ID: renrk-eyaaa-aaaaa-aaada-cai
Installed renrk-eyaaa-aaaaa-aaada-cai with genesis-token-canister
Successfully installed wasm into canister with ID: qaa6y-5yaaa-aaaaa-aaafa-cai
Installed qaa6y-5yaaa-aaaaa-aaafa-cai with sns-wasm-canister
NNS canisters installed after 28.2 s
NNS canisters set up after 30.2 s
[ic-nns-init] All NNS canisters have been set up on the replica with http://localhost:44505/
Using identity: "default".
++ /home/bizkit/sns-testing/bin/dfx identity whoami
+ export CURRENT_DX_IDENT=default
+ CURRENT_DX_IDENT=default
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3001
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3001".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_001
+ echo 'Setting up Neurons'\'' Fund neuron 3_001 ...'
Setting up Neurons' Fund neuron 3_001 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3001/identity.pem neuron-manage --join-community-fund 3_001
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: ptfxd-tnivq-mh6fl-ms45k-r6acx-rl26j-ruwas-c5pwf-vhndp-33vva-hqe
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_001 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0xc340a4a54c29f3f5f532033d86059843ee6301abdf40a0a96b1a5d8e39060111
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_001)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_531 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_531 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3002
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3002".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_002
+ echo 'Setting up Neurons'\'' Fund neuron 3_002 ...'
Setting up Neurons' Fund neuron 3_002 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3002/identity.pem neuron-manage --join-community-fund 3_002
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: fkvnc-uw2qv-4cqvo-2p2xn-utogf-fpezj-ety2o-hobv4-5xr2u-n76i7-zqe
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_002 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0xb15dba0229145afbea6101d58ee7798d0490e5c71111a32c1bf5565c828eb36d
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_002)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_532 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_532 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3003
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3003".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_003
+ echo 'Setting up Neurons'\'' Fund neuron 3_003 ...'
Setting up Neurons' Fund neuron 3_003 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3003/identity.pem neuron-manage --join-community-fund 3_003
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: wrisa-2u4vp-uvhaw-efv2u-e2pip-s5qw7-ernwz-kn42l-u2vac-fltt6-lae
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_003 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0xa5d46a31107240d14f464ef8a2cb9a4ac586dc6c1dbc7dc90bb457c777d733e2
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_003)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_533 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_533 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3004
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3004".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_004
+ echo 'Setting up Neurons'\'' Fund neuron 3_004 ...'
Setting up Neurons' Fund neuron 3_004 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3004/identity.pem neuron-manage --join-community-fund 3_004
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: r35nw-hlji7-oiuyq-ye24v-q23f5-ig2lu-xsiac-eeb6x-s27lj-tcalv-vqe
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_004 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0x24eda23124799901002c41873a1b83175c97238c060b7896d27a64d1bd193e1a
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_004)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_535 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_535 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3005
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3005".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_005
+ echo 'Setting up Neurons'\'' Fund neuron 3_005 ...'
Setting up Neurons' Fund neuron 3_005 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3005/identity.pem neuron-manage --join-community-fund 3_005
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: qyy42-fpdjz-77ign-ukcll-5v45n-timat-vzjgx-zuwef-2tj73-6fgcn-lqe
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_005 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0xbdaead8a1978e475d8bcfdf0742330b873fa002eb12024d905b0037711c4cbbd
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_005)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_537 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_537 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/bizkit/sns-testing/bin/dfx identity use /home/bizkit/.config/dfx/identity/nns-nf-neuron-3006
Using identity: "/home/bizkit/.config/dfx/identity/nns-nf-neuron-3006".
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_neuron_ids '()'
++ sed 's/(vec { //'
++ sed 's/ .*//'
+ NEURON_ID=3_006
+ echo 'Setting up Neurons'\'' Fund neuron 3_006 ...'
Setting up Neurons' Fund neuron 3_006 ...
++ readlink -f /home/bizkit/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ PEM_FILE=/home/bizkit/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/bizkit/.config/dfx/identity/nns-nf-neuron-3006/identity.pem neuron-manage --join-community-fund 3_006
+ quill --insecure-local-dev-mode send msg.json --yes
Sending message with
Call type: update
Sender: ct2km-u5tbb-6fcdw-4xjp4-lwjwt-fsq3w-kz7tu-ipa5n-5jjxy-6sqgq-oqe
Canister id: rrkah-fqaaa-aaaaa-aaaaq-cai
Method name: manage_neuron
Arguments: (
record {
id = opt record { id = 3_006 : nat64 };
command = opt variant {
Configure = record {
operation = opt variant { JoinCommunityFund = record {} };
}
};
neuron_id_or_subaccount = null;
},
)
Request ID: 0xcd808285a71991968031df42bb9df7e3ca4bf3856cdaddd49746b7f23d7d3106
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/bizkit/sns-testing/bin/dfx canister --network local call nns-governance get_full_neuron '(3_006)'
++ grep joined_community_fund_timestamp_seconds
+ JNF=' joined_community_fund_timestamp_seconds = opt (1_716_364_538 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_364_538 : nat64); == *\n\a\t\6\4* ]]
+ /home/bizkit/sns-testing/bin/dfx identity use default
Using identity: "default".
Using identity: "default".
No arguments supplied. Script will download the sns wasm binaries at specified IC_COMMIT.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /home/bizkit/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /home/bizkit/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /home/bizkit/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/governance/canister/governance.did
governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /home/bizkit/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /home/bizkit/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/handlers/lifeline/impl/lifeline.did
lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /home/bizkit/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/registry/canister/canister/registry.did
registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /home/bizkit/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/handlers/root/impl/canister/root.did
root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /home/bizkit/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-identity has no local canister ID.
nns-ui has no local canister ID.
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ic-ckbtc-minter has no local canister ID.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/cli/dfx.json
Importing canister 'sns_governance' as 'sns_governance'
Importing /home/bizkit/sns-testing/candid/sns_governance.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/governance/canister/governance.did
sns_governance has no canister id for network 'ic'
Importing canister 'sns_index' as 'sns_index'
Importing /home/bizkit/sns-testing/candid/sns_index.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icrc1/index/index.did
sns_index has no canister id for network 'ic'
Importing canister 'sns_ledger' as 'sns_ledger'
Importing /home/bizkit/sns-testing/candid/sns_ledger.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/rosetta-api/icrc1/ledger/ledger.did
sns_ledger has no canister id for network 'ic'
Importing canister 'sns_root' as 'sns_root'
Importing /home/bizkit/sns-testing/candid/sns_root.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/root/canister/root.did
sns_root has no canister id for network 'ic'
Importing canister 'sns_swap' as 'sns_swap'
Importing /home/bizkit/sns-testing/candid/sns_swap.did from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/sns/swap/canister/swap.did
sns_swap has no canister id for network 'ic'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25845 100 25845 0 0 89941 0 --:--:-- --:--:-- --:--:-- 90052
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17373 100 17373 0 0 60811 0 --:--:-- --:--:-- --:--:-- 60744
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15116 100 15116 0 0 38923 0 --:--:-- --:--:-- --:--:-- 38958
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7136 100 7136 0 0 30282 0 --:--:-- --:--:-- --:--:-- 30365
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14 100 14 0 0 40 0 --:--:-- --:--:-- --:--:-- 40
Creating canister internet_identity...
internet_identity canister created with canister id: qhbym-qaaaa-aaaaa-aaafq-cai
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1812k 100 1812k 0 0 937k 0 0:00:01 0:00:01 --:--:-- 1478k
Creating canister nns-dapp...
nns-dapp canister created with canister id: qsgjb-riaaa-aaaaa-aaaga-cai
Creating canister sns_aggregator...
sns_aggregator canister created with canister id: qvhpv-4qaaa-aaaaa-aaagq-cai
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2529k 100 2529k 0 0 963k 0 0:00:02 0:00:02 --:--:-- 1517k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 368k 100 368k 0 0 493k 0 --:--:-- --:--:-- --:--:-- 493k
Creating UI canister on the local network.
The UI canister on the "local" network is "bnz7o-iuaaa-aaaaa-qaaaa-cai"
Installing code for canister sns_aggregator, with canister ID qvhpv-4qaaa-aaaaa-aaagq-cai
Installing code for canister internet_identity, with canister ID qhbym-qaaaa-aaaaa-aaafq-cai
Installing code for canister nns-dapp, with canister ID qsgjb-riaaa-aaaaa-aaaga-cai
Using NNS URLs: ["http://localhost:44505/"]
Title: Set authorized subnets
Summary: This proposal sets the application subnet as authorized
Payload: SetAuthorizedSubnetworkListArgs {
who: None,
subnets: [
t4cw6-lcy6c-akfdx-ahzeq-tovv6-cmsw7-xesxy-rllip-ksi65-znyin-vae,
],
}
submit_proposal for Set authorized subnets response: Ok(proposal 1)
proposal 1
Using NNS URLs: ["http://localhost:44505/"]
Title: Add SNS Subnet IDs to SNS-WASM
Summary: This proposal sets the SNS subnet
Payload: UpdateSnsSubnetListRequest {
sns_subnet_ids_to_add: [
t4cw6-lcy6c-akfdx-ahzeq-tovv6-cmsw7-xesxy-rllip-ksi65-znyin-vae,
],
sns_subnet_ids_to_remove: [],
}
submit_proposal for Add SNS Subnet IDs to SNS-WASM response: Ok(proposal 2)
proposal 2
Downloading WASMs at specified IC_COMMIT.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244k 100 244k 0 0 1077k 0 --:--:-- --:--:-- --:--:-- 1081k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 673k 100 673k 0 0 1579k 0 --:--:-- --:--:-- --:--:-- 1581k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 425k 100 425k 0 0 1535k 0 --:--:-- --:--:-- --:--:-- 1535k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 579k 100 579k 0 0 1893k 0 --:--:-- --:--:-- --:--:-- 1898k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 213k 100 213k 0 0 1421k 0 --:--:-- --:--:-- --:--:-- 1425k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 314k 100 314k 0 0 1491k 0 --:--:-- --:--:-- --:--:-- 1499k
Submitting WASM for root
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add root SNS canister wasm to SNS-WASM response: Ok(proposal 3)
Submitting WASM for governance
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add governance SNS canister wasm to SNS-WASM response: Ok(proposal 4)
Submitting WASM for swap
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add swap SNS canister wasm to SNS-WASM response: Ok(proposal 5)
Submitting WASM for ledger
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add ledger SNS canister wasm to SNS-WASM response: Ok(proposal 6)
Submitting WASM for index
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add index SNS canister wasm to SNS-WASM response: Ok(proposal 7)
Submitting WASM for archive
Using NNS URLs: ["http://localhost:44505/"]
submit_proposal for Add archive SNS canister wasm to SNS-WASM response: Ok(proposal 8)
[bizkit@archlinux sns-testing]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment