Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GIP] Increase minimum gas price by 1000x #29

Closed
treeder opened this issue Oct 23, 2020 · 8 comments
Closed

[GIP] Increase minimum gas price by 1000x #29

treeder opened this issue Oct 23, 2020 · 8 comments
Labels
enhancement New feature or request forvote Proposals that have been promoted to voting.

Comments

@treeder
Copy link
Contributor

treeder commented Oct 23, 2020

Simple Summary

Increase minimum gas price.

Overview

This is a proposal to increase the minimum gas price that nodes will accept by 1000x.

Motivation

UPDATE: GO price has gone up since this was created, so be sure to adjust for current price.

Gas on the GoChain network is extremely low. The following are the current transactions costs, USD equivalent based on $0.01 per GO:

  • A normal GO transfer transaction costs 0.000042 GO ($0.00000042)
  • An GO20 transfer transaction costs ~0.0001 GO ($0.000001)
  • A complex transaction (a uniswap swap transaction) costs ~0.00025 GO ($0.0000025)
  • 1 GO (or 1 cent) is all it costs for 23,809 transactions

The problems with the cost being too low:

  • Even at full capacity of 1300 transactions per second, the fees will not generate enough to even cover the bare minimum cost of running the network.
  • It would be very cheap for someone to saturate the network and degrade service for everyone else. $0.036 per day is all it would cost to submit 1300 transactions per second.
  • The extremely low cost of a transaction, means the value of GO is also very low
  • Without more fees, the cost of running the network relies on block rewards which means there will always need to be inflation
  • Enterprise partners understand that they should pay a reasonable amount for their infrastructure. The current price is so low that it is nearly free for enterprises. Fees can be increased 100-1,000x without exceeding the threshold of what a reasonable fee is for enterprises.

Fees collected at current price at 10 transactions per second: $25.92 per month

At 1000x the price:

  • A normal GO transfer transaction would cost 0.042 GO ($0.00042)
  • A GO20 transfer transaction would cost ~0.1 GO ($0.001)
  • A complex transaction (a uniswap swap transaction) would cost ~0.25 GO ($0.0025)
  • Fees paid at 10 tps: $25,920

Increasing the gas would increase the value of the entire network, set a fair price for using the network (it shouldn’t be free), reduce the chance of network saturation and can lead to being able to reduce block or remove block rewards (see GIP-30).

Specification

Nodes would reject transactions below 2000 gwei. Currently 2 gwei.

eth_gasPrice would return a minimum of 2000 gwei.

@treeder treeder added enhancement New feature or request forvote Proposals that have been promoted to voting. labels Oct 23, 2020
@dcyounts
Copy link

Makes a lot of sense.

@treeder treeder removed the forvote Proposals that have been promoted to voting. label Oct 23, 2020
@danoand
Copy link

danoand commented Oct 24, 2020

This is an excellent point. One major driver for pricing fees "correctly" is to protect the network from "bad actors".

  • It would be very cheap for someone to saturate the network and degrade service for everyone else. $0.036 per day is all it would cost to submit 1300 transactions per second.

@spendlove24
Copy link

Agreed

@smahmoud822
Copy link

Good idea now fee is nothing let make it something

@treeder treeder added the forvote Proposals that have been promoted to voting. label Oct 29, 2020
@timhnc75
Copy link

Its still so cheap it doesnt matter if we raise it we could raise it to .01 and nobody would blink an eye.

@treeder
Copy link
Contributor Author

treeder commented Dec 2, 2020

Vote Details

start_time:2020-12-10T20:00:00Z
end_time:2020-12-12T20:00:00Z
contract_address:0x733D1e256af14B111611663739AAde12BcBc6A73
choice_1:yes:0xdfb1fFceebCB9b9737C29B8B338D87f196C62e86
choice_2:no:0xD10aF548625E68F97013FaE2d14343EBa46C6952

@treeder
Copy link
Contributor Author

treeder commented Jan 18, 2021

This is rolled out on testnet, we are currently testing developer and user tools to ensure things work properly.

  • web3 cli
  • web3.js
  • metamask

@treeder
Copy link
Contributor Author

treeder commented Mar 10, 2021

This is going live on mainnet in one week...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forvote Proposals that have been promoted to voting.
Projects
None yet
Development

No branches or pull requests

6 participants