跳到主要内容

v2.3

关键信息详细信息
版本Conflux v2.3.0
是否引入硬分叉
Incompatible Changes是(CIP-107, CIP-112, CIP-113, CIP-118, CIP-119)

简介

Conflux v2.3.0 引入了一个新的硬分叉,其中包括不兼容性的变更和几项 RPC 改进。

Incompatible Changes

CIP-107

CIP-107, the major change of the hard fork, introduces "storage point", a burning mechanism of storage collateral. 当赞助商为合约添加存储抵押时,一部分 CFX 代币将被燃烧,相应数量的“存储点”将被铸造。 "存储点"不能进行转移,不产生存储利息,但可以像 CFX 代币一样支付存储抵押。 这是为了引入一些燃烧场景和机制,以减缓 CFX 代币的持续通货膨胀,从而改善 Conflux 的代币经济学。

相应的变更
  • RPC 变更:
    • Add a new RPC cfx_getCollateralInfo to return chain collateral info.
    • cfx_getSponsorInfo returns 2 extra fields: usedStoragePoints and availableStoragePoints.
  • Internal contract SponsorWhitelistControl changes
    • new interfaces: getAvailbaleStoragePoints(introduced by CIP-118)
    • 抵押赞助替换的阈值变更
      • previous: tx.value > sponsor_balance_for_collateral + collateral_for_storage
      • current: tx.value > sponsor_balance_for_collateral + (collateral_for_storage - used_storage_points / 1024)
    • CIP-107 之前赞助的抵押燃烧:
      • p(defined by CIP-107, started at 0.5) proportion of sponsor_balance_for_collateral + collateral_for_storage will be burnt and converted to storage points. 这种转换会轻而易举的实现。
  • DAO 投票变更
    • new vote option to change STORAGE_POINT_PORP that defines burn ratio p (STORAGE_POINT_PORP / (STORAGE_POINT_PORP + 1))

更多细节请参考原始的 CIP-107 文档。

CIP-112

CIP-112 fixes the incorrect encoding and decoding implementation of the custom field of block headers. 目前在区块头的 RLP 编码中,自定义列表中的每个元素作为原始字节附加到 RLP 列表中,应为其附加 RLP 编码数据。 这种是协议的创新,因为它改变了 P2P 传输中区块头的编码和解码。

CIP-113

CIP-113 makes the PoS finalization faster by shortening the PoS consensus round time and the pivot decision signing wait time. PoS 每轮时间从 60 秒减少到 30 秒。 验证者等待签名 PoS 确认的主轴区块的推迟时间从 50 个 epoch 减少到 20 个 epoch。

相应的变更

预计此 CIP 将把最终确定的间隔从之前的 6-8 分钟缩短到 4-5 分钟,减少了 120 到 180 秒。 这项优化将惠及那些利用 PoS 确认的产品。

CIP-118

CIP-118 introduced getAvailableStoragePoints interface for SponsorWhitelistControl. Refer CIP-107 for more information.

CIP-119

CIP-119 introduce the PUSH0 (0x5f) instruction as EIP-3855. 支持这个操作码可以实现与以太坊的最大兼容性。

发布版本

测试网

关键信息详细信息
ReleaseConflux v2.3.0-testnet Pre-release
AnouncementConflux v2.3.0-testnet Testnet Hardfork Upgrade Announcement
Deadlines
  • Node Upgrade: Before epoch number reaches 129100000 (estimated on Jul 04)
  • CIPs Activation: When block number reaches 167000000 (estimated on Jul 04)
  • CIP-113 Activation: When PoS block number reaches 741900 (estimated on Jul 04)
关键信息详细信息
ReleaseConflux v2.3.0-3-testnet Pre-release
Anouncement-
Deadlines
  • Node Upgrade: before the epoch number reaches 132220000 or the block number reaches 171570000 (estimated on Jul 31)

Mainnet

关键信息详细信息
ReleaseConflux v2.3.0
AnouncementConflux v2.3.0 Hardfork Upgrade Announcement
Deadlines
  • Node Upgrade: before the epoch number reaches 79050000 (estimated on Sep 07 2023)
  • Most CIPs Activation: enabled when the block number reaches 188900000 (estimated on Sep 09 2023)
  • CIP-113 Activation: when the PoS block number reaches 766200 (estimated on Sep 09)