cita v0.24.0 Release Notes

Release Date: 2019-05-18 // almost 5 years ago
  • 🆕 New version is coming again!

    ⬆️ In this version, CITA protocol version has been upgraded to v2, and the detailed operations can refer to protocol upgrade.

    🔧 The node discovery mechanism becomes configurable! You can choose to use a configuration file to control node discovery, or you can choose the P2P node auto-discovery mechanism.

    ⚡️ We have further optimized the configuration related to the economic model and added a configuration item through which the total amount of tokens can be customized.

    At the same time, we also fix some bugs according to user's feedback. We always believe that given enough eyeballs, all bugs are shallow.

    📚 Based on feedback from the community, we also have refactored a lot of documentation, which is more user-friendly and covers more content now.

    🍱 We sincerely thank the community for their feedback and contributions during this time. Because of your participation, CITA can better iterative forward!❤️

    Enjoy the summer with delicious Cold Noodles~~~


    一个不小心,新的版本又来了!

    📄 在这个版本里面,0.24.0 CITA 协议版本已升级为 v2,协议版本的相关升级操作可参考协议升级.

    节点发现机制变成可配置的了!你可以选择用配置文件来控制节点的发现,也可以选择 P2P 节点自动发现机制。

    我们也进一步对经济模型相关的配置进行优化,增加了一个配置项,Charge 模型下可以通过修改该配置项,自定义代币的总量。

    同时,我们也对用户反馈的 bug 进行了修复。我们始终相信,given enough eyeballs, all bugs are shallow

    🍱 真诚的感谢这段时间社区小伙伴们的反馈与贡献,因为你们,CITA 才能更好地迭代向前!❤️

    炎炎夏日,来份美味的凉皮消消暑吧!

    🚀 cold-noodles

    🔄 Changelog

    Protocol

    ➕ Add the support for v2 protocol. More details can refer to protocol upgrade.

    Framework

    • 👍 [Optimization] Support new protocol version 2. [@ouwenkg]
    • [Optimization] Bump cita-sdk-js to 0.23.1 to fix the problem of version 2. [@kaikai1024]
    • [Optimization] Bump Rust toolchain to 1.34.1. [@kaikai1024]
    • 🛠 [Optimization] Use fixed Solidity version for system contracts. [@kaikai1024]
    • 🔒 [Optimization] Upgrade the node packages to avoid the security alert. [@kaikai1024]
    • 🌲 [Optimization] Use new log pattern. [@kaikai1024]
    • ⚡️ [Optimization] Update genesis submodule: use tag. [@kaikai1024]

    Executor

    • [Fix] Fix coinbase in auto exec. [@ouwenkg]
    • [Fix] Fix potential panic issue in evm trace. [@ouwenkg]
    • [Fix] Refund token when suicide. [@ouwenkg]
    • ⚡️ [Optimization] Update zktx to use stable verison of Rust. [@kaikai1024]

    Network

    • [Feature] Use new P2P library. [@jerry-yu]
    • 🔧 [Feature] Let network be configuration. [@jerry-yu]
    • [Fix] Fix bug for saving wrong session id. [@jerry-yu]
    • [Fix] Fix for operating repeated peer key. [@jerry-yu]

    Chain

    • 🔊 [Fix] Fix the bug that getLogs would break down the chain when toBlock is very large. [@leeyr338]
    • ⚡️ [Optimization] Update log in forward of cita-chain. [@ouwenkg]
    • 🚚 [Fix] Move chain_version into BlockSysConfig. [@ouwenkg]

    Consensus

    • 🔀 [Fix] Fix CITA-BFT panic when new ordinary node syncs the blocks. [@leeyr338]
    • 🐳 [Fix] Fix the bug that chain can't product block after restart docker. [@leeyr338]
    • [Fix] Fix the bug for jumping round when delayed. [@jerry-yu]

    Forever

    • [Fix] Fix service start error when .*.pid files exist. [@leeyr338]

    Tools

    • [Fix] Fix panic in snapshot path. [@ouwenkg]

    ✅ Test

    • [Optimization] Set more time for checking P2P network. [@leeyr338]
    • ✅ [Optimization] Use testdata submodule to test rpc interface. [@kaikai1024]
    • [Fix] Fix bug of blockNumber.sh script. [@rev-chaos]

    Scripts

    • [Optimization] Modify script for new network config. [@leeyr338]
    • 🌲 [Fix] Set logrotate output log as a relative path. [@leeyr338]
    • [Fix] Generate privkey file when use authorities option. [@leeyr338]
    • 🔧 [Feature] Let native token be configurable. [@leeyr338]
    • 🐳 [Fix] Fix docker multi-ports expose error. [@leeyr338]
    • 🚚 [Optimization] Remove the useless scripts. [@kaikai1024]
    • 🚚 [Optimization] Remove warnings of yaml. [@ouwenkg]

    Doc

    • 🔨 [Doc] Refactor getting-started doc. [@zhouyun-zoe]
    • 📄 [Doc] Add economics model docs.[@zhouyun-zoe]
    • 📄 [Doc] Add zktx docs. [@kaikai1024]
    • [Doc] Add depository sample. [@leeyr338]
    • [Doc] Add operation guide section. [@zhouyun-zoe]
    • 🚀 [Doc] Add English version of release guide. [@YUJIAYIYIYI]
    • 🌲 [Doc] Add logging rule doc. [@kaikai1024]
    • 🔨 [Doc] Refactor the protocol part doc. [@ouwenkg]
    • 🔨 [Doc] Refactor the special governance part doc. [@ouwenkg]
    • 🔨 [Doc] Refactor the account-permission part doc. [@kaikai1024]