In Protocol Gas Price | Fee #8224
Replies: 14 comments 46 replies
-
There is already an issue and agreed upon approach to this -- #4527. Not sure we need to have this discussion here unless you have strong opposition to #4527. |
Beta Was this translation helpful? Give feedback.
-
Zero Feesyes / no? |
Beta Was this translation helpful? Give feedback.
-
Simple, Static Gas PriceThe easiest one to start with is:
|
Beta Was this translation helpful? Give feedback.
-
Algorithmic Fee: Basu, Easley, O’Hara, G ̈un Sirer 2018I really like the approach presented by Cornell University without generalizing to any specific projects). The main idea here is: miners have a penalty if they don't fill a block up to a given factor |
Beta Was this translation helpful? Give feedback.
-
Meeting Notes 2021-03-09FramingMin-fee (spam prevention) vs base-fee (price predictability + MEV harm reduction) Key takeaways
Concerns
Solutions
SummarySingle denom fees with a validated algorithmic approach seams to be the most solid approach. EIP-1559 is validated by Ethereum and should be good to go. |
Beta Was this translation helpful? Give feedback.
-
Meeting Notes 2021-03-16
|
Beta Was this translation helpful? Give feedback.
-
To address deposits specifically, I've proposed an |
Beta Was this translation helpful? Give feedback.
-
The medianizer is exactly what we do at blurt and I have been consistently happy with our fee setup. The medianizer solution is market oriented and reflects the reality that validator's are vendors of block space. "What if fees aren't low enough for users?" Validator's are in just the right spot, economically speaking, to really really care about adding value to the network. They're better informed than most token holders, and possess the information needed to make the right choices. +💯: Medianizer. Just need to make sure that every tx type is covered by fees, quite carefully. We did 2 types of fees:
Witnesses (they're just validators) choose these values and the network takes the median. This also means that the chain can rapidly respond to adverse events. Lastly fees show clear demand. Giving the tx'a away free does nothing to support global perception of Gaia/atom/cosmos. I know eth fees suck, I'm a user, but at the same time, a single trade can cost $60 and I'm still a user. That's validation. |
Beta Was this translation helpful? Give feedback.
-
Meeting Notes 20 April 2021Storage Deposits / storage staking
Dynamic Fees
Summary EIP-1559 has better economic guarantees. Inherently it creates a dynamic (inflationary / deflationary) token supply mechanism. However we found that this can be changed and have a stable token supply. Fees are predictable and depend on the network activity. EIP-1559 has the tip mechanism (transactions tip the block producers to buy the block space) to prioritize more valuable transactions (those which can yield more welfare) - transactions with higher utility would naturally pay a larger fee to miners. AVAlabs fee model is way simpler and doesn't impact the token supply. It effectively implements the medianizer idea we were discussing for a while. Moreover it's much simpler. Participants are still bidding for the block space and have the ability to prioritize more valuable transactions (as in EIP-1559). Opinion: based on my analysis (Robert) it provides better price predictability than EIP-1559, because everyone will pay the lowest fee. So even if a one transaction will have a high gas price attached, it will only pay what's needed to be in the block, creating a fair Bayes-Nash equilibrium. Conclusion We pick EIP-1559 as a more stable and future proof mechanism. Followup Multi Denom FeesI found that AVAlabs mechanism could be use to have multi denom fees controlled by block producers:
I think it's an interesting mechanism, but relays on the same assumption: we need to have enough activity in the blockchain. |
Beta Was this translation helpful? Give feedback.
-
Proposed Roadmap
|
Beta Was this translation helpful? Give feedback.
-
Today, Ian mentioned the eip-3298. It's a good reading on why the storage refunds doesn't work, and it is in line with our thinking to avoid any gas price manipulation using storage / resource fees. |
Beta Was this translation helpful? Give feedback.
-
Status update
|
Beta Was this translation helpful? Give feedback.
-
FYI EIP-1559 #10463 |
Beta Was this translation helpful? Give feedback.
-
Fees and Gas prices.This is a new thread to re-discuss fees vs gas prices and tx prioritization. Related to an architecture call today. Vocabulary:
Let's define requirements:
If I understand @zmanian correctly, there is an idea of having a flexibility for assigning different fee mechanisms to modules or even functions.
So, I would prefer to clearly separate the gas fee model and tx priority from the gas price model (eg EIP-1559, or the current one min gas price / validator). |
Beta Was this translation helpful? Give feedback.
-
In the Cosmos-SDK currently it is trivial to send 0 fee txs. It is recommended to increase the min fee to help avoid spam but many validators do not do this.
An approach of base fees by msg type could help in avoiding 0 fee tx spam. For example a bank transfer will require x fee based on computation resources or if the app developer wants to charge a specific amount. Once the chain is live any transaction will require the predefined base fee unless set to 0. This base fee could be computed by writing a simple test or benchmark and the output copied into the msg handler, but it would always be consistent and known ahead of time.
Later on an extra fee can be added on top of the base fee in order to speed up the transaction, this will be used for when Tendermint introduces priority. But for now it would mean no more 0 fee transactions, unless the app developer says.
This is a similar approach to how substrate introduced transaction fees. You can read more about it here: https://substrate.dev/docs/en/knowledgebase/learn-substrate/weight
Beta Was this translation helpful? Give feedback.
All reactions