You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: move and update docs/seismic/features.md (#311)
Move seismic-features.md under docs/seismic, to follow the same
convention as other repos (makes it easier for LLMs to find these docs).
Also made minor updates, incorporating changes from
https://github.com/SeismicSystems/documentation
Copy file name to clipboardExpand all lines: docs/seismic/features.md
+45-37Lines changed: 45 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,42 @@
1
+
# Shielded Enhancements for Seismic Reth <!-- omit in toc -->
2
+
3
+
### Introduction <!-- omit in toc -->
4
+
5
+
Welcome to the documentation for the shielded enhancements added to **Seismic Reth**, the execution layer of the Seismic blockchain. These enhancements introduce shielded storage and transaction capabilities, enabling developers to handle sensitive data securely within smart contracts and transactions. By building upon the existing Reth infrastructure, we've implemented changes to ensure ease of adoption and maintain compatibility.
6
+
1
7
This documentation highlights the differences and new features introduced, with a focus on the modifications that make Reth shielded. We recommend familiarizing yourself with the standard Reth documentation alongside this guide.
2
8
3
9
---
4
10
5
-
### Table of Contents
6
-
7
-
1. Overall Changes
8
-
2. Shielded Storage
9
-
-2.1 Shielded Storage Flag
10
-
-2.2 State Root Calculation
11
-
-2.3 `eth_storageAt` RPC Modification
12
-
-2.4 Storage Hashing Parallelization
13
-
3. Shielded Transactions
14
-
-3.1 Shielded Transaction Flow
15
-
-3.2 TEE Client and Arguments
16
-
-3.3 `TxSeismic` Transaction Type
17
-
- 3.4 `ConfigureEvmEnv`and `EthEvmConfig` Changes
18
-
- 3.5 RPC Method Changes
19
-
4. Support for `seismic-revm`'s `Mercury` Specification
**Note**: We ignore certain tests by default in `nextest.toml`:
235
247
@@ -246,11 +258,11 @@ For shielded storage, we've modified:
246
258
247
259
Because we have a decryption call for `TxSeismic` call, `#[tokio::test(flavor = "multi_thread")]` replaces `#[tokio::test]` to provide runtime async support.
248
260
249
-
#### 8.2 Integration Testing
261
+
#### 8.3 Integration Testing
250
262
251
263
See the `crates/seismic/node/tests/integration.rs` examples of integration testing using seismic transactions.
252
264
253
-
#### 8.3 Ethereum Package Testing
265
+
#### 8.4 Ethereum Package Testing
254
266
255
267
We added a `TxSeismic` spammer for Ethereum Package testing. For specific instruction see this [PR](https://github.com/SeismicSystems/seismic-reth/pull/49)
256
268
@@ -265,11 +277,7 @@ There are several areas that require attention and potential future development:
265
277
-**Action**: The `witness()` function needs to be audited to ensure it correctly handles private data.
266
278
-**Importance**: To prevent potential leaks or mishandling of confidential information.
267
279
268
-
2.**State Root Inclusion of `is_private` Flag**:
269
-
270
-
-**Consideration**: Including the `is_private` flag in the state root calculation may be necessary to accurately represent the state where storage slots can transition between public and private.
271
-
272
-
3.**RPC Method Enhancements**:
280
+
2.**RPC Method Enhancements**:
273
281
-**Encrypted Events and Data**: Future improvements may include supporting encrypted events, enabling the emission of shielded data without compromising confidentiality.
274
282
-**_eth_simulate_v1_**: support endpoint for shielded transactions
275
283
-**_debug\_\*__trace\_\*_**: support endpoints for shielded data with redaction
0 commit comments