File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,20 @@ _exit() {
1515}
1616trap _exit EXIT
1717
18+ env=" $1 "
19+ if [ -z " $env " ]; then
20+ echo " env name (devnet, testnet, mainnet) must be specified as argument"
21+ exit 1
22+ fi
23+
1824# Set the env var to enable long range sync
1925export GETH_FLAG_IMMUTABLE_LONG_RANGE_SYNC=" 1"
2026
2127./build/bin/geth immutable bootstrap local \
22- --env devnet \
28+ --env " $env " \
2329--syncmode snap \
24- --gcmode full \
25- --config ./.github/scripts/dev .toml \
30+ --gcmode archive \
31+ --config " ./.github/scripts/$env .toml" \
2632--boots " 0" \
2733--rpcs " 1" \
2834--validators " 0"
File renamed without changes.
Original file line number Diff line number Diff line change 1+ [Eth ]
2+ NetworkId = 13473
3+ SyncMode = " snap"
4+ EthDiscoveryURLs = []
5+ SnapDiscoveryURLs = []
6+ NoPruning = true
7+ NoPrefetch = false
8+ TxLookupLimit = 2350000
9+ TransactionHistory = 2350000
10+ StateScheme = " hash"
11+ DatabaseCache = 512
12+ DatabaseFreezer = " "
13+ TrieCleanCache = 256
14+ TrieDirtyCache = 256
15+ TrieTimeout = 3600000000000
16+ SnapshotCache = 64
17+ Preimages = false
18+ FilterLogCacheSize = 32
19+ EnablePreimageRecording = false
20+ RPCGasCap = 50000000
21+ RPCEVMTimeout = 5000000000
22+ RPCTxFeeCap = 0e+00
23+
24+ [Eth .Miner ]
25+ GasFloor = 0
26+ GasCeil = 30000000
27+ GasPrice = 10000000000
28+ Recommit = 999999999000000000
29+ NewPayloadTimeout = 2000000000
30+
31+ [Eth .TxPool ]
32+ Locals = []
33+ NoLocals = true
34+ Journal = " transactions.rlp"
35+ Rejournal = 3600000000000
36+ PriceLimit = 10000000000
37+ PriceBump = 10
38+ AccountSlots = 16
39+ GlobalSlots = 5120
40+ AccountQueue = 64
41+ GlobalQueue = 1024
42+ Lifetime = 3600000000000
43+
44+ [Eth .BlobPool ]
45+ Datadir = " blobpool"
46+ Datacap = 1
47+ PriceBump = 100
48+
49+ [Eth .GPO ]
50+ Blocks = 120
51+ Percentile = 60
52+ MaxHeaderHistory = 1024
53+ MaxBlockHistory = 1024
54+ MaxPrice = 500000000000
55+ IgnorePrice = 2
56+
57+ [Node ]
58+ DataDir = " "
59+ IPCPath = " geth.ipc"
60+ HTTPHost = " "
61+ HTTPModules = []
62+ WSHost = " "
63+ WSModules = []
64+ AllowUnprotectedTxs = true
65+
66+ [Node .P2P ]
67+ MaxPeers = 100
68+ NoDiscovery = true
69+ StaticNodes = [
70+ " enode://92d767213118c6c5986eff443f82b8d6b2db284b2cadadd309c96d3b49cc8ded5f2ca05712f5301f392e937dbdfff50812c09875fb54d066e7a2f7b8bbd0c3fb@partner-public-0.p2p.testnet.immutable.com:30300" ,
71+ " enode://7abec29f54c9e6bbf3c2cc124734d154e1cbf08c5890446a6438108581e89cef3932603e2412c299bb33892f5d08e87264f293e55703df2aace9e8e9c9958b06@partner-public-1.p2p.testnet.immutable.com:30300" ,
72+ " enode://eca30e8fddb285c5a388279bad8f5a52975ee16f198b527db9de7763994cdb150801d5ca3391cfd3716fdc8f55f18d12122178c7fecf03868bfdcf481311ccd7@partner-public-2.p2p.testnet.immutable.com:30300" ,
73+ ]
74+ TrustedNodes = [
75+ " enode://92d767213118c6c5986eff443f82b8d6b2db284b2cadadd309c96d3b49cc8ded5f2ca05712f5301f392e937dbdfff50812c09875fb54d066e7a2f7b8bbd0c3fb@partner-public-0.p2p.testnet.immutable.com:30300" ,
76+ " enode://7abec29f54c9e6bbf3c2cc124734d154e1cbf08c5890446a6438108581e89cef3932603e2412c299bb33892f5d08e87264f293e55703df2aace9e8e9c9958b06@partner-public-1.p2p.testnet.immutable.com:30300" ,
77+ " enode://eca30e8fddb285c5a388279bad8f5a52975ee16f198b527db9de7763994cdb150801d5ca3391cfd3716fdc8f55f18d12122178c7fecf03868bfdcf481311ccd7@partner-public-2.p2p.testnet.immutable.com:30300" ,
78+ ]
79+ ListenAddr = " "
80+ DiscAddr = " "
81+ EnableMsgEvents = false
82+
83+ [Node .HTTPTimeouts ]
84+ ReadTimeout = 0
85+ ReadHeaderTimeout = 0
86+ WriteTimeout = 0
87+ IdleTimeout = 0
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ type Options struct {
4949
5050// Config contains the configuration relevant for all nodes
5151type Config struct {
52- Network settings.Network
53- ConfigFilepath string
54- BlockListFilepath string
52+ Network settings.Network
53+ ConfigFilepath string
54+ BlockListFilepath string
5555}
5656
5757// Node is a runnable geth node that is produced by the LocalBootstrapper.
You can’t perform that action at this time.
0 commit comments