Closed AhmedHanafy725 closed 7 months ago
Also a side note
Since zos
always use the seeds (not the mnemonics) it means that all zos nodes will have to update their twins if this fix is deployed
Also a side note
Since
zos
always use the seeds (not the mnemonics) it means that all zos nodes will have to update their twins if this fix is deployed
as discussed with @muhamadazmy, the peers that are using the seed won't be affected by this change because the seed is used as is, only the peers that are using the mnemonic will need to update the twin as it needs to convert the mnemonic to a seed. So for the zos nodes, nothing will be changed.
@AhmedHanafy725 you are absolutely correct. I got it wrong.
I have a mnemonic and generate the seed with the substrate tool (subkey)
Steps
1- Run rmb-peer using the mnemonic, it will load the twin
2- Wait for a minute 3- Run rmb-peer using the seed of the used mnemonic in the previous step, it will also load the same twin but it will update the twin's public key
Expected Results
Using the mnemonic or the seed for the same twin should result in the same public key
Findings
no twin found on this network with given key
https://github.com/threefoldtech/rmb-rs/blob/15b8be8cea40acf762fb83b94328944c41cc9414/src/peer/e2e/mod.rs#L38