Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeTEE milestone 3 Delivery #1151

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions deliveries/WeTEE-milestone-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Milestone Delivery :mailbox:

**The delivery is according to the official [milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md).**

- **Application Document:** [WeTEE Network](https://github.com/w3f/Grants-Program/blob/master/applications/WeTEE_Network.md)
- **Milestone Number:** 3

**Deliverables**

| Number | Deliverable | Link | Notes |
| ------: | ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **0a.** | License | [Apache 2.0](https://github.com/wetee-dao/worker/blob/main/LICENSE) | Apache License 2.0 |
| **0b.** | Documentation | [Milestone 3 Documentation](https://github.com/wetee-dao/chain/blob/main/docs/grants/milestone-3-documentation.md) | We will provide both **inline documentation** of the code and a basic **tutorial** that explains how a user can (for example) spin up one of our Substrate nodes and send test transactions, which will show how the new functionality works. |
| **0c.** | Testing and Testing Guide | [Test guide link](https://github.com/wetee-dao/chain/blob/main/docs/grants/milestone-3-test.md) | Core functions will be fully covered by comprehensive unit tests to ensure functionality and robustness. In the guide, we will describe how to run these tests. |
| **0d.** | Docker | [DockerFile](https://github.com/wetee-dao/worker/blob/main/Dockerfile) | We will provide a Dockerfile(s) that can be used to test all the functionality delivered with this milestone. |
| **0e.** | Article | [Medium article](https://medium.com/@yeuyefengxu/wetee-forw3f-grants-485b5c10073f) | We will publish an **article**/workshop that explains what was done/achieved as part of the grant. (Content, language and medium should reflect your target audience described |
| 01. | Worker remote attestation as proof of work | [1.Remote proof report generation](https://github.com/wetee-dao/libos-entry/blob/main/libos/loader.go)<br/> [2.Remote attestation service](https://github.com/wetee-dao/worker/blob/main/mint/secret/loading.go)<br/>[3.Upload remote attestation](https://github.com/wetee-dao/worker/blob/main/mint/proof/proof.go) | Remote attestation module, users can use it to check the confidential running status of the application in real time. The module will automatically generate worker proof and synchronize the hash of the remote proof file to the chain. Users or challengers can verify the verification status of the worker through the proof file.<br />1. Worker cluster remote attestation service <br /> 2. Worker upload remote attestation as proof of work |
| 02. | Worker log as proof of work | [1.Log get](https://github.com/wetee-dao/worker/blob/main/mint/pod.go)<br/>[2.Log Hash](https://github.com/wetee-dao/worker/blob/main/mint/proof/log.go)<br/>[3.Log query](https://github.com/wetee-dao/worker/blob/main/graph/proof.resolvers.go)<br/>[4.Upload log hash](https://github.com/wetee-dao/worker/blob/main/mint/proof/proof.go) | Synchronize the log of application running through libos to worker, and synchronize the hash file to the chain to prove the correctness and stability of program execution, users can view the application log to determine the status of program execution.<br />1. Worker cluster upload app log of app as proof of work |
| 03. | Worker monitoring as proof of work | [1.Monitoring get](https://github.com/wetee-dao/worker/blob/main/mint/pod.go)<br/>[2.Monitoring Hash](https://github.com/wetee-dao/worker/blob/main/mint/proof/monitoring.go)<br/>[3.Monitoring query](https://github.com/wetee-dao/worker/blob/main/graph/proof.resolvers.go)<br/>[4.Upload monitoring hash](https://github.com/wetee-dao/worker/blob/main/mint/proof/proof.go) | Through libos, synchronize the resource usage status of the application to the worker, and synchronize the hash and resource usage data of the file to the chain. The chain will calculate the resources of the application and issue rewards for the worker.<br />1. Worker cluster upload app monitoring of app as proof of work |
Loading