Open sahil3Vedi opened 1 year ago
I will try adding a line in the polygon-edge.sh
file that curls the JSON-RPC of the rootchain to transfer Rootchain Stake Tokens
to the validators and that should resolve the issue. Will update the result here shortly!
@Stefan-Ethernal turns out the funding issue inside the polygoin-edge.sh
file cannot be fixed by editing the shell file itself. Kindly review this, thanks!
Funding issue when using docker-compose with Mumbai as Rootchain
Description
I have modified the
docker-compose.yml
and thepolygon-edge.sh
file as follows in order to run Mumbai as Rootchain in place of the local geth instance. I'm pretty sure I have got most of it right except the part where we transfer Rootchain Stake Tokens to the Validators on the rootchain. In the local setup I used to do this manually but there does not seem to be a way to doing this using therootchain fund
command.The
rootchain fund
command deducts native rootchain tokens from the deployer's private key and transfers it to the validators. What it does NOT seem to do is transferRootchain Stake Tokens
to the validators. Kindly suggest solutions or workarounds for this. I believe modifying the command to transferRootchain Stake Tokens
in the presence of the--stake-token
flag and transferring native rootchain tokens otherwise would be ideal.docker-compose.yml
polygon-edge.sh
Your environment
Steps to reproduce
docker-compose.yml
andpolygon-edge.sh
files inside the/docker/local
folder with the above filesExpected behavior
Rootchain Stake Tokens
Logs from the polygon-edge-bootstrapper container
Proposed solution
I believe modifying the
rootchain fund
command to transferRootchain Stake Tokens
in the presence of the--stake-token
flag and transferring native rootchain tokens otherwise would be ideal.Thanks for your time!