Skip to content

Commit

Permalink
remove docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Nov 10, 2023
1 parent 1ba6ca5 commit bb0d232
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 166 deletions.
1 change: 0 additions & 1 deletion bots/.dockerignore

This file was deleted.

5 changes: 0 additions & 5 deletions bots/.env

This file was deleted.

3 changes: 0 additions & 3 deletions bots/.gitmodules

This file was deleted.

22 changes: 0 additions & 22 deletions bots/Dockerfile

This file was deleted.

10 changes: 5 additions & 5 deletions bots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Bridge executor is a bot that monitor L1, L2 node and execute bridge transaction
- If you use pm2, you can run executor with following command.

```bash
pm2 start executor.json
pm2 start pm2.json --only executor
```

4. Register coin to bridge store and prepare deposit store
Expand All @@ -58,7 +58,7 @@ npm run batch
If you use pm2,

```bash
pm2 start batch.json
pm2 start pm2.json --only batch
```

## Output Submitter
Expand All @@ -67,13 +67,13 @@ Output submitter is the component to store the L2 output root for block finaliza
Output submitter will get the L2 output results from executor and submit it to L1 using `propose_l2_output<L2ID>` in `output.move`.

```bash
npm run output
npm run output
```

If you use pm2,

```bash
pm2 start output.json
pm2 start pm2.json --only output
```

## Challenger
Expand All @@ -87,7 +87,7 @@ npm run challenger
If you use pm2,

```bash
pm2 start challenger.json
pm2 start pm2.json --only challenger
```

## Configuration
Expand Down
11 changes: 0 additions & 11 deletions bots/batch.json

This file was deleted.

11 changes: 0 additions & 11 deletions bots/challenger.json

This file was deleted.

7 changes: 0 additions & 7 deletions bots/docker-compose-reset

This file was deleted.

73 changes: 0 additions & 73 deletions bots/docker-compose.yml

This file was deleted.

4 changes: 0 additions & 4 deletions bots/entrypoint.sh

This file was deleted.

12 changes: 0 additions & 12 deletions bots/executor.json

This file was deleted.

12 changes: 0 additions & 12 deletions bots/output.json

This file was deleted.

34 changes: 34 additions & 0 deletions bots/pm2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"apps" : [
{
"name" : "executor",
"cwd" : ".",
"script" : "npm run executor",
"watch" : true,
"autorestart" : true,
"args": [ "--color"]
},
{
"name" : "output",
"cwd" : ".",
"script" : "npm run output",
"watch" : true,
"autorestart" : true,
"restart_delay" : 10000
},
{
"name" : "batch",
"cwd" : ".",
"script" : "npm run batch",
"watch" : true,
"autorestart" : true
},
{
"name" : "challenger",
"cwd" : ".",
"script" : "npm run challenger",
"watch" : true,
"autorestart" : true
}
]
}

0 comments on commit bb0d232

Please sign in to comment.