Replies: 5 comments
-
@Nexsuperne101 Did you generate keys for 10 nodes in the begining? Does your network have only 10 nodes? I suppose you don't have 20 nodes, right? |
Beta Was this translation helpful? Give feedback.
-
I generated keys for 10 nodes only, which are the 10 boot nodes. Then I flipped from PoA to PoS, put 5 million coins into each boot node, went to PoS successfully. Now we are staking 5 million coins from each staker wallet to the 0x0000000000000000000000000000000000001001 |
Beta Was this translation helpful? Give feedback.
-
@Nexsuperne101 Those 10 nodes, that you set up as bootnodes, are the stakers. If you used the staking contracts repo to stake from them, then the rewards are stored on the address of each validator. A bootnode is just a simple node that allows peers to discover each other. Also, not all nodes need to be bootnodes. When you generate the keys for the nodes, you can choose which ones of those to act as bootnodes. |
Beta Was this translation helpful? Give feedback.
-
thanks for your reply. So do I need to set up a non validator node for each one person that wants to stake? But instead of altering the genesis.json with the bootnode details "ip4/1.2.3.4/........../16ghfdjghdjlfgdhjk" line, they just create the .env file, add the staking-contracts details and then npm run stake and npm run register-blskey? |
Beta Was this translation helpful? Give feedback.
-
@Nexsuperne101 You don't need to set up a non-validator node. If you start with 10 validator nodes on PoA, you can still stake from them and use them as validators when you switch to PoS. After the genesis file was created, you can add a new validator by generating the keys for a node and then:
|
Beta Was this translation helpful? Give feedback.
-
[ Subject of the issue ]
Description
Describe your issue in as much detail as possible here. 2.5 hours ago we set up 10 bootnodes and 10 staked validators (using the 0x00000000000000000001001 address). The bootnodes get more coins every few minutes, but so far the staked validators have received none. All stakers and bootnodes have 5 million coins in each staked wallet, so it should be roughly equal. Am I missing a switch somewhere?
Your environment
(Confirm the version of your Polygon edge client by running the following command:
polygon-edge version --grpc-address GRPC_ADDRESS
)Steps to reproduce
polygon-edge peers list --grpc-address GRPC_ADDRESS
.Expected behavior
Logs
Provide us with debug logs from all of your validators by setting logging to
debug
output with:server --log-level debug
Proposed solution
If you have an idea on how to fix this issue, please write it down here, so we can begin discussing it
Beta Was this translation helpful? Give feedback.
All reactions