Skip to content

Commit

Permalink
cleanup logs and l2_dtl references
Browse files Browse the repository at this point in the history
  • Loading branch information
annieke committed Jun 2, 2021
1 parent 1dba896 commit d7226a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions integration-tests/sync-tests/sync-replica.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe('Syncing a replica', () => {
// Wait for replica to be looping
let logs = await replica.logs()
while (!logs.out.includes('Starting Verifier Loop')) {
console.log(logs)
await sleep(500)
logs = await replica.logs()
}
Expand Down Expand Up @@ -109,7 +108,6 @@ describe('Syncing a replica', () => {
await transfer.wait()

const latestSequencerBlock = (await provider.getBlock('latest')) as any
console.log(latestSequencerBlock)

const matchingReplicaBlock = (await syncReplica(
latestSequencerBlock.number
Expand Down
1 change: 0 additions & 1 deletion integration-tests/test/shared/docker-compose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type ServiceNames =
| 'relayer'
| 'verifier'
| 'replica'
| 'l2_dtl'

const OPS_DIRECTORY = path.join(process.cwd(), '../ops')
const DEFAULT_SERVICES: ServiceNames[] = [
Expand Down
9 changes: 1 addition & 8 deletions ops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,13 @@ docker-compose \
up --build --detach
```

Optionally, run a verifier along the rest of the stack.
Optionally, run a verifier along the rest of the stack. Run a replica with the same command by switching the service name!
```
docker-compose up --scale \
verifier=1 \
--build --detach
```

Do the same to run an L2 DTL and replica combo. Note that the L2 DTL is a requirement for the replica!
```
docker-compose up \
--scale l2_dtl=1 --scale replica=1 \
--build --detach
```


A Makefile has been provided for convience. The following targets are available.
- make up
Expand Down

0 comments on commit d7226a6

Please sign in to comment.