Skip to content

v0.4.1

Compare
Choose a tag to compare
@jolestar jolestar released this 07 Aug 11:59
· 1728 commits to master since this release
08fe1ff

Main feature and update

  1. Refactor and stabilize the basic data types, Block, Transaction, etc.
  2. Add ChainID in the transaction to distinguish the transactions of different chain networks.
  3. Add Gas TokenCode in transactions, in preparation for supporting any Token as Gas in the future.
  4. Improve the expiration mechanism of transactions.
  5. Rebuild and stabilize Stdlib.
  6. Refactor VM and VM error handling.
  7. Fix the Token Type Determination bug in Token Module, and use TokenCode to mark the Token Type, such as: 0x1::STC::STC.
  8. Clean up and stabilize P2P network messages.
  9. Restructure and implement Fast Sync.
  10. Fix some bugs in the uncle's block.
  11. Refactor the CLI, rename the wallet command to account, and implement the off-chain data storage and query of account.
  12. Introduce Move prover, prepare for Stdlib to implement formal proof.
  13. Improve the unit test coverage of Stdlib to 80%.
  14. Refactoring and improving the integration testing framework.
  15. Refactor and stabilize node configuration.
  16. Refactor block rewards, Epoch's tuning algorithm, and STC's distribution strategy.

中文说明

  1. 重构以及稳定化基本数据类型,Block,Transaction 等。
  2. 交易中增加 ChainID 用于区分不同网络的交易。
  3. 交易中增加 Gas TokenCode, 为未来支持任意 Token 作为 Gas 做准备。
  4. 完善交易的过期机制。
  5. 重构以及稳定化 Stdlib。
  6. 重构 VM 以及 VM 的错误处理。
  7. 修复 Token 合约的 Token 类型判断 bug,统一使用 TokenCode 来标记 Token 类型,比如: 0x1::STC::STC。
  8. 清理以及稳定化 P2P 网络消息。
  9. 重构以及完善 Fast Sync。
  10. 修复叔块的若干 Bug。
  11. 重构 cli,将 wallet 命令重命名为 account,实现了 account 的 off-chain 数据存储和检索。
  12. 引入 Move prover,为 Stdlib 实现形式化证明做准备。
  13. 提升 Stdlib 单元测试覆盖率到 80%。
  14. 重构以及完善集成测试框架。
  15. 重构以及稳定化节点配置。
  16. 重构了区块奖励, Epoch 的调整算法,以及 STC 的发行策略。

Main dependency bump

  1. move-vm bump to 9eadc565466d3db3a2b6b4f38c3fea78dcddc372 (July 29) .
  2. rust tool chain bump to 1.45.0.

For a full rundown of the changes please consult the Starcoin 0.4 release milestone