0xPolygon / polygon-edge

A Framework for Building Ethereum-compatible Blockchain Networks
https://polygon.technology/solutions/polygon-edge/
Apache License 2.0
1.01k stars 534 forks source link

Pending state of transaction #1870

Closed amansk2050 closed 1 year ago

amansk2050 commented 1 year ago

Description

After the successful configuration of rootchain (mumbai test net) and my supernet, I am running my supernet on any jrpc port and added that chain to my metamask. The problem after that is whenever I am doing a transaction like sending some native token to any other wallet or deploying any erc20 token it goes to a pending state and does not complete the transaction.

I have used all the commands sequentially as mentioned in the doc.

operating system

I am using Ubuntu.

steps to Produce this error.

use this command sequentially.

"I have deployed this erc20 token seperately on mumbai testnet and used here"

"repeat this step for all nodes"

"repeat this step for each nodes".

./polygon-edge server --data-dir ./-2 --chain genesis.json --grpc-address :5002 --libp2p :30302 --jsonrpc :10002 --seal --log-level DEBUG

After that add this chain to your metamask. and try to transfer some native coin to another wallet.

pranjali301 commented 1 year ago

the validators need to be funded before initializing the contracts (in order to be able to pay for gas for deploying the contracts)

pranjali301 commented 1 year ago

you need to fund a validator account through this command

./polygon-edge rootchain fund --addresses 0x77C1eedFf656477462ce16084fE5Dc7F8a2507B9 --amounts 1000000000000000000

amansk2050 commented 1 year ago

funds meanning, matic or native token ?