File tree Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1
1
lib :
2
2
with lib ; {
3
3
network = mkOption {
4
- type = types . nullOr ( types . enum [ "mainnet" "goerli " "sepolia" "zhejiang" ] ) ;
4
+ type = types . nullOr ( types . enum [ "mainnet" "holesky " "sepolia" "zhejiang" ] ) ;
5
5
default = null ;
6
6
description = "The network to connect to. Mainnet (null) is the default ethereum network." ;
7
7
} ;
Original file line number Diff line number Diff line change 40
40
# filter out certain args which need to be treated differently
41
41
specialArgs = [
42
42
"--network"
43
- "-goerli"
44
- "-holesky"
45
- "-mainnet"
46
- "-relay-monitor"
47
- "-relay-monitors"
48
- "-relay"
49
- "-relays"
50
- "-sepolia"
51
- "-zhejiang"
43
+ "--holesky"
44
+ "--mainnet"
45
+ "--relay-monitor"
46
+ "--relay-monitors"
47
+ "--relay"
48
+ "--relays"
49
+ "--sepolia"
50
+ "--zhejiang"
52
51
] ;
53
52
isNormalArg = name : ( findFirst ( arg : hasPrefix arg name ) null specialArgs ) == null ;
54
53
filteredArgs = builtins . filter isNormalArg args ;
55
54
56
55
network =
57
56
if cfg . args . network != null
58
- then "-${ cfg . args . network } "
57
+ then "-- ${ cfg . args . network } "
59
58
else "" ;
60
59
61
- relays = "-relays " + ( concatStringsSep "," cfg . args . relays ) ;
60
+ relays = "-- relays " + ( concatStringsSep "," cfg . args . relays ) ;
62
61
relayMonitors =
63
62
if cfg . args . relay-monitors != null
64
- then "-relay-monitors" + ( concatStringsSep "," cfg . args . relay-monitors )
63
+ then "-- relay-monitors" + ( concatStringsSep "," cfg . args . relay-monitors )
65
64
else "" ;
66
65
in ''
67
66
${ network } \
Original file line number Diff line number Diff line change 13
13
enable = true ;
14
14
args = {
15
15
addr = "localhost:18550" ;
16
- network = "goerli" ;
17
- relays = [ "https://0x8f7b17a74569b7a57e9bdafd2e159380759f5dc3ccbd4bf600414147e8c4e1dc6ebada83c0139ac15850eb6c975e82d0@builder-relay-goerli.blocknative.com" ] ;
16
+ network = "holesky" ;
17
+ relays = [
18
+ "https://0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110@boost-relay-holesky.flashbots.net"
19
+ ] ;
18
20
} ;
19
21
} ;
20
22
} ;
You can’t perform that action at this time.
0 commit comments