Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify seed number of trustee #253

Closed
darapich92 opened this issue Apr 5, 2023 · 8 comments
Closed

Cannot modify seed number of trustee #253

darapich92 opened this issue Apr 5, 2023 · 8 comments

Comments

@darapich92
Copy link

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.

@WadeBarnes
Copy link
Member

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

@darapich92
Copy link
Author

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?

@WadeBarnes
Copy link
Member

WadeBarnes commented Apr 6, 2023

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.

@darapich92
Copy link
Author

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

@WadeBarnes
Copy link
Member

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.

@darapich92
Copy link
Author

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?

@WadeBarnes
Copy link
Member

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
Copy link
Member

Closed, since the original question was answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants