This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.toml
86 lines (82 loc) · 2.69 KB
/
Makefile.toml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
RUST_LOG = "debug,aws_config=off,hyper=off,h2=off"
[tasks.ingester]
workspace = false
command = "cargo"
args = [
"run", "--release","--bin", "eth-archive-ingester", "--",
"--data-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/parquet",
"--request-timeout-secs", "300",
"--connect-timeout-ms", "1000",
"--block-batch-size", "10",
"--http-req-concurrency", "200",
"--best-block-offset", "10",
"--rpc-urls", "https://rpc.ankr.com/eth",
"--max-blocks-per-file", "100000",
"--max-txs-per-file", "100000",
"--max-logs-per-file", "100000",
"--max-row-groups-per-file", "16",
]
[tasks.worker]
workspace = false
command = "cargo"
args = [
"run", "--release", "--bin", "eth-archive-worker", "--",
"--db-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/db",
"--data-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/parquet",
"--request-timeout-secs", "300",
"--connect-timeout-ms", "1000",
"--block-batch-size", "10",
"--http-req-concurrency", "200",
"--best-block-offset", "10",
"--rpc-urls", "https://rpc.ankr.com/eth",
"--initial-hot-block-range", "1",
"--max-resp-body-size", "30",
"--resp-time-limit", "5000",
]
[tasks.ingester-s3]
workspace = false
command = "cargo"
args = [
"run", "--release","--bin", "eth-archive-ingester", "--",
"--data-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/s3/ingester",
"--request-timeout-secs", "300",
"--connect-timeout-ms", "1000",
"--block-batch-size", "10",
"--http-req-concurrency", "200",
"--best-block-offset", "10",
"--rpc-urls", "https://rpc.ankr.com/eth",
"--max-blocks-per-file", "100000",
"--max-txs-per-file", "100000",
"--max-logs-per-file", "100000",
"--max-row-groups-per-file", "16",
"--s3-endpoint", "https://s3.filebase.com",
"--s3-bucket-name", "eth-stage-1-local-test",
"--s3-bucket-region", "us-east-1",
"--s3-sync-interval-secs", "10",
"--s3-concurrency", "32",
"--s3-src-bucket", "eth-mainnet-v1-stage1",
"--s3-src-format-ver", "0.0.39",
]
[tasks.worker-s3]
workspace = false
command = "cargo"
args = [
"run", "--release", "--bin", "eth-archive-worker", "--",
"--db-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/s3/worker/db",
"--data-path", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/data/s3/worker/parquet",
"--request-timeout-secs", "300",
"--connect-timeout-ms", "1000",
"--block-batch-size", "10",
"--http-req-concurrency", "200",
"--best-block-offset", "10",
"--rpc-urls", "https://rpc.ankr.com/eth",
"--max-resp-body-size", "30",
"--resp-time-limit", "5000",
"--s3-endpoint", "https://s3.filebase.com",
"--s3-bucket-name", "eth-archive-stage-1-sia",
"--s3-bucket-region", "us-east-1",
"--s3-sync-interval-secs", "10",
"--s3-concurrency", "32",
]