QBFT fails seal blocks (err=unauthorized) #1536
-
Hello, I'm attempting to create a private network orchestrated with docker-compose and nodes spin up correctly, unlocking their account without issue, but QBFT is not working as expected as I'm getting a Apparently QBFT is starting with a completely unrelated address: in the example below the unlocked account is 0x37aeD63d9Fea452061940c2686C293F9BCa84E27, but QBFT starts with the 0x44C53cbEbab3c4450d21cf3359c48E70362F42D4 address (maybe this has nothing to do with the error and I'm misunderstanding the meaning of this second address). The same configuration works correctly with Clique with both the Quorum and the Geth client (with a different extradata, of course). Here is the output log of one of the nodes' Quorum client (it's the same on all 3 of them, apart from the addresses):
And here the docker-compose file for the node:
Am I missing some startup parameter or something else? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This happens when the node is not part of the list of validators, which is set in the extra data or validators smart contract. There are two addresses: wallet address (account) for signing sent tx and node address (nodekey) for mining and permissioning. There is tutorial for making a private network: https://consensys.net/docs/goquorum/en/latest/tutorials/private-network/create-qbft-network/
|
Beta Was this translation helpful? Give feedback.
This happens when the node is not part of the list of validators, which is set in the extra data or validators smart contract.
There are two addresses: wallet address (account) for signing sent tx and node address (nodekey) for mining and permissioning.
There is tutorial for making a private network: https://consensys.net/docs/goquorum/en/latest/tutorials/private-network/create-qbft-network/
istanbul.getValidators()
(from geth console) will returns the list of declared validators, they should match the values on eachnodekey
file and in the static and permissioned files, it's the public keynodekey.pub
that should be used.