-
Notifications
You must be signed in to change notification settings - Fork 2.6k
error: The argument '--name <NAME>' cannot be used with '--dave' #4096
Comments
|
:-) Does it? Lol.
Yes, I know. What is your reason why we must not override |
This is for testing purposes. Having 2 validators running with the same key, will get you slashed. Furthermore everyone knows this private key. I don't understand your use case. |
Seems like a very rare case to me and not worthwhile. Alice, bob and the few others that have a flag are for testing, and pretty common names. If you are really keen on using Nonetheless, should be easy to allow override I suppose. |
At the moment not, no. I got an "error: The argument '--name ' cannot be used with '--alice'"
Yes, I would think so. Instead of that easy but forbidden option, I have now put > 1.5 days of work in. Not using Alice & Bob & Charlie & Dave at all; but creating keys myself with What I have scripted now instead ... can actually create seeds for, modify a chainspec, and start an arbitrary number of nodes, not only 2 or 4. Great. Then I had a very persistent last problem ... But then your comment made me realize it:
Hooray, that was it. Thanks for helping-without-knowing-that-was-what-I-needed :-) I think this page needs some modifications/additions towards the end - to help other people avoid the trap I fell in:
Actually two last things - manually inserting MANY keys via a point and click GUI ... is rather annoying. Imagine to do that for 4 nodes, or 9.
I know that I must submit this:
If you give instructions how to do this via Thanks a lot, you have really helped me. Hooray, my nodes are running fine. |
I'm still not convinced for making For the rest, please an appropriate issue in this repo: https://github.com/substrate-developer-hub/substrate-developer-hub.github.io That is the place for requesting changes to the documentation. Thanks in advance. For the key management, you see here the commands: https://github.com/paritytech/substrate/tree/6ae3b6c4ddc03d4cdb10bd1d417b95d20f4c1b6e#7-key-management |
Not true. I had no such problems with Alice & Bob. Only when I started to learn about the different keys, babe, grandpa, etc, it became complicated, and I initially misunderstood the The manual page is quite good, but IMHO those added explanations above would have helped me. As you recommended, I have put my manual suggestions here: polkadot-developers/substrate-developer-hub.github.io#327
because:
Nice one, thanks. So there is only this way: "you need to use one of the two provided RPC calls." Good to know. I had already found a similar way now, via a websockets call. Thanks. I have solved all this myself now. Went the hard way, learned a lot. My scripts are creating a network with an arbitrary number of nodes, with their own keys, and chainspec. No need for Alice & Bob anymore. It works. Hooray. Almost perfectly. Because at block # 100 - that's it, then it gets stuck. I am quite surprised, that a network with e.g. 9 nodes ... needs only ~330 MB of RAM. Thanks a lot for your hints. Much appreciated. |
When trying to find my node on https://telemetry.polkadot.io/#list/Local%20Testnet there were several nodes called "Alice".
I tried to simply choose my own name
--alice --name CH_Alice
but that resulted in:Why not let us override the --name ?
The text was updated successfully, but these errors were encountered: