Skip to content

v0.7.0

Compare
Choose a tag to compare
@ytqaljn ytqaljn released this 31 Aug 09:59
· 264 commits to main since this release
6d240f3

v0.7.0

Release for cess-testnet-v0.7.0

Highlights

  • Using the new PoIS, the storage node certification space rate is greatly improved.
  • Verify the relevant content submitted by the TEE Worker to ensure that the work is executed in the SGX Enclave.

Optimization

  • The functions related to miner exit are moved from FileBank pallet to Sminer pallet.
  • In order to maintain the code easily in the future, fix some codes that use magic numbers, and use constants uniformly. And some data are calculated based on constants.
    • To ensure ease of future code maintenance, we have addressed sections of code that rely on 'magic numbers,' which are hardcoded numerical values lacking context. We have replaced these 'magic numbers' with well-defined constants, promoting uniformity across the codebase.
  • Review and modify areas where there may be overflow or where the calculation result is 0 to ensure that the function can execute normally.
  • Formulate some more appropriate bounds for BoundedVec.

Features

  • Accounts can now authorize multiple DeOSS gateway.
  • Add or modify the transactions and methods involved in the space proof algorithm.
  • Separate faucet account and reward pool account.
  • Add a new mechanism: After TEE workers complete the verification task, increase the reputation score.

Fix

  • The additional pledge after the miner is in debt, the pledge of the debt will be added to the bonus pool.
  • Add challenge verification reassignment limit.
    • In order to prevent some miners from being unable to complete the challenge verification work with TEE workers, which ultimately leads to the stagnation of the random challenge process, an upper limit for the number of redistributions has been added.
  • Fixed the bug that the order was invalidated due to redistribution during uploading files.