Hello dear support team.
Could you please advice
I am trying to build a Local Deployment of Supernet follovig instruction
I wish to initiatete rootchain from with Mumbai Testnet
https://polygon-mumbai.g.alchemy.com/v2/demo
This address has been found in your “cloud Deployment” automation.
Same time I have an untransparent request for a Gas fee. I got tried to link metamask with issued TEST ERC & Matic via FAUCET
List of commands to reproduce
- initialize PolyBFT consensus
polygon-edge polybft-secrets --insecure --data-dir test-chain- --num 4
[WARNING: INSECURE LOCAL SECRETS - SHOULD NOT BE RUN IN PRODUCTION]
[SECRETS GENERATED]
network-key, validator-key, validator-bls-key, validator-bls-signature
- Generate the manifest file
root@validator-001:/var/lib/edge# polygon-edge manifest \
--validators-path ./ \
--validators-prefix test-chain- \
--path ./manifest.json \
--premine-validators 100
[MANIFEST INITIALIZATION SUCCESS]
Manifest file written to ./manifest.json
check fs
root@validator-001:/var/lib/edge# ls
init.sh lost+found manifest.json test-chain-1 test-chain-2 test-chain-3 test-chain-4
- Deploy and initialize rootchain contracts
polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo
[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...
failed to deploy rootchain contracts: {"code":-32000,"message":"insufficient funds for gas * price + value"}
polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo --rootchain-erc20 0x639F171Db18C11Dec623C
113D188b19463b86341
[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...
failed to deploy rootchain contracts: root chain ERC20 token is not deployed on provided address 0x639F171Db18C11Dec623C113D188b19463b86341
polygon-edge rootchain init-contracts --manifest ./manifest.json --json-rpc https://polygon-mumbai.g.alchemy.com/v2/demo --test
[ROOTCHAIN - CONTRACTS DEPLOYMENT] started...
failed to deploy rootchain contracts: no accounts registered
Ask for advice on the next stages
P.S. Even for Local GETH Deployment, it got asked the same ( GAS FEE ) . but --test allowed to resolve that type of issue.