You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running basic_scenario after successfully completing the previous steps, the following error occured
❯ ./run_basic_scenario.sh # from Bash
Using identity: "default".
Setting ICP/XDR conversion rate to 10000 ...
Using NNS URLs: ["http://localhost:8000/"]
Title: Updating Xdr/Icp conversion rate to 10000
Summary: Set ICP/XDR conversion rate to 10000
Payload: UpdateIcpXdrConversionRatePayload {
data_source: "IC admin",
timestamp_seconds: 1713853482,
xdr_permyriad_per_icp: 10000,
reason: None,
}
submit_proposal for Updating Xdr/Icp conversion rate to 10000 response: Ok(proposal 9)
proposal 9
Using identity: "default".
% 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 645k 100 645k 0 0 560k 0 0:00:01 0:00:01 --:--:-- 2453k
Using identity: "default".
Creating canister test...
test canister created with canister id: bkyz2-fmaaa-aaaaa-qaaaq-cai
Installing code for canister test, with canister ID bkyz2-fmaaa-aaaaa-qaaaq-cai
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
OK
Using identity: "default".
Using identity: "default".
Invoking dfx with `dfx`. dfx version: dfx 0.19.0
Added as controller of "bkyz2-fmaaa-aaaaa-qaaaq-cai": r7inp-6aaaa-aaaaa-aaabq-cai
Using identity: "default".
Using identity: "default".
Using identity: "default".
Using identity: "default".
Using identity: "default".
Creating a wallet canister on the local network.
The wallet canister on the "local" network for user "default" is "bd3sg-teaaa-aaaaa-qaaba-cai"
Fabricating 2345000000000000 cycles onto bd3sg-teaaa-aaaaa-qaaba-cai
Fabricated 2345000000000000 cycles, updated balance: 2_445_000_000_000_000 cycles
Depositing 200000000000000 cycles onto qaa6y-5yaaa-aaaaa-aaafa-cai
Deposited 200000000000000 cycles.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/fda260e972c03a580be1119d6c2868e30171be02/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 /Users/moritz/projects/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 191k 0 --:--:-- --:--:-- --:--:-- 203k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17373 100 17373 0 0 136k 0 --:--:-- --:--:-- --:--:-- 143k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 144k 0 144k 0 0 308k 0 --:--:-- --:--:-- --:--:-- 310k
Loaded configuration.
Sending proposal with title "NNS Proposal to create an SNS named 'Rock Out'" to NNS (--network=local)...
Invoking dfx with `dfx`. dfx version: dfx 0.19.0
default
Imported identity: "test-neuron-1-owner__b2ucp-4x6ou-zvxwi-niymn-pvllt-rdxqr-wi4zj-jat5l-ijt2s-vv4f5-4ae".
Using identity: "test-neuron-1-owner__b2ucp-4x6ou-zvxwi-niymn-pvllt-rdxqr-wi4zj-jat5l-ijt2s-vv4f5-4ae".
🚀 Success!
Message from NNS governance: "The proposal has been created successfully."
Proposal ID: 10
Using identity: "default".
Using identity: "default".
br5f7-7uaaa-aaaaa-qaaca-cai
by6od-j4aaa-aaaaa-qaadq-cai
bw4dl-smaaa-aaaaa-qaacq-cai
be2us-64aaa-aaaaa-qaabq-cai
b77ix-eeaaa-aaaaa-qaada-cai
Using identity: "default".
OK
Using identity: "default".
OK
Using identity: "default".
Using identity: "default".
Building canisters...
Error: Failed while trying to build all canisters.
Caused by: Failed while trying to build all canisters.
Failed while trying to build all canisters in the canister pool.
The pre-build all step failed with an embedded error: Failed step_prebuild_all.: Failed to copy /Users/moritz/projects/sns-testing/ to /Users/moritz/projects/sns-testing/.dfx/local/canisters/idl/qhbym-qaaaa-aaaaa-aaafq-cai.did: the source path is neither a regular file nor a symlink to a regular file
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. You should be able to work around this by running ./cleanup.sh, or by starting over with a fresh copy of sns-testing. I'll leave this issue open until the root cause is actually identified and fixed
Note: I think the issue is related to a thing that happens where some of dfx.json's candid fields get set to candid: "". It just happened to me multiple times in a row, super weird. I'll post in here if/when I have an update
when running
basic_scenario
after successfully completing the previous steps, the following error occuredThe text was updated successfully, but these errors were encountered: