Proto commits in CESSProject/cess

These 20 commits are when the Protocol Buffers files have changed:

Commit:a56b4f8
Author:Bill.W

chore: support load chain state from file

Commit:ff4b551
Author:Bill.W
Committer:Bill.W

refactor handover (WIP)

Commit:b7cb6a2
Author:Bill.W

Major refactoring of 4 key functions (WIP) 1. Refactor the RRSC vote resolver and back to BABE consensus. 2. Introduce BEEFY consensus to support the use of Light-Client. 3. Introducing Light-Client to address the trustless block synchronization issue in `ceseal`. 4. Reconstruct the block synchronization, inter-chain communication, and code structure of `ceseal`.

Commit:67d2ce5
Author:Bill.W
Committer:Bill.W

fix: grandpa justification verify due to noteStalled operation (#385)

Commit:ca093c4
Author:Demos Chiang
Committer:GitHub

fix:aggregate podr2 batch proof verification result (#418) * chores:delete or add some log * feat:add request_aggregate_signature * add some debug log

The documentation is generated from this commit.

Commit:05fb56f
Author:Bill.W
Committer:GitHub

fix: grandpa justification verify due to noteStalled operation (#385)

Commit:7989edf
Author:Bill.W

refactor: (WIP) remove the keyfair on chain state, move the startup of external servers to cifrost, and delete unused functions

Commit:b500fb9
Author:Bill.W

feat: provide Ceseal public key query and authentication service

Commit:9401205
Author:Demos Chiang
Committer:GitHub

perf:The miner requests TEEworker to generate tags using streaming. (#303) * feat:gen tag use streaming (#297) * feat:using streaming for query tag instead of send directly (#302) * fix:some compile warning

Commit:55dff8c
Author:Elden Young
Committer:GitHub

Ceseal tonic (#298) * some modifies about format files * initail ceseal commit (WIP, inspired by phala-blockchain) * add clean task * Accept Rocket's optimization suggestions * recover the register_worker_v2 api * Make the value of GRANDPA_JUSTIFICATION_PERIOD smaller so that the CESEAL client can synchronize blocks more quickly. * reserve the bin directory * Modify the run scripts for easier development and debugging * Simplify and adjust ceseal * merge pallet-registry to pallet-tee-worker * use `Tonic` instead of `Rocket` * update run scripts * update docker ignore * missing removed bin_api_service.rs * Migration of POIS library and PODR2 library code for Kaleido project (WIP, only code migration) * Migration POIS module to cestory (WIP, only code migration) * Let podr2 server made after keyfairy ready (WIP) * make CesealExpertStub service for external services (WIP) * feat:use podr2 key to be real key (#278) * fix:merge conflict (#279) * Avoid cloning the ceseal instance and to use mutex on its internal state (WIP) * fix:mapping rsa key to identity key is overkill (#280) * move the external service make things out of ceseal, and let pois on service * add ceseal worker role same as kaleido * remove `http_fetch()` method of ceseal api * we don't need `NetworkConfig` yet * recover the inject_key validate * remove unused arg: use_ias * Simplify Ceseal's public endpoint maintenance (although not simplified enough) * fix:modify the signature provided to the miner to upload to the chain (#283) * feat:modify podr2 and chain processing logic (#284) * Support to handover sealed data on ceseal enclave bin update * feat: adapt runtime for Ceseal (#287) * feat: adapter tee * temp save * temp save * fix: fix some complete error * The changes that were missed by the last commit * feat: support tee role (#289) * feat: standardize payload and add exit function (#290) * fix: payload (#291) * fix:can't register endpoint when ciforst startup (#292) * feat: Integrated evm wallet compatible with pallets * feat: add cifrost dockerfile * feat: add new version cess-node dockerfile * enhance: use precompiled protoc binnary instead build from source * fix: fall back payload * remove unused arg: git_proxy * fix: fix verify bug * update: adjust the corresponding handling fees. * Fix: when ceseal recovered from the checkpoint file, the keyfairy send event was missed * Change the checkpoint interval default value to 15 minutes * Make `make` easier to build all * Because you missed updating `Cargo.lock` again due to `evm-account-mapping` * fix some bug (#293) * fix:pois commit proof verify fail * fix:tag_sig_info_history structural change * fix: verify tagsign when digest list is not empty * feat: change the pois_param to those configured on the chain * fix: missed updating Cargo.lock again * refactor: use const variable instead of `magic number` * chore: remove unused cli arguments * fix: some bug * fix:some bug in podr2 business (#294) * fix:bug of cuz miner commit compute tag fail * fix:compute u sig problem * fix:some bug * fix: some bug calculate report * feat: distinguish the concurrency of external services based on the kind of processed requests (temporarily refer to Kaleido's configuration) * chore: missing the affected `Cargo.lock` file again * Ceseal tonic reward (#296) * temp save * feat: the new economic model. * feat: using conditional compilation of `features` to set up `IAS` related configurations * fix: warning and calculate reward bug * update json * update testnet develop * update expenders * fix: change the hard-code PODR2 compute thread pool to arg * chore: some logs * update testnet spec * refactor: extract the dependencies of dockerfile into independent images and optimize the build time as much as possible --------- Co-authored-by: Bill.W <0xbillw@gmail.com> Co-authored-by: Demos Chiang <69138672+democ98@users.noreply.github.com>

Commit:ebd88e0
Author:Demos Chiang
Committer:GitHub

feat:gen tag use streaming (#297)

Commit:8ff9421
Author:Demos Chiang
Committer:GitHub

fix some bug (#293) * fix:pois commit proof verify fail * fix:tag_sig_info_history structural change * fix: verify tagsign when digest list is not empty

Commit:280a2e0
Author:Demos Chiang
Committer:GitHub

feat:modify podr2 and chain processing logic (#284)

Commit:e339a15
Author:Bill.W

Simplify Ceseal's public endpoint maintenance (although not simplified enough)

Commit:44dcd34
Author:Bill.W

we don't need `NetworkConfig` yet

Commit:34b6355
Author:Bill.W

remove `http_fetch()` method of ceseal api

Commit:ff125dd
Author:Bill.W

Let podr2 server made after keyfairy ready (WIP)

Commit:799afa8
Author:Bill.W

Migration of POIS library and PODR2 library code for Kaleido project (WIP, only code migration)

Commit:20ea02a
Author:Bill.W

Simplify and adjust ceseal

Commit:b22fd32
Author:Bill.W

initail ceseal commit (WIP, inspired by phala-blockchain)