On May 7, according to the filecoin blockchain browser, the gas fee of the filecoin network gradually dropped in the early morning, and the lowest point was only 0.001 nano fil, but then, from 14:30, the gas fee suddenly soared, and the highest was 2.266 nano fil.
Before we understand the reason why gas fees fluctuate sharply, let’s take a look at the unique function of filecoin Network – the operation mode of gas fees.
Gas fee was originally applied to Ethereum blockchain, which is a measure of the computing and storage resources consumed by information on the chain. Gas is considered to be the fuel of filecoin network. Sending messages on the filecoin chain consumes certain resources, so the sender needs to pay the gas fee with fil; In each message sent, the sender can set an upper limit for the gas, which is called gas limit. If the upper limit is exceeded when executing the message, the excess burning fee officially set by filecoin will be triggered. Therefore, the part exceeding the basic fee + tip gas fee will be directly destroyed, which is also a punishment for miners.
Based on the previous high gas charges of filecoin, does the roller coaster trend of gas charges of filecoin have something to do with the previously upgraded V12 version of filecoin network?
Earlier, filecoin officially announced that filecoin will upgrade the network to V12 and use specs actor V4 at 2:00 p.m. (UTC + 8) on April 29, 2021, when the main network block height is 712320. The new version of specs actor is designed to have higher performance, thus speeding up the block verification time.
The main reason for this upgrade is to improve the verification time. Before the V12 upgrade, although the medium quality nodes run smoothly, the verification time of the slow nodes and the nodes that retain the complete chain history is also longer, which makes them have the risk of asynchronous when the speed drops. Although most miners using high-performance hardware and small chain databases will not be affected, other important members of the ecosystem, including exchanges and archive nodes, begin to encounter some slow speed and occasional synchronization problems, which have a negative impact on the health of the whole network.
One of the reasons for the slow synchronization time is that the actors code is inefficient in dealing with the newly created miners. In the V12 network upgrade, this improvement can actively prevent the future createminer spam from turning into an attack medium for the slower nodes. Because reducing the time of processing empty ore machine can greatly reduce the block verification time and improve the performance.
The following is the reduction of synchronization time after V12 upgrade:
After the upgrade of V12, the number of asynchronous instances (in epoch) is reduced
It can be seen that after this optimization, the number of miners that need to be handled by the filecoin network per 60 epochs is reduced from 375000 to more than 2000. This makes the average synchronization speed of the block nearly doubled, and the daily state snapshot is reduced by more than 20GB, almost doubled! Node operators can see a significant decrease in the average and maximum block synchronization time. The synchronization failure of large archive nodes is almost completely eliminated.
In addition to this reason, another factor that may cause today’s gas fee to go down at the beginning may be the temporary shutdown of large nodes on the main network. When the network is congested, miners will choose to pack information by themselves, which leads to fewer miners actually packing information on the network. In short, it is because of the hot trade and channel congestion. Since there is an upper limit on the number of transactions in a block, only a subset of data in the network can become a block at any given time. So there is a kind of “queuing” congestion phenomenon. When large households start to “run the computing power” again, gas costs will naturally rise.
Generally speaking, considering the wide gap in the growth of gas fees today, it is necessary to further integrate with the actual situation of the whole network. However, according to the market demand, even if the gas fee is reduced and new computing power is poured out every day, this part of information may soon be covered. Looking back at the development track of gas fee since the main network of filecoin was launched, since the gas fee rose in November 2020, the government has always attached great importance to this issue, actively listened to the opinions and suggestions of all parties, and encouraged the world to work together to find a solution. Recent proposals can see the government’s determination to solve the excessive gas fee.
Fip-0014 can extend the life cycle of V1 certification sector for 540 days. V1 certification sector refers to the sector encapsulated between 06:00 (space race) on August 25, 2020 and November 24, 2020, that is, the sector encapsulated before the lotus upgrade of filecoin to v1.2.0.
The passage of this proposal means that the sectors that are packaged in the early stage can also be renewed. The miners that are packaged in the early stage can avoid the high pledge fee and gas fee caused by re packaging, and help to maintain the stability of the network, thus helping to alleviate the network congestion.
Fip-0013 proposes to reduce the number of messages on the chain by adding the batch submit provecommitsector method, eliminate some redundant but expensive checks, and greatly reduce the proof size and verification time of each sector by using the new encryption results.
Provecommitsector is the link that consumes the most gas cost in the packaging process. Batch submission can reduce network congestion and gas consumption.
The fip-0010 proposal is to let windowpost pass the “off chain” verification. Because the gas consumed by windowpost is very small and the gas fee is not much reduced at the time and space proof level, the market thinks that the reason why the gas fee is reduced is that the fip-0010 proposal improves the network throughput and miners do not need to pay too much tips to complete the transaction, So it can help to reduce the gas consumption.
This upgrade of filecoin network V12 version also introduces V4 actors to be released in lotus v1.8.0 and Venus v0.9.5. It only takes about 48 hours from release to network upgrade to complete the implementation of the new version in such a short period of time. Such a rapid operation speed depends on the effective communication channels between the filecoin protocol implementation team and the node operators (including storage miners, storage users and exchanges). It is also inseparable from the feedback and improvement of the community, so that the core developers can implement, test and release high-quality code to improve the filecoin network.
Therefore, through this network upgrade, we believe that the development of filecoin network ecology will be a benign promotion. As more and more new proposals continue to appear, it will further alleviate the problem of excessive gas fees and continuously improve the network ecology of filecoin.
At present, in addition to relying on the official adjustment of filecoin, miners should also make their own adjustments. For example, they should postpone sending messages when the gas fee is high, and choose to pack the transaction when the gas fee is low. For big miners, we can try to improve the algorithm, such as submitting precommitsector messages in batches, reducing gas consumption by merging messages, or increasing the sector size to increase the upper limit of gas limit and calculation.