Skip to content

Commit 80ed57b

Browse files
authored
Merge branch 'main' into jonas/tee-prover-service
2 parents 97da7ab + 486ae42 commit 80ed57b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

docs/ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The prover service indexes EvolveEvm blocks for `EventDispatch` emissions. When
4747
In order for Celestia to mint synthetic tokens on behalf of the locked collateral tokens, the relayer must present two proofs:
4848
- A state transition proof showing the EvolveEvm chain's current state evolved from a previously known (trusted) state. This allows Celestia to trust the new state root.
4949
- A state inclusion proof showing that the commitment (message ID) is a valid Merkle leaf in the EvolveEvm chain state tree.
50-
The prover services runs zk circuits built using SP1:
50+
The prover service runs zk circuits built using SP1:
5151
- The first circuit verifies sequential EvolveEvm header-to-header state transitions using [RSP](https://github.com/succinctlabs/rsp/tree/main) and additionally proves blob inclusion in Celestia’s data availability layer. The process is repeated for a batch of Celestia blocks.
5252
- The second circuit verifies Merkle inclusion of the commitment (message ID).
5353
6. **ProverService submits proofs + message to Celestia.**
@@ -58,4 +58,4 @@ Celestia decodes the proofs, verifies them using its `ZKExecutionISM` module, an
5858
### Token return flows
5959

6060
If a user wishes to return tokens to the chain they originated from, the process closely mirrors the initial transfer.
61-
Instead of locking and minting, the protocol _burns_ the synthetic tokens on the destination chain and _unlocks_ the corresponding collateral token on the origin chain.
61+
Instead of locking and minting, the protocol _burns_ the synthetic tokens on the destination chain and _unlocks_ the corresponding collateral token on the origin chain.

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Thank you for your interest in contributing to repository! 🎉
3+
Thank you for your interest in contributing to the repository! 🎉
44
We welcome all contributions, whether it's fixing bugs, improving documentation, or implementing new features.
55

66
## Getting Started

hyperlane/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Now that we've deployed the Hyperlane core and warp route infrastructure for a c
115115
we must establish a link between the two tokens and mailboxes.
116116

117117
1. Enroll the synthetic token contract on Reth as the remote router contract on the celestia-app cosmosnative module.
118-
NOTE: Here we left-pad the 20byte EVM address to conform to the `HexAddress` spec of cosmosnative.
118+
NOTE: Here we left-pad the 20-byte EVM address to conform to the `HexAddress` spec of cosmosnative.
119119

120120
NOTE: The following can be run from inside the `celestia-validator` service container, or from your host machine if you have access to a key for a funded account.
121121

@@ -132,7 +132,7 @@ celestia-appd q warp remote-routers 0x726f757465725f6170700000000000000000000000
132132
```
133133

134134
2. Enroll the collateral token ID from the celestia-app cosmosnative module as the remote router on the synthetic token contract (EVM).
135-
Normally this should be possible to configure in a `warp-config.yaml` using the hyperlane CLI however, there isn't cosmosnative support yet.
135+
Normally this should be possible to configure in a `warp-config.yaml` using the hyperlane CLI however, there isn't any cosmos-native support yet.
136136
Instead, we attempt to do this manually by invoking the EVM contract directly.
137137

138138
```
@@ -194,7 +194,7 @@ cast call 0x345a583028762De4d733852c9D4f419077093A48 \
194194

195195
#### Deploy a `HypNative` token on Evolve
196196

197-
This guide will walkthrough the steps to deploy a `HypNative` token on EVM and a corresponding `Synthetic` token on Celestia and
197+
This guide will walk through the steps to deploy a `HypNative` token on EVM and a corresponding `Synthetic` token on Celestia and
198198
establish a link between the two.
199199

200200
Ensure you have a valid private key set for deploying EVM contracts under the env variable `HYP_KEY`.
@@ -211,7 +211,7 @@ Example using the docker compose network in this repository:
211211
4. Select `No` for the trusted relayer ism.
212212
5. Select `Native` from the token list.
213213

214-
Deploy the Warp contract using the `hyperlane` CLI. Provide the flag `--symbol ETH` to refer to the file created under `deployments/ETH` from the initial step. Alternatively provide
214+
Deploy the Warp contract using the `hyperlane` CLI. Provide the flag `--symbol ETH` to refer to the file created under `deployments/ETH` from the initial step.
215215
Note, if running the CLI locally against the docker network then you will need to adjust the `rpcUrl` in `registry/chains` to use localhost.
216216
```
217217
hyperlane warp deploy --registry ./hyperlane/registry --warp --symbol ETH
@@ -237,7 +237,7 @@ celestia-appd q warp tokens
237237

238238
#### Set the remote routers to establish a link between both tokens
239239

240-
Finally we will set the remote router for both new tokens. Firstly on the EVM side and then on Celestia, the order in which this is done is does not matter.
240+
Finally we will set the remote router for both new tokens. Firstly on the EVM side and then on Celestia, the order in which this is done does not matter.
241241

242242
Using `cast` we can invoke the contract directly to enroll the remote router providing both the `domain` and `Synthetic` token identifier.
243243
```
@@ -273,4 +273,4 @@ cast send 0x032e1B988eB5Ac8F0C8617E09de92a664cABf37D \
273273
69420 0000000000000000000000006A809B36CAF0D46A935EE76835065EC5A8B3CEA7 10000000 \
274274
--private-key 0x82bfcfadbf1712f6550d8d2c00a39f05b33ec78939d0167be2a737d691f33a6a \
275275
--rpc-url http://localhost:8545 --value 10000000
276-
```
276+
```

testdata/benchmarks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ make stop
2323
```
2424

2525
Collect proof input data for a range of blocks.
26-
As mentioned in the `ev-exec` documentation, using the `--start` and `--blocks` flags allows the user to chose a starting height and number of blocks to gather input data for.
26+
As mentioned in the `ev-exec` documentation, using the `--start` and `--blocks` flags allows the user to choose a starting height and number of blocks to gather input data for.
2727

2828
```shell
2929
cargo run -p ev-exec-script --bin data-gen --release -- --start 15 --blocks 5
@@ -40,7 +40,7 @@ RUST_LOG=info cargo run -p ev-exec-script --release -- --execute --height 15 --o
4040

4141
Using the outputs displayed on screen we can invoke the program for the subsequent blocks passing the `--trusted-height` and `--trusted-root` flags.
4242
Note, as we are chaining celestia blocks sequentially, we do not have a guarantee that each block will contain a `SignedData` blob for the EVM application.
43-
Thus, we explitcitly pass these flags to ensure empty blocks maintain a trusted height and state root moving forward.
43+
Thus, we explicitly pass these flags to ensure empty blocks maintain a trusted height and state root moving forward.
4444

4545
```shell
4646
RUST_LOG=info cargo run -p ev-exec-script --release -- --execute --height 16 --output-file block-15.json --trusted-height {N} --trusted-root {abcdef...}

0 commit comments

Comments
 (0)