Development resources at your finger tips
Build with the coolest Web3 projects
Recurring funding for Open Source
Learn about Web3 & earn rewards
Show appreciation for each other
Meet fellow developers, designers, futurists and more. Collaborate and BUIDL awesome projects together.
Discover great web3 organizations, work on meaningful projects and build relationships with like minded people. Browse Tribes
Meet the top hunters and contributors from our community.
In partnership with Protocol Labs, we’re excited to welcome builders from everywhere to APOLLO, your mission control to engage with the builder…
We’re excited to publically announce that Matic Network is partnering with Gitcoin to launch the Build-n-Earn Program – assisting dApps t…
Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
### User Story
As a user I want useful default gas price settings on all networks when I send transactions.
*Summary*: For some reason, on xDAI chain `getGasPrice` sometimes gives 0 as the result (paritytech/parity-ethereum#9795). This means that the default gas price in Send Transaction screen is going to be 0 and unless user changes that value manually, that transaction is always going to fail.
We should include a sentinel value of 1 wei either in the enclosing wrapper function in `status-react` when the underlying web3 function gives a 0 result. (Or alternatively, change `getGasPrice` to include the same logic on the `status-go` side.
Issue was originally found in PR [#6388](https://github.com/status-im/status-react/pull/6388#issuecomment-432549313) - point 6
#### Expected behavior
Default gas price is never 0.
#### Actual behavior
Default gas price is sometimes 0 on xDAI chain.
- Switch to xDAI chain
- Wallet > Send Transaction
- Check default gas price