This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
web3.eth.getGasPrice sometimes returns 0 for xDai chain #9795
Labels
A3-stale 🍃
Pull request did not receive any updates in a long time. No review needed at this stage. Close it.
F3-annoyance 💩
The client behaves within expectations, however this “expected behaviour” itself is at issue.
F8-enhancement 🎊
An additional feature request.
M6-rpcapi 📣
RPC API.
P9-somedaymaybe 🌞
Issue might be worth doing eventually.
Milestone
web3.eth.getGasPrice
(web3 1.0 is used) sometimes returns0
forxDai
chain but sometimes it returns a correct value of1 gwei
.However, for
POA Sokol
andPOA Core
it works fine: status-im/status-mobile#6388 (comment)Seems something's wrong with
eth_gasPrice
JSON RPC for xDai chain which uses transactions with zero gas price for its bridge part.I tried to launch Parity in the following manner:
spec.json
andbootnodes.txt
should be taken from here: https://github.com/poanetwork/poa-chain-spec/tree/daiThe code to reproduce:
The text was updated successfully, but these errors were encountered: