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 11lib :
22with lib ; {
33 network = mkOption {
4- type = types . nullOr ( types . enum [ "mainnet" "goerli " "sepolia" "zhejiang" "holesky "] ) ;
4+ type = types . nullOr ( types . enum [ "mainnet" "holesky " "sepolia" "zhejiang" ] ) ;
55 default = null ;
66 description = "The network to connect to. Mainnet (null) is the default ethereum network." ;
77 } ;
Original file line number Diff line number Diff line change 4040 # filter out certain args which need to be treated differently
4141 specialArgs = [
4242 "--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"
5251 ] ;
5352 isNormalArg = name : ( findFirst ( arg : hasPrefix arg name ) null specialArgs ) == null ;
5453 filteredArgs = builtins . filter isNormalArg args ;
5554
5655 network =
5756 if cfg . args . network != null
58- then "-${ cfg . args . network } "
57+ then "-- ${ cfg . args . network } "
5958 else "" ;
6059
61- relays = "-relays " + ( concatStringsSep "," cfg . args . relays ) ;
60+ relays = "-- relays " + ( concatStringsSep "," cfg . args . relays ) ;
6261 relayMonitors =
6362 if cfg . args . relay-monitors != null
64- then "-relay-monitors" + ( concatStringsSep "," cfg . args . relay-monitors )
63+ then "-- relay-monitors" + ( concatStringsSep "," cfg . args . relay-monitors )
6564 else "" ;
6665 in ''
6766 ${ network } \
Original file line number Diff line number Diff line change 1313 enable = true ;
1414 args = {
1515 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+ ] ;
1820 } ;
1921 } ;
2022 } ;
You can’t perform that action at this time.
0 commit comments