Developers Forum for XinFin XDC Network

Naresh Mohanraj
Naresh Mohanraj

Posted on

Need support to increase --rpc.txfeecap

Hi Team,
We are facing issues in our plugin vrf service(mainnet and testnet) due to increased gas fee during the transaction, but the rpc.txfeecap are by default set to 1 ether.
Image description

I have tried to increase the --rpc.txfeecap by setting it to 0(so there is no limitations) by using below command.

sudo docker exec -it testnet_xinfinnetwork_1 XDC --rpc.txfeecap 0

But I am prompted to specify etherbase explicitly
Image description

After creating a new account and explicitly specifying the ehterbase address the log stalls there for long time and without any success:
Image description

Would be great if we can get some direction on this.

Regards,
Naresh Mohanraj

Discussion (6)

Collapse
naresh_mohanraj profile image
Naresh Mohanraj Author

Hi Daniel Liu & Sina Mahmoodi,
Thank you for the quick support , I was able to increase the rpc.txfeecap.
Now vrf service is Live on both mainnet and testnet.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello @naresh_mohanraj
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.

Collapse
gzliudan profile image
Daniel Liu • Edited on

the default value of RPCGasCap is 50M in dev-upgrade branch now. If it is not enough, you can specify a larger value.

Collapse
logeswaran profile image
Lokesh

Great, thanks.. Are these updates available in our production RPC's?. We were using our own full node.

Just want to double check before we apply these patch. We will try erpc.apothem.network first before we try mainnet and update here.

Collapse
gzliudan profile image
Daniel Liu

I saw your RPCGasCap is 25M in the log file. Please increase it first.

Thread Thread
sina profile image
Sina Mahmoodi

The OG is wondering about the tx fee cap. It is a cap placed by the node so you don't accidentally pay too much in gas fees when submitting a transaction.

Also 1.45 ether seems like a lot :)

Try adding the flag in the start-apothem.sh file directly and then run docker compose.