Comments (10)
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.
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.
@ilblackdragon then you are assuming that 1 shard = 100 TB storage, which seems ridiculous.
from neps.
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.
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.
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.
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.
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.
@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.
@vgrichina it is not according to max price but rather some pessimistic gas price computed from current gas price.
from neps.
Related Issues (20)
- run
- URL: https://explorer.mainnet.aurora.dev/api/eth-rpc
- Chain Signatures HOT 8
- Problems with storage staking HOT 7
- Security Policy violation Branch Protection HOT 2
- Security Policy violation SECURITY.md HOT 2
- Runtime: enable key prefix scan HOT 4
- Runtime triggers HOT 37
- Proposal for web3-compatible wallets support HOT 20
- Wrapped NEAR v2
- Privacy with Chain Signatures HOT 6
- Improvement to gas pricing and prioritization HOT 3
- Reduce storage staking price by 10x HOT 11
- On minimally volatile gas pricing
- Bounty: HOT 1
- Shared contract code HOT 17
- Bounty: HOT 1
- Баунті HOT 1
- Твікс: HOT 1
- Баунті: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neps.