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

Gas-Limit Configuration Call #252

Closed
zmitton opened this issue Dec 22, 2019 · 11 comments
Closed

Gas-Limit Configuration Call #252

zmitton opened this issue Dec 22, 2019 · 11 comments

Comments

@zmitton
Copy link
Contributor

@zmitton zmitton commented Dec 22, 2019

ETC Devs / Miners / Community Organizers Call:

Lower target-gas-limit

EDIT: Recording of the call

[HERE]
https://bobsummerwill.files.wordpress.com/2019/12/192712-etc_gas-limit-configuration-call_discord.mp3

When

Friday, December 27, 2019, 13:00 UTC, 30 minutes.

Where

Ethereum Classic Discord https://discord.gg/dwxb6nf #ecips channel. Will use/create a voice channel ad hoc.

Meeting Coordinator

Zac Mitton

Agenda

Discussion to inform /request miners to change their settings/configuration of target block-gas-limit.

As predicted, blocks are beginning to fill up at similar rates to Ethereum (1gb per day or more). Most of this traffic is coming from GasToken, a smart contract who's goal is to fill every block up as much as it can. The amount they can fill it, is determined by miners, who "target" this limit in their node's settings.

Goal of this call is to organize outreach to miners and mining pools of the problem, so they can make informed decisions.

@zmitton zmitton changed the title Gas-Limit Configuration Call: December 26, 2019, 13:00 UTC Gas-Limit Configuration Call Dec 22, 2019
@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Dec 27, 2019

Gas Token Miner

ECIP 1047(Reduce Gas Limit to 1 Million)

Multi-geth & Getc config

--targetgaslimit 1000000

Parity config

--gas-floor-target 1000000 --gas-cap 0
@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Dec 27, 2019

Some Observations

  • Greater than 90% of blocks "full" (7,900,000).
  • Greater than 90% Mostly GasToken.
  • (Before GasToken) Average gas used ~= 100,000 per block
@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Dec 27, 2019

todo

  • Gather gas usage stats
  • Gather miner revenue stats (block reward vs gas fees)
@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Dec 27, 2019

From @bobsummerwill

  1. Outreach ASAP for voluntary gaslimit reduction (to stop the bleeding)
  2. Counter-measures against gaslimit (buying tokens) to try to reverse the damage.
  3. Potential protocol changes

And those protocol changes could include:

  1. Gas price changes
  2. Removing opcodes (remove refund opcode, remove selfdestruct)
  3. Hard cap gas and curve (my pending ECIP) to give multi-decade certainty.

ACTIONS ITEMS:

  • Blog post on https://ethereumclassic.org/ by @zacmitton explaining the situation and appealing to miners to voluntarily reduce gaslimit. To 1M? To 2M? To 4M?
  • Outreach on the above (using existing contacts we have used for prior HFs)
  • Volunteers to generate pull-requests against Parity-Ethereum, Geth Classic, MultiGeth and Hyperledger Besu which change the defaults for ETC to the same.
  • Volunteers to consider countermeasures to reverse as much of the damage-to-date as we can by buying gastokens (using community fund if this is expensive) and then using them to debloat the chain.
  • Volunteers to consider protocol changes for the long-term.

From @hitchcott
right now [...] you can spam an entire full block for (7M gas * 1000 gasPrice) = 0.000000007 ETC or $0.0000000315 USD (if my math is correct)

@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Dec 29, 2019

very obvious spike when gasToken started being mined and continuing onward. before that gas usage was less than 5% current levels:

image

@bobsummerwill

This comment has been minimized.

Copy link
Member

@bobsummerwill bobsummerwill commented Jan 12, 2020

@zmitton Where is the graph above from? Something you generated yourself?
Got newer data up to head?
Same question to @YazzyYaz, who was gathering such data from the archival node he is syncing to back BlockScout.

@zmitton

This comment has been minimized.

Copy link
Contributor Author

@zmitton zmitton commented Jan 12, 2020

i think yaz posted it on discord

@bobsummerwill

This comment has been minimized.

Copy link
Member

@bobsummerwill bobsummerwill commented Jan 12, 2020

He did! Which will be why it looks so familiar :-)

@YazzyYaz

This comment has been minimized.

Copy link
Member

@YazzyYaz YazzyYaz commented Jan 12, 2020

@bobsummerwill I used Google BigQuery for getting those data, and the code for it has been shared by me. Anyone can access Google BigQuery to run queries on ETC as long as they have a Google Cloud account. Its even free to run within Kaggle notebooks.

@bobsummerwill

This comment has been minimized.

Copy link
Member

@bobsummerwill bobsummerwill commented Jan 20, 2020

We held the meeting so I am closing this issue.

The GasToken issues are not fully resolved, but we can create new issues for specific tasks as the need arises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.