A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | ||||||||||||||||||||||||||
2 | ||||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||
4 | ||||||||||||||||||||||||||
5 | Milestone Review for Funded Projects | |||||||||||||||||||||||||
6 | ||||||||||||||||||||||||||
7 | Project Name: | scs substraTEE | ||||||||||||||||||||||||
8 | Proposal Link: | https://polkadot.polkassembly.io/post/111#cae2bc3b-4889-4af5-8725-5aa9d7145b55 | ||||||||||||||||||||||||
9 | Milestone: | M8.2 | ||||||||||||||||||||||||
10 | Repository or Pull Requests: | https://github.com/scs/substraTEE-worker/tree/sidechain-M8.2 | ||||||||||||||||||||||||
11 | Delivery Documentation or Report: | https://github.com/scs/substraTEE-book/blob/sidechain-M8.2/src/howto_direct_tx.md | ||||||||||||||||||||||||
12 | Reviewer: | shamb0 | ||||||||||||||||||||||||
13 | Reviewer Address: | 14Ger24FeQunPmP4KJsxFHCrxHSrp5yJqT2E1JQbfZoDsxkw | ||||||||||||||||||||||||
14 | Status: | COMPLETED | ||||||||||||||||||||||||
15 | ||||||||||||||||||||||||||
16 | ||||||||||||||||||||||||||
17 | 1. General Notes | |||||||||||||||||||||||||
18 | ||||||||||||||||||||||||||
19 | Requirements, Instructions or Process | |||||||||||||||||||||||||
20 | Describe the process to replicate and execute the delivered milestone, or the steps you follow to test this. | |||||||||||||||||||||||||
21 | Accept extrinsics directly over RPC | SGX SW mode using docker runtime | https://www.substratee.com/howto_direct_tx.html | |||||||||||||||||||||||||
22 | ||||||||||||||||||||||||||
23 | Steps | Status | ||||||||||||||||||||||||
24 | Install docker image | Passed | docker image id :: scssubstratee/substratee_dev:1804-2.12-1.1.3-001 | |||||||||||||||||||||||
25 | launch docker runtime | Passed | docker runtime in interactive mode, and all below steps are executed inside docker context. | |||||||||||||||||||||||
26 | Generate worker & client binary from substraTEE-worker from branch sidechain-M8.2 | Passed | branch sidechain-M8.2 | build diversity SGX_MODE=SW | |||||||||||||||||||||||
27 | Generate substrate node binary from substraTEE-node branch sidechain | Passed | branch sidechain | |||||||||||||||||||||||
28 | Launch generated substratee-node | Passed | Able to see blocks being produced. | |||||||||||||||||||||||
29 | Create crypto keys using substartee-worker | Passed | Following Local keystore files are generated, spid.txt key.txt, ~/mrenclave.b58 | |||||||||||||||||||||||
30 | Launch generated substratee-worker | Passed | Worker is launched in '--skip-ra' mode, and able to see blocks being synced. | |||||||||||||||||||||||
31 | Launch client using direct invocation script | Passed | ./demo_direct_call.sh | Transaction account balance status looks OK. | |||||||||||||||||||||||
32 | substratee-worker Unit test | Passed | "substratee-worker test --unit" | |||||||||||||||||||||||
33 | Run enclave ecall tests | Other | Outof Scope | |||||||||||||||||||||||
34 | Run integration tests | Other | Outof Scope | |||||||||||||||||||||||
35 | ||||||||||||||||||||||||||
36 | 2. Commits | |||||||||||||||||||||||||
37 | Look at the commits and lines of code in the delivery that have changed before the completion of the milestone: is the functionality proposed in the original on-chain submission implemented? | YES | ||||||||||||||||||||||||
38 | 64 commits, 58 changed files, +5,605, -4,406 | https://github.com/scs/substraTEE-worker/compare/M8.1...sidechain-M8.2 | |||||||||||||||||||||||||
39 | ||||||||||||||||||||||||||
40 | Commits | Notes | ||||||||||||||||||||||||
41 | scs/substraTEE-worker@7ce3b73 | Sidechain m8.1 fixes (#201) | ||||||||||||||||||||||||
42 | scs/substraTEE-worker@6ad5061 | Sidechain m8.2 unittesting (#203) | ||||||||||||||||||||||||
43 | scs/substraTEE-worker@4a37208 | add interval loop | ||||||||||||||||||||||||
44 | scs/substraTEE-worker@a207486 | move sync chain relay to interval execution | ||||||||||||||||||||||||
45 | scs/substraTEE-worker@6f509da | remove WorkerCallFn | ||||||||||||||||||||||||
46 | scs/substraTEE-worker@d2c5685 | rename sync chain relay | ||||||||||||||||||||||||
47 | scs/substraTEE-worker@a7b34e6 | add new block type struct | ||||||||||||||||||||||||
48 | scs/substraTEE-worker@b3affb6 | change xt to block | ||||||||||||||||||||||||
49 | scs/substraTEE-worker@4f3e07b | enable direct invocation again | ||||||||||||||||||||||||
50 | scs/substraTEE-worker@103ce6d | add construct block function | ||||||||||||||||||||||||
51 | scs/substraTEE-worker@d1ea3a4 | add verify signature to block struct | ||||||||||||||||||||||||
52 | scs/substraTEE-worker@70f0da8 | add unittests to block struct | ||||||||||||||||||||||||
53 | scs/substraTEE-worker@6654656 | add read access functions for block | ||||||||||||||||||||||||
54 | scs/substraTEE-worker@36a2043 | fix unittests | ||||||||||||||||||||||||
55 | scs/substraTEE-worker@4a81c2f | add get signature unittest | ||||||||||||||||||||||||
56 | scs/substraTEE-worker@6c21427 | rename produce_block to produce_blocks | ||||||||||||||||||||||||
57 | scs/substraTEE-worker@ca0b377 | some clean up | ||||||||||||||||||||||||
58 | scs/substraTEE-worker@2043e06 | remove unnecessary author argument from construct_block() | ||||||||||||||||||||||||
59 | scs/substraTEE-worker@d8f9b5f | readd chunk block size to produce block ecall | ||||||||||||||||||||||||
60 | scs/substraTEE-worker@61fcf6c | add stf function get block number | ||||||||||||||||||||||||
61 | scs/substraTEE-worker@7de72d7 | remove dead code | ||||||||||||||||||||||||
62 | scs/substraTEE-worker@fb25cb2 | first steps towards new block creation | ||||||||||||||||||||||||
63 | scs/substraTEE-worker@08b4da2 | add new block structure proposal. Needs some more think-through | ||||||||||||||||||||||||
64 | scs/substraTEE-worker@8e38ffc | update to new sgx-externalities sidechain branch | ||||||||||||||||||||||||
65 | scs/substraTEE-worker@3ce1867 | minor changes | ||||||||||||||||||||||||
66 | scs/substraTEE-worker@0d04d05 | bug fix & add check time overude function | ||||||||||||||||||||||||
67 | scs/substraTEE-worker@e79f00a | add time check after every getter and call execution | ||||||||||||||||||||||||
68 | scs/substraTEE-worker@8d9b13b | add time out unit tests | ||||||||||||||||||||||||
69 | scs/substraTEE-worker@5980b0e | reorder load and write state for each shard only once | ||||||||||||||||||||||||
70 | scs/substraTEE-worker@1745bbd | make state update available for block production | ||||||||||||||||||||||||
71 | scs/substraTEE-worker@6c7db54 | move timeout constants to constants.rs | ||||||||||||||||||||||||
72 | scs/substraTEE-worker@51472a1 | new block structure (signed block - block - encrypted payload) | ||||||||||||||||||||||||
73 | scs/substraTEE-worker@33f5d8a | little clean up | ||||||||||||||||||||||||
74 | scs/substraTEE-worker@d9f34fc | add last block hash to stf | ||||||||||||||||||||||||
75 | scs/substraTEE-worker@28bc94e | add block composition function | ||||||||||||||||||||||||
76 | scs/substraTEE-worker@1942efc | change call hash to hash of trusted call signed insted of opaque call | ||||||||||||||||||||||||
77 | scs/substraTEE-worker@ac17d0c | add genesis hash and number to init state | ||||||||||||||||||||||||
78 | scs/substraTEE-worker@3f1fc38 | some clean up | ||||||||||||||||||||||||
79 | scs/substraTEE-worker@45188fb | add state unit tests | ||||||||||||||||||||||||
80 | scs/substraTEE-worker@4b3b589 | compose opaque call from extrinsic | ||||||||||||||||||||||||
81 | scs/substraTEE-worker@6b0e5b2 | add signed block to return value of block execution (needed for block⦠| ||||||||||||||||||||||||
82 | scs/substraTEE-worker@a0d44cc | remove unnecessary genesis inits | ||||||||||||||||||||||||
83 | scs/substraTEE-worker@830b611 | add debugging helpers | ||||||||||||||||||||||||
84 | scs/substraTEE-worker@7ef1d5f | add clean up after state unit tests | ||||||||||||||||||||||||
85 | scs/substraTEE-worker@1944725 | make unittest block confimration work | ||||||||||||||||||||||||
86 | scs/substraTEE-worker@ae211ae | replace sgx error with 0 when getting block number | ||||||||||||||||||||||||
87 | scs/substraTEE-worker@bf4cd04 | change stf Signature from Any to Multi | ||||||||||||||||||||||||
88 | scs/substraTEE-worker@05913f9 | add From function to KeyPair wrapper | ||||||||||||||||||||||||
89 | scs/substraTEE-worker@ecde53d | add submit top to pool unit tests | ||||||||||||||||||||||||
90 | scs/substraTEE-worker@3d12f47 | add unit test differentiate getter and call in top pool | ||||||||||||||||||||||||
91 | scs/substraTEE-worker@554ff1a | bug fix | ||||||||||||||||||||||||
92 | scs/substraTEE-worker@bc4a871 | add unit test create block and confirmation works | ||||||||||||||||||||||||
93 | scs/substraTEE-worker@b01b851 | adaption to block confirm of node | ||||||||||||||||||||||||
94 | scs/substraTEE-worker@4cdc5d7 | add ocall to worker for signed block | ||||||||||||||||||||||||
95 | scs/substraTEE-worker@1ed0204 | some clean up | ||||||||||||||||||||||||
96 | scs/substraTEE-worker@73859ab | bug fix of return value to client | ||||||||||||||||||||||||
97 | scs/substraTEE-worker@90e9ca1 | Merge pull request #216 from scs/sidechain-M8.2-getter-fix | ||||||||||||||||||||||||
98 | scs/substraTEE-worker@f5f43da | add error message | ||||||||||||||||||||||||
99 | scs/substraTEE-worker@1d63051 | add proper error handling | ||||||||||||||||||||||||
100 | scs/substraTEE-worker@394593c | decline top pool commits without existing shard |