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
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,22 @@ Make a copy of the `.env.example` file and call it `.env`. Then, make sure you s
36
36
37
37
`yarn run deployTokenBridge`
38
38
39
+
## Structure of docker containers
40
+
41
+
When starting your nodes with `docker compose up`, up to four containers will start:
42
+
43
+
-`batch-poster`: the sequencer/batch-poster for your chain
44
+
-`staker`: the validator/staker for your chain
45
+
-`rpc`: a regular RPC node for your chain
46
+
-`das-server`: a Data Availability Server if you're running an AnyTrust chain
47
+
48
+
You can manage each individual container with the following commands:
49
+
50
+
-`docker compose stop <container>`: stops the specified container
51
+
-`docker compose start <container>`: starts the specified container
52
+
-`docker compose restart <container>`: restarts the specified container
53
+
-`docker compose create <container>`: creates the specified container (in case it's been removed)
54
+
39
55
## Update the WASM module root of your node (WIP)
40
56
41
57
When you modify the State Transition Function (STF) of your node, you have to update the WASM module root on-chain. You can find more information about what this means in the [Arbitrum documentation portal](https://docs.arbitrum.io/launch-orbit-chain/how-tos/customize-stf).
Copy file name to clipboardExpand all lines: scripts/chain-deployer/deployNewOrbitChain.ts
+44-13Lines changed: 44 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ import {
22
22
prepareDasConfig,
23
23
saveDasNodeConfigFile,
24
24
chainIsAnytrust,
25
+
splitConfigPerType,
25
26
}from'../../src/utils';
26
27
import'dotenv/config';
27
28
@@ -30,12 +31,10 @@ if (
30
31
!process.env.PARENT_CHAIN_ID||
31
32
!process.env.CHAIN_OWNER_PRIVATE_KEY||
32
33
!process.env.BATCH_POSTER_PRIVATE_KEY||
33
-
!process.env.STAKER_PRIVATE_KEY||
34
-
!process.env.CHAIN_CONFIG_FOLDER||
35
-
!process.env.NODE_CONFIG_FILENAME
34
+
!process.env.STAKER_PRIVATE_KEY
36
35
){
37
36
thrownewError(
38
-
'The following environment variables must be present: PARENT_CHAIN_ID, CHAIN_OWNER_PRIVATE_KEY, BATC_POSTER_PRIVATE_KEY, STAKER_PRIVATE_KEY, CHAIN_CONFIG_FOLDER, NODE_CONFIG_FILENAME',
37
+
'The following environment variables must be present: PARENT_CHAIN_ID, CHAIN_OWNER_PRIVATE_KEY, BATC_POSTER_PRIVATE_KEY, STAKER_PRIVATE_KEY',
0 commit comments