Skip to content

Commit

Permalink
docs(docs): update docs for new hekla instructions (#371)
Browse files Browse the repository at this point in the history
* docs(docs): update docs for new instructions

* fix

* feat(repo): ignore CHANGELOG.md to unblock workflow (#372)
  • Loading branch information
RogerLamTd authored Sep 14, 2024
1 parent 2c881dc commit b8a19a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ extend-ignore-identifiers-re = [
]

[files]
extend-exclude = []
extend-exclude = ["CHANGELOG.md"]
11 changes: 7 additions & 4 deletions docs/README_Docker_and_RA.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ You can continue on with the following steps as usual after this. Do not do `doc
docker image ls
```

You should see at least two images, `gcr.io/evmchain/raiko` and `gcr.io/evmchain/pccs`.
You should see at least two images, `us-docker.pkg.dev/evmchain/raiko` and `us-docker.pkg.dev/evmchain/pccs`.

7. If both are present, bootstrap Raiko with the following command:

Expand Down Expand Up @@ -324,10 +324,11 @@ You've now prepared your machine for running Raiko through Docker. Now, you need
## On-Chain RA

1. Clone [taiko-mono](https://github.com/taikoxyz/taiko-mono/tree/main) and navigate to the scripts
1. Clone [taiko-mono](https://github.com/taikoxyz/taiko-mono/tree/main), checkout the appropriate tag (protocol-v1.9.0 for hekla) and navigate to the protocol directory.

```
git clone https://github.com/taikoxyz/taiko-mono.git
git checkout tags/{release-tag}
cd taiko-mono/packages/protocol
```

Expand All @@ -353,7 +354,7 @@ pnpm compile
export PRIVATE_KEY={PROVER_PRIVATE_KEY}
```

4. Ensure the values in the `script/config_dcap_sgx_verifier.sh` script match whichever network you are registering for.
4. Ensure the values in the `script/config_dcap_sgx_verifier.sh` script match whichever network you are registering for. (`script/layer1/config_dcap_sgx_verifier.sh` for `protocol-v1.9.0` release.)

Hekla Addresses:
`SGX_VERIFIER_ADDRESS`=0x532EFBf6D62720D0B2a2Bb9d11066E8588cAE6D9
Expand All @@ -379,7 +380,9 @@ You can find it with `cat ~/.config/raiko/config/bootstrap.json` as shown above.

Copy your quote and use in the following step.

6. In the `script/config_dcap_sgx_verifier.sh` script, replace `--fork-url https://any-holesky-rpc-url/` with the RPC URL of the respective network.
> **_NOTE:_** If you are on `protocol-v1.9.0`, the script is located at `script/layer1/config_dcap_sgx_verifier.sh`. Use this for the following steps.
6. In the `script/config_dcap_sgx_verifier.sh` script, replace `--fork-url https://any-holesky-rpc-url/` with the RPC URL of the respective network. Alternatively, export it like so: `export FORK_URL="https://any-holesky-rpc-url/"`.

7. Call the script with `PRIVATE_KEY=0x{YOUR_PRIVATE_KEY} ./script/config_dcap_sgx_verifier.sh --quote {YOUR_QUOTE_HERE}`.

Expand Down

0 comments on commit b8a19a0

Please sign in to comment.