Replies: 2 comments
-
Hello @adaki2004 , |
Beta Was this translation helpful? Give feedback.
-
Hello @laviniat1996 ! Thanks for the response. I tried to query the result via an RPC call. Let me summarize the process: This is how I query the results via the rpc endpoint (after redirected to localhost).
When the address is the node's address the result is 0, when the address is the premined address it is correct. This is how I get the node's public address (from the logs):
Maybe I forgot a flag.. ? Or why I'm not able to see the rewards distributed to the nodes ? |
Beta Was this translation helpful? Give feedback.
-
[ Validator rewards ]
Description
I would like to set up faucet contract(s) and therefore I'd like to redirect the funds from validator rewards to that contract on a polygon edge private blockchain.
I know
premine
flag which works fine for me, but how can I access the rewards of the validators (if they have any?)Your environment
Expected behavior
Maybe I have forgotten some flags, or searching for something wrong.
polygon.server.ibft: validator key: addr=0x5f00f9614d1b990770744Aed2E3b4C8eFda77cF8
Through RPC i'm querying the validator key for eth_getBalance and shows me 0, while the premined account has the proper amount of native token.
Is there any flag I need to supply in order to get those rewards ?
This is how I invoke polygon-edge to create genesis:
And this is how i start the nodes:
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions