Skip to content

v0.19 Osmanthus Cake

Compare
Choose a tag to compare
@kaikai1024 kaikai1024 released this 30 Sep 09:47
· 1409 commits to master since this release

Kind of late... But happy Mid-Autumn Festival! Believe you all having had a wonderful time with family~

This weekend, we brought a new version, named Osmanthus Cake(桂花糕 in Chinese) to everyone!

In this version, we add several system contracts to help you better manage the system. One is called emergency braking. Once the emergency braking mode is activated, only the transactions sent by the admin account can be accepted by the chain. It can be used in some extreme conditions, such as the operators of the chain need to carry out some upgrades and maintenance without others to interfere.

Another is the version manager, which is prepared for the subsequent fork of CITA to solve the data compatibility problem.

We also add the quota price manager contract according to the feedback from customers and the market. Now, quota price can be set by the admin account in this version when building a public permissioned blockchain, check the document for more details.

Moreover, we put lots of efforts to improve CITA quality and stability in this month - more comprehensive testing under production environment and more detailed documentation.

Egg Fried Rice

CHANGELOG

CITA-Framework

  • [refactoring] Improve the user experience of CITA scripts

Executor

  • [feature] Support superadmin to set quota price
  • [feature] Support that the block reward can be chosen to return to the certain address
  • [optimization] SysConfig reload based on whether there is a parameter change
  • [fix] Fix loading problem of SystemConfig configuration
  • [fix] Fix the situation that the transfer cannot be successful if the charge mode is enabled
  • [fix] Fix the situation that account balance may overflow when transferring in charge mode

Chain

  • [feature] Add the cache_size entry to the configuration file

Auth

  • [feature] Modify the judgment logic of the transaction under emergency braking situation

RPC

  • [feature] GetMetaData support query economic model and protocol version number
  • [optimization] Modify some ErrorMessage

Contract

  • [feature] Isolate some permissions (send_tx, create_contract) to make them can be set separately in configuration
  • [fix] Eliminate compilation warnings for system contracts
  • [fix] Eliminate errors and warnings detected by Solium on system contracts
  • [feature] Add Emergency braking system contract
  • [feature] Add version control system contract
  • [feature] Add quota price manager system contract

Test

  • [ci] Increase the specification check of system contracts
  • [ci] Add clippy for code review
  • [optimization] Clean up smart contract unit tests that are no longer maintained
  • [ci] Fix the problem of sporadic stuck in JSON Mock test

Doc

  • [doc] Replace txtool with cita-cli in document
  • [doc] Modify ‘amend’ operation related documents