Releases: CESSProject/cess
0.7.8-venus
v0.7.8-venus
Release for cess-testnet-v0.7.8-venus
Chain
This is an online upgrade based on the 0.7.7-venus version of testnet. It fixes some errors related to TEE and is compatible with TEE key rotation.
v0.7.7-venus
v0.7.7-venus
Release for cess-testnet-v0.7.7-venus
Chain
In this upgrade, the chain has introduced or modified several new modules.
The substrate framework has been updated to polkadot-v1.10.1.
Highlights
- The reward rules for miners have been revised to a more fair and reasonable distribution model. Specific rules will be detailed in the economic model to be released later.
- A new reservoir module has been added for lending staked coins to miners.
- The previous practice of purchasing storage space has been replaced. Instead, users can now own and trade multiple "territories."
Optimization
- Updated the faucet interface and added a whitelist to prevent malicious use of the faucet.
Features
Overview
- Added deoss proxy authorization function.
- Introduced a new upload declaration interface adapted to the territory module.
- Added a function to TEE for refreshing the security level status.
Reservoir (#347)
- Event creation function: Allows official personnel to publish events.
- Participate in events function: Enables miners to borrow tokens for running storage.
- Storage and redemption functions: Used by miners to stake more tokens for operating storage nodes.
Territory (#365)
Each territory will be associated with a unique tokenId for trading:
- Territory casting function: Users can customize the time and size of the territory and assign a name to it.
- Territory trading function: Users can consign their territories for others to purchase.
- Territory transfer function: Users can transfer their territories to others like NFTs.
- Territory renaming function: Users can rename their territories.
- Territory expansion function: Replaces the previous space expansion and renewal functions.
Fixes
- Added comments to transaction error messages to address display issues on the browser side.
- Fixed the issue where tee cleanup would fail if not performed within a day.
- Addressed the failure reason caused by unexpected situations in the recovery file process during report result transactions.
Ceseal&Cifrost
Highlights
- Support brand new remote attestation—DCAP,allow more instance to run ceseal.
- Submit TeeWorker attestation reports at fix intervals ,strengthen supervision to TeeWorker.
- Support use DCAP local handover identity key.
- Support healthcheck for ceseal image.
Optimization
-
Adding subcommand to solve version display issues in ceseal.
-
Remove the keyfair on chain state, move the startup of external servers to cifrost, and delete unused functions.
-
Register only when TEE-Worker is not registered on the chain.
-
Rename module name and limit Ceseal server RPC body size to 16MiB (fix the large dispatching issure).
-
Rhange the measurement of ceseal to its corresponding hash value (H256 type) and improve the display of version information.
-
The [ces-mq] filter empty message when group.
Features
- Support take_checkpoint from ceseal after completing the first block synchronization in cifrost.
- Emit event when ops CesealBinAllowList.
- Support take checkpoint after the ceseal bin added on chain.
Fixes
- Remove panic on pois business logic code.
- Due to the possibility of grandpa.noteStalled operation, signature verification for precommit is ignored.
v0.7.7
v0.7.7
Release for cess-testnet-v0.7.7
Chain
Highlights
- Added Tee clearing tasks; ineffective TEEs will be detected and removed.
Features
- Modified the rules for miner penalties..
Fix
- Fix a bug related to reward distribution.
Ceseal
Highlights
- The service file calculates tag usage through streaming transmission, reducing the waste of bandwidth.
- Enhanced overall program stability.
- Provide miners with an api to query working information about TeeWorker.
Fix
- Fix the issue where local files couldn't be handover after update ceseal.
- Fix the problem causing program stuck in ceseal when calculating tags for service documents.
- Fix ceseal docker build file.
- Fix the issue where ceseal could panic during a restart due to the threadpool.
v0.7.6
v0.7.6
Release for cess-testnet-v0.7.6
Chain
Highlights
- The new file upload mode allows for faster storage of file data on the chain.
- A more flexible tee registration mechanism with optional options for binding stash accounts.
- Now for compatibility with EVM tokens, the Decimals of CESS tokens have been changed to 18.
Optimization
- Optimize the economic model and change the reward and punishment mechanisms for storage nodes.
Features
- Split the file upload process and separate file transfer and tag calculation into two independent parts.
- Add rules for calculating tee credit scores and corresponding sgx environment verification mechanisms.
- TEE registration interface upgrade, allowing TEE to run independently from consensus nodes.
- Add storage node expansion interface.
- Add a third-party pledgor mechanism to the storage node. Allow others to pledge themselves.
- Refactoring of tee related modules. Use
WorkerPublicKey
as the unique identifier.
Fix
- Fix potential hazards in some current processes.
- Fix the unfairness of increasing the reputation score for tee when calculating tags in files.
Ceseal
Highlights
- Intel SGX technology and Gramine framework are used to ensure program security. The program works as part of the
Tee Worker
and runs inside the enclave. - The original and efficient podr2 algorithm and pois algorithm are used to ensure that the
CESS bucket
node will not cheat during mining. - Use
MRENCLAVE
to seal the unique keymaster key
in the entire network, which improves the security level of the system. - Continuously receive block information from chain nodes and verify it, ensuring that information from outside the enclave is reliable.
- The transfer of information supports http2, which greatly improves efficiency.
- Simplified the code by removing redundant types after merging CESS with TEE.
Features
- Use sr25519 key pair as the master key. The
Tee Worker
signatures on the chain are all from this key. - Supports verification and saving of each block information locally.
- The Tee worker now supports synchronization from the genesis block upon restart.
- Use grpc technology for internal and external requests.
- Use
podr2
algorithm andpois
algorithm.
Cifrost
Highlights
- Continuously synchronize the nodes of the block and send it to ceseal.
- The health of ceseal will be monitored at any time. If ceseal exits, cifrost will also exit.
- Synchronize with the cess node code type to improve the overall aggregation of the project.
Features
- Supports activation of
ceseal
initialization and recovery processes. - Transport block information as a ceseal bridge.
v0.7.5
v0.7.5
Release for cess-testnet-v0.7.5
Highlights
- Added a user-sponsored space purchase feature, supporting users in purchasing space on behalf of others.
- The file upload process and meta-information structure have been optimized, saving 45% of the storage space on the chain, and the file upload speed has been significantly improved.
Optimization
- File upload module code refactored.
Features
- Tee Worker registration verification rules are updated and registration fields are changed.
- Storage Node registration process changes.
- The random challenge will begin three days after the release.
- Implemented the feature to acquire storage space on behalf of other users.
- Integrated multi-signature pallet.
v0.7.4
v0.7.4
Release for cess-testnet-v0.7.4
Highlights
📢 Now the substrate framework used by cess has been upgraded to polkadot-v0.9.42 version.
- Random challenges have a new selection mode. It can provide every storage miner with more fair reward opportunities. In order to avoid the impact of storage miners with high computing power on the end time of a challenge round, each storage miner's challenge is now independent. 🦾
- Random challenges no longer punish storage miners whose idle data fails. But at the same time, if the idle data of the storage miner fails, the reward will not be obtained.
Optimization
- Modified the bucket deletion check. The bucket must be empty before it can be deleted.
- Modified the file deletion interface and cancel the batch deletion function.
- Storage miner reward pool is moved from
sminer
tocess-treasurey
pallet. - Changed a more appropriate file slicing specification.
Features
- A new
cess-treasury
pallet is introduced to mange cess treasury accounts. There are now three accounts used to manage storage miners' rewards, users' tokens for purchasing space, and tokens for punishing storage miners. - New random challenge trigger mode to reduce the amount of data in one block.
- To burn the tokens, you can now burn the tokens of
cess-treasury
accounts through root privileges, but the storage miner's reward pool cannot be burned.
v0.7.3
v0.7.2
v0.7.1
v0.7.0
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.