clean up whitespace

This commit is contained in:
Roy Crihfield 2024-09-09 16:56:40 +08:00
parent f2fa7b5304
commit d660887f35
2 changed files with 28 additions and 9 deletions

View File

@ -301,7 +301,13 @@
- Create a deployment spec-file for L1 nitro contract:
```bash
laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts deploy init --output nitro-contracts-spec.yml --config "GETH_URL=http://host.docker.internal:8545,GETH_DEPLOYER_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218,GETH_CHAIN_ID=1212,TOKEN_NAME=LaconicNetworkToken,TOKEN_SYMBOL=LNT,INITIAL_TOKEN_SUPPLY=129600"
laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-contracts deploy init --output nitro-contracts-spec.yml --config "\
GETH_URL=http://host.docker.internal:8545,\
GETH_DEPLOYER_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218,\
GETH_CHAIN_ID=1212,\
TOKEN_NAME=LaconicNetworkToken,\
TOKEN_SYMBOL=LNT,\
INITIAL_TOKEN_SUPPLY=129600"
```
- Create a deployment `nitro-contracts` from the spec file
@ -315,7 +321,7 @@
```bash
laconic-so deployment --dir nitro-contracts-deployment start
# Check the l1 nitro contract deployments
# Check the L1 nitro contract deployments
laconic-so deployment --dir nitro-contracts-deployment logs nitro-contracts -f
```
@ -335,7 +341,20 @@
- Create a spec-file for the deployment, map container ports to host ports and set env variables:
```bash
laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy init --map-ports-to-host any-same --output bridge-nitro-spec.yml --config "NITRO_L1_CHAIN_URL=ws://host.docker.internal:8546,NITRO_L2_CHAIN_URL=ws://host.docker.internal:9546,NITRO_CHAIN_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218,NITRO_SC_PK=0279651921cd800ac560c21ceea27aab0107b67daf436cdd25ce84cad30159b4,OPTIMISM_URL=http://host.docker.internal:9545,OPTIMISM_DEPLOYER_PK=$ACCOUNT_PK,TOKEN_NAME=LaconicNetworkToken,TOKEN_SYMBOL=LNT,INITIAL_TOKEN_SUPPLY=129600,NA_ADDRESS=$NA_ADDRESS,VPA_ADDRESS=$VPA_ADDRESS,CA_ADDRESS=$CA_ADDRESS,L1_ASSET_ADDRESS=$L1_ASSET_ADDRESS"
laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy init --map-ports-to-host any-same --output bridge-nitro-spec.yml --config "\
NITRO_L1_CHAIN_URL=ws://host.docker.internal:8546,\
NITRO_L2_CHAIN_URL=ws://host.docker.internal:9546,\
NITRO_CHAIN_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218,\
NITRO_SC_PK=0279651921cd800ac560c21ceea27aab0107b67daf436cdd25ce84cad30159b4,\
OPTIMISM_URL=http://host.docker.internal:9545,\
OPTIMISM_DEPLOYER_PK=$ACCOUNT_PK,\
TOKEN_NAME=LaconicNetworkToken,\
TOKEN_SYMBOL=LNT,\
INITIAL_TOKEN_SUPPLY=129600,\
NA_ADDRESS=$NA_ADDRESS,\
VPA_ADDRESS=$VPA_ADDRESS,\
CA_ADDRESS=$CA_ADDRESS,\
L1_ASSET_ADDRESS=$L1_ASSET_ADDRESS"
```
- Create a deployment from the spec file: