Summary:
The proposal solves TX spamming at the Zilliqa blockchain by increasing the fees of simple transactions. Additionally, this proposal effects the circular token-economic model of Zilliqa by potentially increasing the amount of ZILs burned.
Abstract:
The proposal has the following main effects:
- Smart-contract execution costs in ZIL remain as is if this proposal gets implemented
- Normal TX cost will be increased from 0.002 ZIL to 0.1 ZIL if this proposal gets implemented
Considering the number of TX/s executed on the Zilliqa blockchain remains at the same level, more ZILs will be burned which will be beneficial for the circular token-econmic model of Zilliqa by decreasing the inflation rate.
Hint: A ZRC-2 token transfer is a Smart-Contract execution.
Motivation:
On Feb 4, 2021 on the Zilliqa Blockchain 1,000,000 TX got executed for only 2000 ZILs of fees [1]. Preventing the blockchain being spammed without touching crucial blockchain attributes like permissionless or trustless, fees for normal ZIL transactions need to be adjusted.
A comparision of ZRC-2 token transfers and ZIL transfers shows the inequalitity of TXs:
- A ZRC-2 token transfer is usually about 1 ZIL in fees.
- A basic ZIL TX costs 0.002 ZILs.
In order to prevent spamming the blockchain with millions of useless transactions, the proposal suggests to increase the fees for normal TXs to 0.1 ZIL. The gap in fees between ZRC-2 token TXs and ZIL TXs is just not comprehensible.
Specification:
The increase of simple TX fees can be done without effecting the fees associated with smart contract execution by changing the gas unit consumption of normal transactions from
1
to50
:
- Constant value of
NORMAL_TRAN_GAS
from1
to50
Furthermore, the currently extremely low TX fees make little sense with respect to the token-economic model of Zilliqa [2], as it requires burning fees in order to get ZIL inflation rate at meaningful levels (letâs say < 10%).
- DS Block reward = 275,000 ZIL [3]
- Circulating Supply = 14.2e9 ZIL [4]
Assuming 1 TX block is about 45 seconds and 100 TX Blocks per DS Block:
- Reward per second = 275,000 ZIL / (45s*100) = ~61.1 ZIL/s
- Base inflation rate = 61.1 ZIL/s x (365 x 24 x 3600) / 14.2e9 = ~13.57%
According to the circular economic model Zilliqans are obliged to spend those minted ZILs by paying fees to the network. Assuming the zero inflation state and the current network configuration this relates to one of:
A) ~61 ZRC-2 token transfers per second (assuming 1 ZIL per TX)
B) ~30,550 TX per second (assuming 0.002 ZIL per TX)
C) ~15 ZilSwap swaps per second (assuming 4 ZIL per swap)If the proposal gets implemented only B) will change so that ~611 TX per second are required for reaching the zero inflation state of Zilliqaâs token-economic model:
A) ~61 ZRC-2 token transfers per second (assuming 1 ZIL per TX)
B) ~611 TX per second (assuming 0.1 ZIL per TX)
C) ~15 ZilSwap swaps per second (assuming 4 ZIL per swap)Assuming a TX block time of 45 seconds, then, 611 TX per second relate to 27,495 TX per block. Maximum number of TX per block ever recorded on mainnet was slightly above 10,000 TX per block. Maximum block capacity when filled only with normal transactions would be 50,000 TX, which relates to ~1,111 TX per second.
With maturing of the network and increased adoption only gas price needs to be lowered allowing higher TPS in the network.
It has to be noted that the implemenation of the proposal requires a mandatory network upgrade for all nodes, rather than a optional one.
[1] https://viewblock.io/zilliqa/stat/txCountHistory
[2] https://drive.google.com/file/d/1Y8JhkV1NfasfXdmWS-km2CBlaNaUKLO2/view (DS Block has been mixed up with TX Block several times in this document)
For:
- Higher transaction fees will make spamming very costly, e.g. issuing 1,000,000 TX would cost 100,000 ZIL.
- Higher transaction fees could decrease inflation rate of ZIL.
- The network is still in its early days, it needs to be protected from useless overload.
- The ratio of ZRC-2 token TX to Normal TX gets more reasonable.
- The fee of 0.1 ZIL is still low and can be lowered with maturing of the network in the future.
Against:
- The transaction fee for a simple TX increases from 0.002 ZIL to 0.1 ZIL
- Due to higher fees the number of transactions per day executed on the Zilliqa blockchain could decrease.
- Centralized exchangesâ withdrawal fees increase from 0.002 ZIL to 0.1 ZIL as well as for exchangesâ internal transactions, e.g. to and from their cold wallet.
- Risk of failed (rejected) transactions during roll-out of the change.
- Requires a mandatory network upgrade for all nodes.
Poll:
- For
- Against