v0.4.1
Main feature and update
- Refactor and stabilize the basic data types, Block, Transaction, etc.
- Add ChainID in the transaction to distinguish the transactions of different chain networks.
- Add Gas TokenCode in transactions, in preparation for supporting any Token as Gas in the future.
- Improve the expiration mechanism of transactions.
- Rebuild and stabilize Stdlib.
- Refactor VM and VM error handling.
- Fix the Token Type Determination bug in Token Module, and use TokenCode to mark the Token Type, such as: 0x1::STC::STC.
- Clean up and stabilize P2P network messages.
- Restructure and implement Fast Sync.
- Fix some bugs in the uncle's block.
- Refactor the CLI, rename the wallet command to account, and implement the off-chain data storage and query of account.
- Introduce Move prover, prepare for Stdlib to implement formal proof.
- Improve the unit test coverage of Stdlib to 80%.
- Refactoring and improving the integration testing framework.
- Refactor and stabilize node configuration.
- Refactor block rewards, Epoch's tuning algorithm, and STC's distribution strategy.
中文说明
- 重构以及稳定化基本数据类型,Block,Transaction 等。
- 交易中增加 ChainID 用于区分不同网络的交易。
- 交易中增加 Gas TokenCode, 为未来支持任意 Token 作为 Gas 做准备。
- 完善交易的过期机制。
- 重构以及稳定化 Stdlib。
- 重构 VM 以及 VM 的错误处理。
- 修复 Token 合约的 Token 类型判断 bug,统一使用 TokenCode 来标记 Token 类型,比如: 0x1::STC::STC。
- 清理以及稳定化 P2P 网络消息。
- 重构以及完善 Fast Sync。
- 修复叔块的若干 Bug。
- 重构 cli,将 wallet 命令重命名为 account,实现了 account 的 off-chain 数据存储和检索。
- 引入 Move prover,为 Stdlib 实现形式化证明做准备。
- 提升 Stdlib 单元测试覆盖率到 80%。
- 重构以及完善集成测试框架。
- 重构以及稳定化节点配置。
- 重构了区块奖励, Epoch 的调整算法,以及 STC 的发行策略。
Main dependency bump
- move-vm bump to 9eadc565466d3db3a2b6b4f38c3fea78dcddc372 (July 29) .
- rust tool chain bump to 1.45.0.
For a full rundown of the changes please consult the Starcoin 0.4 release milestone