Skip to content

Commit

Permalink
docs: update attaching multiple cdk docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ji Hwan <jkim@polygon.technology>
  • Loading branch information
jhkimqd committed Oct 24, 2024
1 parent 4463ecf commit a50cd54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/attach-multiple-cdks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
By default, the Agglayer service will be deployed with the above deployment instructions. To create a devnet with multiple rollups attached to the agglayer:

```bash
kurtosis run --enclave cdk-v1 --args-file agglayer-attach-cdk-params.yml .
kurtosis run --enclave=cdk --args-file=./.github/tests/attach-second-cdk.yml --show-enclave-inspect=false .
```

The above command will use `agglayer-attach-cdk-params.yml` as the input params which have a few tweaked parameters to attach to the existing Agglayer service.
The above command will use `attach-second-cdk.yml` as the input params which have a few tweaked parameters to attach to the existing Agglayer service.
After running the above additional deployment command, the `agglayer-config.toml` needs to be edited to settle the signed transactions from the rollups.

```bash
# Shell into the Agglayer service
kurtosis service shell cdk-v1 agglayer
kurtosis service shell cdk agglayer

# Edit the agglayer-config.toml file
vim /etc/zkevm/agglayer-config.toml
Expand All @@ -30,7 +30,7 @@ The `agglayer-config.toml` file should be changed as follows:
# Sequencer address for first rollup
1 = "0x5b06837A43bdC3dD9F114558DAf4B26ed49842Ed"
# Sequencer address for second rollup
2 = "0xF4ee37aAc3ccd6B71A4a795700b065d2CA479581"
2 = "0xA670342930242407b9984e467353044f8472055e"
```

Then restart the Agglayer service
Expand Down

0 comments on commit a50cd54

Please sign in to comment.