Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ohsalmeron/5cd684018c103e5389654bb3d1b172f3 to your computer and use it in GitHub Desktop.

Select an option

Save ohsalmeron/5cd684018c103e5389654bb3d1b172f3 to your computer and use it in GitHub Desktop.
setup_locally
Awaiting local replica ...
Dashboard: http://localhost:8000/_/dashboard
[bizkit@archlinux sns-testing]$ docker exec -it $SNS_TESTING_INSTANCE bash 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 257k 0 0:00:01 0:00:01 --:--:-- 257k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 151k 100 151k 0 0 142k 0 0:00:01 0:00:01 --:--:-- 142k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 805k 100 805k 0 0 644k 0 0:00:01 0:00:01 --:--:-- 644k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 819k 100 819k 0 0 619k 0 0:00:01 0:00:01 --:--:-- 619k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 511k 100 511k 0 0 450k 0 0:00:01 0:00:01 --:--:-- 450k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4206 100 4206 0 0 6296 0 --:--:-- --:--:-- --:--:-- 6305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 517k 100 517k 0 0 432k 0 0:00:01 0:00:01 --:--:-- 432k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74558 100 74558 0 0 83613 0 --:--:-- --:--:-- --:--:-- 83585
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4206 100 4206 0 0 6177 0 --:--:-- --:--:-- --:--:-- 6185
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833k 100 833k 0 0 625k 0 0:00:01 0:00:01 --:--:-- 625k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 256k 100 256k 0 0 240k 0 0:00:01 0:00:01 --:--:-- 240k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 480k 100 480k 0 0 409k 0 0:00:01 0:00:01 --:--:-- 409k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244k 100 244k 0 0 235k 0 0:00:01 0:00:01 --:--:-- 235k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 673k 100 673k 0 0 354k 0 0:00:01 0:00:01 --:--:-- 354k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 425k 100 425k 0 0 376k 0 0:00:01 0:00:01 --:--:-- 377k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 579k 100 579k 0 0 504k 0 0:00:01 0:00:01 --:--:-- 504k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 213k 100 213k 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 314k 100 314k 0 0 276k 0 0:00:01 0:00:01 --:--:-- 275k
Extension 'nns' installed successfully
Extension 'sns' installed successfully
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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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 85319 0 --:--:-- --:--:-- --:--:-- 85297
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17373 100 17373 0 0 65808 0 --:--:-- --:--:-- --:--:-- 66057
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 = slvla-awocw-p454e-sesm2-mg5bk-xohv6-d7qzc-ea7xc-qoy6w-truby-oqe
Using identity: "nns-nf-neuron-3002".
Ensured the existence of Neurons' Fund neuron ID 3002 with identity principal = zm76p-ayrpr-iqwno-g33v2-ffgt5-ufesb-jkp4v-zdfw2-wbavl-uprvc-gae
Using identity: "nns-nf-neuron-3003".
Ensured the existence of Neurons' Fund neuron ID 3003 with identity principal = 3ofq7-bjaoc-ejfqp-honsk-lpq46-yjz7c-zamul-bhrjg-be2je-m6dl6-xqe
Using identity: "nns-nf-neuron-3004".
Ensured the existence of Neurons' Fund neuron ID 3004 with identity principal = sgg2n-iesxz-brlng-jzcs4-msvpi-knnsx-hmfec-y5iy2-muosx-4s6ky-4qe
Using identity: "nns-nf-neuron-3005".
Ensured the existence of Neurons' Fund neuron ID 3005 with identity principal = jcupi-wgaik-3hcn3-pqi2e-hytp2-6dlzk-klniy-sdqel-wb2od-h2pto-6qe
Using identity: "nns-nf-neuron-3006".
Ensured the existence of Neurons' Fund neuron ID 3006 with identity principal = mmi55-7ngc5-vp5ud-dhr5s-yflqe-ewbda-nz73e-ybcge-szqhx-oxewj-xqe
[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: 9a5d6c2ab299b3216719753fa35151432f299e7e0f51daf13b6e791a23b2b116
[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 governance-canister with features: ["test"] (size = 2667672, path = ./governance-canister_test.wasm)
Using pre-built binary for ledger-canister with features: ["notify-method"] (size = 1180832, path = ./ledger-canister_notify-method.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: rrkah-fqaaa-aaaaa-aaaaq-cai
Installed rrkah-fqaaa-aaaaa-aaaaq-cai with governance-canister
Successfully installed wasm into canister with ID: ryjl3-tyaaa-aaaaa-aaaba-cai
Installed ryjl3-tyaaa-aaaaa-aaaba-cai with ledger-canister
Compiling Wasm for root-canister in task on thread: ThreadId(13)
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(12)
looking up genesis-token-canister at GENESIS_TOKEN_CANISTER_WASM_PATH
Done compiling the wasm for root-canister
Compiling Wasm for sns-wasm-canister in task on thread: ThreadId(13)
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: rno2w-sqaaa-aaaaa-aaacq-cai
Installed rno2w-sqaaa-aaaaa-aaacq-cai with the lifeline handler
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: rkp4c-7iaaa-aaaaa-aaaca-cai
Installed rkp4c-7iaaa-aaaaa-aaaca-cai with cycles-minting-canister
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: qaa6y-5yaaa-aaaaa-aaafa-cai
Installed qaa6y-5yaaa-aaaaa-aaafa-cai with sns-wasm-canister
NNS canisters installed after 29.0 s
NNS canisters set up after 31.1 s
[ic-nns-init] All NNS canisters have been set up on the replica with http://localhost:8000/
Using identity: "default".
++ /home/sns/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/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3001
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3001".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3001/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: slvla-awocw-p454e-sesm2-mg5bk-xohv6-d7qzc-ea7xc-qoy6w-truby-oqe
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: 0xe9a1d5210770e1caa4e7f460e49b8bc2b4cbdc711152f1bf8117c4aae35df417
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_362 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_362 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3002
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3002".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3002/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: zm76p-ayrpr-iqwno-g33v2-ffgt5-ufesb-jkp4v-zdfw2-wbavl-uprvc-gae
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: 0x6a8464d27c1dba0874b8dc34c790beecf1738c20bea986afb7530bbf775d0d2e
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_364 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_364 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3003
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3003".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3003/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: 3ofq7-bjaoc-ejfqp-honsk-lpq46-yjz7c-zamul-bhrjg-be2je-m6dl6-xqe
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: 0xfe63eb2f15724982827adc801f8cde58c4ff90e60dc1b33beeb38fd7eb04ee28
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_365 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_365 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3004
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3004".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3004/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: sgg2n-iesxz-brlng-jzcs4-msvpi-knnsx-hmfec-y5iy2-muosx-4s6ky-4qe
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: 0x6a17d50264ac5636173be80a1421e063346b54c65ebf63eaddfbc6f705cf4de0
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_367 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_367 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3005
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3005".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3005/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: jcupi-wgaik-3hcn3-pqi2e-hytp2-6dlzk-klniy-sdqel-wb2od-h2pto-6qe
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: 0x3b350ed30b619b59d934996db2d37738f07f28d5feaa1b4369afeb7842376dfd
The request is being processed...
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_368 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_368 : nat64); == *\n\a\t\6\4* ]]
+ for NF_NEURON_IDENTITY in "${HOME}/.config/dfx/identity/"nns-nf-neuron*
+ /home/sns/bin/dfx identity use /home/sns/.config/dfx/identity/nns-nf-neuron-3006
Using identity: "/home/sns/.config/dfx/identity/nns-nf-neuron-3006".
++ /home/sns/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/sns/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ PEM_FILE=/home/sns/.config/dfx/identity/nns-nf-neuron-3006/identity.pem
+ quill --insecure-local-dev-mode --pem-file /home/sns/.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: mmi55-7ngc5-vp5ud-dhr5s-yflqe-ewbda-nz73e-ybcge-szqhx-oxewj-xqe
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: 0x7afce908f158e598f0caa4e23857bc8f7197e63d7823b3af1cdd3edbf1bcfcc1
The request is being processed...
The request is being processed...
(record { command = opt variant { Configure = record {} } })
++ /home/sns/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_310_369 : nat64);'
+ [[ joined_community_fund_timestamp_seconds = opt (1_716_310_369 : nat64); == *\n\a\t\6\4* ]]
+ /home/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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/sns/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 98744 0 --:--:-- --:--:-- --:--:-- 99022
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17373 100 17373 0 0 86061 0 --:--:-- --:--:-- --:--:-- 86432
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 144k 0 144k 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k
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 1221k 0 0:00:01 0:00:01 --:--:-- 1973k
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 1099k 0 0:00:02 0:00:02 --:--:-- 2306k
% 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 372k 0 --:--:-- --:--:-- --:--:-- 372k
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:8000/"]
Title: Set authorized subnets
Summary: This proposal sets the application subnet as authorized
Payload: SetAuthorizedSubnetworkListArgs {
who: None,
subnets: [
uvcyl-wgxpd-67kru-mfvws-3agc6-zxdcp-3sd34-phqar-kvozr-oqz3t-nqe,
],
}
submit_proposal for Set authorized subnets response: Ok(proposal 1)
proposal 1
Using NNS URLs: ["http://localhost:8000/"]
Title: Add SNS Subnet IDs to SNS-WASM
Summary: This proposal sets the SNS subnet
Payload: UpdateSnsSubnetListRequest {
sns_subnet_ids_to_add: [
uvcyl-wgxpd-67kru-mfvws-3agc6-zxdcp-3sd34-phqar-kvozr-oqz3t-nqe,
],
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 409k 0 --:--:-- --:--:-- --:--:-- 408k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 673k 100 673k 0 0 1636k 0 --:--:-- --:--:-- --:--:-- 1635k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 425k 100 425k 0 0 1084k 0 --:--:-- --:--:-- --:--:-- 1087k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 579k 100 579k 0 0 1634k 0 --:--:-- --:--:-- --:--:-- 1635k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 213k 100 213k 0 0 722k 0 --:--:-- --:--:-- --:--:-- 722k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 314k 100 314k 0 0 832k 0 --:--:-- --:--:-- --:--:-- 832k
Submitting WASM for root
Using NNS URLs: ["http://localhost:8000/"]
submit_proposal for Add root SNS canister wasm to SNS-WASM response: Ok(proposal 3)
Submitting WASM for governance
Using NNS URLs: ["http://localhost:8000/"]
submit_proposal for Add governance SNS canister wasm to SNS-WASM response: Ok(proposal 4)
Submitting WASM for swap
Using NNS URLs: ["http://localhost:8000/"]
submit_proposal for Add swap SNS canister wasm to SNS-WASM response: Ok(proposal 5)
Submitting WASM for ledger
Using NNS URLs: ["http://localhost:8000/"]
submit_proposal for Add ledger SNS canister wasm to SNS-WASM response: Ok(proposal 6)
Submitting WASM for index
Using NNS URLs: ["http://localhost:8000/"]
submit_proposal for Add index SNS canister wasm to SNS-WASM response: Ok(proposal 7)
Submitting WASM for archive
Using NNS URLs: ["http://localhost:8000/"]
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