[Osmosis] - Transaction Failures
Bounty Question: Establish the failed transaction rate for Osmosis over the last 4 months. Make a case for what is causing the failed transaction rate that you assess and provide recommendations to mitigate it.
Methodology
Using the table osmosis.core.fact_msgs
, the total number of transactions and the total number of failed transactions were extracted and the failed rate of the transactions was obtained (in percentage) and plotted daily. Then, the activities that had the most failed transactions were obtained and its chart was drawn.
- As can be seen in the chart above, the failed rate of transactions from the beginning of March to the beginning of May had a downward trend, from about 20% failure in early March to less than 10% in early March. But right after the UST debugged and was affected by market conditions (and its significant decline) which had a clear impact on all aspects of the crypto market, here too it may be possible, both in the total number of transactions and in the number of failed transactions. The interesting thing about Osmosis blockchain is that after the volatility market occurred, the use of this transaction has grown significantly, but as a result of this increase in the number of transactions, the number of failed transactions has also grown significantly. From May 7 (as the starting day of the volatility market) to May 12 (as the day with the highest rate of failed transactions with 54%), a growth of about 8 times can be seen in the rate of failed transactions. It is a very large number.
-
The interesting thing about failed transactions is that there are 4 types of message occurring, the number of which is equal to the total number of failed transactions:
- transfer
- message
- coin_spent
- coin_received
-
The only variable type is the tx type, which accounts for the bulk of the transaction failed rate (about 68%).
-
The growth in the number of failed transactions in the above 4 types in the days after the volatility market was much higher than the growth in the number of transactions in the tx type. But in general, by far the most failed transactions are related to tx type transactions.