Filecoin network is about to upgrade! FIP-0010 is expected to reduce gas fees!

Filecoin network is about to upgrade! FIP-0010 is expected to reduce gas fees!
Professionalism and focus, win-win cooperation
A few years ago, the Filecoin development team announced that the Filecoin network would be forced to upgrade. The main change was to convert the WindowPoSt message to off-chain verification (FIP0010) in the upcoming lotus v1.5.0 version. This was a forced upgrade that broke the consensus. But for some reason, the upgrade was postponed.
This update is quite difficult. After three pre-release versions, v1.5.0-pre1, v1.5.0-pre2, and v1.5.0-pre3, and two candidate versions, v1.5.0-rc1 and v1.5.0-rc2, v1.5.0 has not yet been officially released.
Filecoin’s Calibration test network announced its abandonment after its third failed upgrade, mainly because more than half of the nodes did not upgrade.
Secondly, most of the Filecoin participants are Chinese. The planned upgrade is just in time for the Lunar New Year. Chinese participants are preparing for the New Year and do not agree with the timing of the upgrade (Filecoin users are really hard to

), therefore, the above reasons may also be the main reason why the Calibration test network nodes are not upgraded.

Announcement of delayed upgrade link:
https://github.com/filecoin-project/lotus/discussions/5420#discussioncomment-319603

The latest upgrade schedule:
https://github.com/filecoin-project/lotus/discussions/5617#discussion-3225501


According to the latest upgrade plan, version v1.5.0 will be released on February 23, and the specific effective time is at height 550321 (Beijing time 2021-03-04 08:00:30)

Now, Chinese participants have all finished their Chinese New Year celebrations, and the official upgrade is ready, with the release of the upgradable version v1.4.2 (not mandatory).

v1.4.2 already includes many features of the upcoming v1.5.0. It integrates specs-actors v3, which implements two FIPs:

  • FIP-0007 HAMT performance improvements to improve chain synchronization and read and write efficiency.

  • FIP-0010 WindowPoSt is not verified on-chain, but is verified off-chain.


Note: These two features will not take effect with the v1.4.2 upgrade, because v1.4.2 does not set an effective time, and will be completed in v1.5.0.

The purpose of these two FIPs is to reduce Gas to varying degrees. In fact, the biggest problem after the mainnet is launched is the Gas fee, and most improvements are also centered around reducing Gas.

In FIP-0007, HAMT performance is improved to speed up the verification process, and FIP-0010 WindowPoSt is not verified on the chain, and the verification process of chaining is directly removed. Both improvements are aimed at directly or indirectly reducing gas consumption.

FIP-0007 Proposal :
https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0007.md

FIP-0007 improves Filecoin HAMT and AMT in terms of performance and security through three small changes. Strictly reduce ipld operations and serialization size, which also reduces Gas consumption accordingly.

Two of the changes are not forward compatible and require mandatory upgrades. Another one requires the serialization bytes of all HAMT nodes and requires state migration to migrate all HAMT data. These changes are relatively small compared to FIP-0010, and the main focus is still on FIP-0010.

FIP-0010 Proposal:
https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0010.md

FIP-0010 allows WindowPoSt proofs to be optimistically accepted on-chain without verification, allowing off-chain validators to verify after a period of time.

➊Purpose :
As of FIP-0009, SubmitWindowedPoSt messages can be free, but this is a stopgap measure and does not reduce the load on the network itself. The changes in FIP-0010 will remove almost all of the burden of checking SubmitWindowedPoSt on-chain (about 13% of network load).

➋Brief description:
When a miner proves that the data continues to be stored in the chain, SubmitWindowedPoSt optimistically accepts and records the proof on the chain instead of verifying it. After the chain lock accepts the proof, a third party can dispute it by calling DisputeWindowedPoSt.

A successful DisputeWindowedPoSt marks the incorrectly validated sector as defective, removes the associated hashrate (until it is validated again in a subsequent Window PoSt), and penals the node a penalty proportional to the expected block reward received from the incorrectly validated sector.

➌Note :
Not all WindowPoSt messages are not verified. If the proof is to restore a faulty sector, an on-chain check will be performed immediately to prevent the use of invalid proofs to "restore" the faulty sector. In addition, newly added sectors will not be forced to be verified on the chain before WindowPoSt is submitted.

➍Incentive and security guarantee:
After a WindowPoSt message is submitted, it can only be verified for errors after a height of 1800 (twice the confirmation time).

If this WindowPoSt message is proven to be wrong, the node that submitted the WindowPoSt message will be fined 5.51 times the 24-hour reward of the sector in the message proof, with a minimum amount of 20FIL, and the validator will be rewarded 4FIL .

➎Key Points:
A WindowPoSt message can only be verified as an error once, on a first-come, first-served basis. The 4FIL reward can only be given once, and it is given from the amount of the penalty. If the node has no money, it will be owed first and there will be no reward.

This is done to prevent someone from taking advantage of this mechanism to make unlimited profits, thereby causing the collapse of the Filecoin economic system. FIP0010 has a more detailed description of this, so I will not repeat it here.

➏After the change, there may be another way to mine:
Rewards are obtained by checking the WindowPoSt messages of other nodes. Although this method seems ideal, it is not cheap. After all, the number of WindowPoSt message errors is very small, and verification takes a lot of time. It is also possible that other people will get the rewards first. The specific situation will be analyzed after the upgrade.

In short, FIP-0010 has large and complex changes, but this mechanism is currently only suitable for messages such as WindowPoSt. This mechanism can also be considered for other messages, but it may become more complicated.

Through these changes, we can see that the development team is indeed working hard to find ways to reduce Gas and solve problems. I believe that Filecoin will get better and better in the future.

For other changes, please refer to the release log:
https://github.com/filecoin-project/lotus/releases/tag/v1.4.2




<<:  Start planning for the 2024 halving

>>:  There is a serious bug in the nVidia driver, which may explode your memory

Recommend

What is snake eyes?

Eyes are where the spirit resides. Eyes are origi...

How to read face from ears

Everyone's facial features are different, and...

Why do people with upturned corners of their mouths easily succeed?

Everyone hopes to be successful and have good car...

BCH and BSV halving, hash rates both dropped sharply

Source: LongHash At 12:19 (UTC) on April 8, the B...

The legend of birthmark

When a goose passes by, it leaves traces; when a ...

What are the facial features of a woman destined to be rich in the future?

What are the facial features of a woman who is de...

How you shake hands reveals your personality

In modern times, a handshake is a sign of welcome...

Is it good for a man to have a mole behind his ear?

Moles are very common. Both men and women have mo...

What are the facial features of a woman with good fortune?

A good face does not necessarily mean being beaut...

What kind of face makes women easy to get rich

Wealth is a way of life that one must have, becau...

Analysis of Anita Mui's horoscope and facial features

Lan Jieying has a face as beautiful as jade, eyes...

What does a mole on the mouth mean?

In the culture of moles, different moles have the...

What kind of face is popular?

As the saying goes, rely on your parents at home ...