von-network icon indicating copy to clipboard operation
von-network copied to clipboard

Cannot modify seed number of trustee

Open darapich92 opened this issue 2 years ago • 3 comments

Hello everyone, I have a problem when I want to modify seed number of trustee in the manage.sh, I got an error of each node error: 'client request invalid: could not authenticate, verkey for UnB4FgtLv1M9BpDP3iuTfn cannot be found' . Could you help me to solve this problem?

Thank you very much.

darapich92 avatar Apr 05 '23 15:04 darapich92

Please provide details of the steps that lead up to your error, as well as some background of what you're trying to accomplish.

WadeBarnes avatar Apr 05 '23 16:04 WadeBarnes

Hi @WadeBarnes, I changed the LEDGER_SEED=${LEDGER_SEED:-000000000000000000000000Trustee1} --> LEDGER_SEED=${LEDGER_SEED:-000000000000000000000001Trustee1} in the manage.sh in the von-network. As expected, it should work fine but when I execute the script containing new seed number, the 4 nodes in the web-server cannot be online and got the error messages as I mentioned before. I raise a question, should I change code somewhere else more to make von-network?

darapich92 avatar Apr 06 '23 08:04 darapich92

Changing LEDGER_SEED only changes the DID used by the network browser to connect to the nodes in the pool. It is used to connect the ledger browser to other networks. It DOES NOT affect the DID of the primary trustee on the network. von-network uses scripts within indy-node and indy-plenum to generate a test network. The SEED and therefore the DID of the primary trustee for the network is hard coded for the test network at the indy-plenum level.

WadeBarnes avatar Apr 06 '23 12:04 WadeBarnes

Thank you @WadeBarnes for your answer. So, could you tell me why we need LEDGER_SEED when we execute ./manage up?

darapich92 avatar Apr 22 '24 11:04 darapich92

By default you don't need to specify LEDGER_SEED when running von-network, unless you're trying to connect to a different ledger, one that was not created by von-network in he first place. See my previous comment.

WadeBarnes avatar Apr 22 '24 12:04 WadeBarnes

Thank you again @WadeBarnes . I got your point. So, can you tell me the role of endorser in the Von-network. what do they do?

darapich92 avatar Apr 22 '24 13:04 darapich92

Have a look at the auth_rules for indy-node. It will give you an idea on what the various roles and what they can do.

WadeBarnes avatar Apr 22 '24 13:04 WadeBarnes

Closed, since the original question was answered.

WadeBarnes avatar Apr 22 '24 13:04 WadeBarnes