Giter Club home page Giter Club logo

Comments (10)

ilblackdragon avatar ilblackdragon commented on August 31, 2024 4

Current prices are 40-70 GWei
Current ETH price ~$240

Ethereum:

  • Transfer tx: 21,000 gas. 0.00084 - 0.00147 ETH. $0.2 - $0.35
  • Storage price (spent): 6,400,000 gas per 10 kb. 0.256 - 0.448 ETH. $61.44 - $107.52

One major point is that contracts on Ethereum are only max 24KB with usually way smaller. Our contracts average at 300kb and sometimes go to 1MB.

Our simple transfer: 446 Ggas. Current gas price is 100,000 yN -> 0.0000000446 N (https://explorer.near.org/transactions/AbVHgMH85zTVKZGNY2VhG55apWhVMdbMrC8YbB4M1ibk)
I suggest we bump it to 100,000,000 yN -> 0.0000446 N
At current price: $0.00001784, if price increases 100x: $0.001784

Reasoning for min gas price increase is mostly around few things:

  • It's still dramatically cheaper, being 10,000x cheaper and NEAR can grow 100x and it still will be 100x cheaper than Ethereum.
  • We can always decrease but won't be able to increase it later IMO
  • 0.1N per full chunk has a nice effect that ~15 shards would be almost covering the 5% of security issuance. Currently it's 0.0001N per full chunk - which would require 15k shards...

from neps.

MaksymZavershynskyi avatar MaksymZavershynskyi commented on August 31, 2024

The reasoning behind block cost in NEAR being too low is not clear. Isn't it our intention to have low fees, what is the reason for increasing it?

We should compute the lower bound on storage cost, but deriving the cost of maintaining EC on AWS for one year and use our inflation rate to connect it with NEAR. If the proposed storage fee is lower than that then we cannot decrease it.

from neps.

bowenwang1996 avatar bowenwang1996 commented on August 31, 2024

@ilblackdragon then you are assuming that 1 shard = 100 TB storage, which seems ridiculous.

from neps.

SkidanovAlex avatar SkidanovAlex commented on August 31, 2024

I don't have strong preference for storage (naturally most of NEAR will not be used for storage, and attempting to obuse it will be pretty expensive).

For gas fees an insight into why you want to change it would be helpful :)

from neps.

eriktrautman avatar eriktrautman commented on August 31, 2024

Do you have comparable numbers for AWS on one side and ETH on the other for both storage and tx's for reference? Can't find the post and the economics blog doesn't have hard numbers.

from neps.

SkidanovAlex avatar SkidanovAlex commented on August 31, 2024

Re: gas prices, agree with all the points except "We can always decrease but won't be able to increase it later IMO", I don't think there's anything specific that prevents us from later bumping the minimum gas price.

This sounds like a very strong reason in support of this idea:

0.1N per full chunk has a nice effect that ~15 shards would be almost covering the 5% of security issuance. Currently it's 0.0001N per full chunk - which would require 15k shards...

Storage should be extracted into a separate issue, so that we can discuss each issue separately.

from neps.

ilblackdragon avatar ilblackdragon commented on August 31, 2024

anything specific that prevents us from later bumping the minimum gas price

We can indeed increase if we are ok with some applications breaking.
For example we have allowances, where apps created with expectation to allow 5-10 transaction.
If we increase price later, these allowances may not be enough even to cover 1 tx.
Or some contracts that were balancing usage of gas and amount on the balance based on the pricing.

from neps.

SkidanovAlex avatar SkidanovAlex commented on August 31, 2024

If we increase price later, these allowances may not be enough even to cover 1 tx.

What happens if the gas price increases to that level organically via usage?

from neps.

vgrichina avatar vgrichina commented on August 31, 2024

@SkidanovAlex aren't we always pre-charging according to max price and then refunding (after #67)? Maybe I'm misunderstanding how that works though.

from neps.

bowenwang1996 avatar bowenwang1996 commented on August 31, 2024

@vgrichina it is not according to max price but rather some pessimistic gas price computed from current gas price.

from neps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.