forked from EspressoSystems/espresso-sequencer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
62 lines (46 loc) · 1.61 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
default:
just --list
demo *args:
docker compose up {{args}}
down *args:
docker compose down {{args}}
docker-cli *cmd:
docker exec -it espresso-sequencer-example-rollup-1 bin/cli {{cmd}}
cli *cmd:
target/release/cli {{cmd}}
pull:
docker compose pull
update-contract-bindings:
cargo run --bin gen-bindings
docker-stop-rm:
docker stop $(docker ps -aq); docker rm $(docker ps -aq)
anvil *args:
docker run -p 127.0.0.1:8545/8545 ghcr.io/foundry-rs/foundry:latest "anvil {{args}}"
test:
cargo test --release --all-features
# Helpful shortcuts for local development
dev-orchestrator:
target/release/orchestrator -p 8080 -n 1
dev-da-server:
target/release/web-server -p 8081
dev-consensus-server:
target/release/web-server -p 8082
dev-sequencer:
target/release/sequencer \
--orchestrator-url http://localhost:8080 \
--da-server-url http://localhost:8081 \
--consensus-server-url http://localhost:8082 \
-- http --port 8083 -- query --storage-path storage
dev-demo:
target/release/example-l2 --sequencer-url http://localhost:8083 \
--l1-http-provider http://localhost:8545 \
--l1-ws-provider ws://localhost:8546 \
--hotshot-address 0x5fbdb2315678afecb367f032d93f642f64180aa3 \
--rollup-mnemonic "test test test test test test test test test test test junk"
dev-commitment:
target/release/commitment-task --sequencer-url http://localhost:50000 \
--l1-provider http://localhost:8545 \
--eth-mnemonic "test test test test test test test test test test test junk" \
--deploy
build-docker-images:
scripts/build-docker-images