dfinity / sns-testing

Testing SNS in local testing environment
Apache License 2.0
9 stars 12 forks source link

InvalidNeuronId #12

Closed letmejustputthishere closed 1 year ago

letmejustputthishere commented 1 year ago

bash-3.2$ ./register_dapp.sh q4eej-kyaaa-aaaaa-aaaha-cai Using identity: "default". Added as controller of "q4eej-kyaaa-aaaaa-aaaha-cai": sgymv-uiaaa-aaaaa-aaaia-cai Error: InvalidNeuronId: Could not convert NeuronId to Subaccount could not convert slice to array

mraszyk commented 1 year ago

Does the SNS yaml file you used when invoking deploy_sns.sh specify a developer neuron for your current DFX identity? The yaml file should either define

       developer_neurons:
         - controller: aaaaa-aa

in which case deploy_sns.sh replaces the principal aaaaa-aa with your current DFX identity or contain your current DFX identity.

letmejustputthishere commented 1 year ago

Thanks for the reply!