@@ -30,18 +30,18 @@ import (
3030)
3131
3232const (
33- ipcAPIs = "admin:1.0 clique:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 txpool:1.0 web3:1.0"
33+ ipcAPIs = "admin:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 txpool:1.0 web3:1.0"
3434 httpAPIs = "eth:1.0 net:1.0 rpc:1.0 web3:1.0"
3535)
3636
3737// spawns geth with the given command line args, using a set of flags to minimise
3838// memory and disk IO. If the args don't set --datadir, the
3939// child g gets a temporary data directory.
4040func runMinimalGeth (t * testing.T , args ... string ) * testgeth {
41- // --goerli to make the 'writing genesis to disk' faster (no accounts)
41+ // --holesky to make the 'writing genesis to disk' faster (no accounts)
4242 // --networkid=1337 to avoid cache bump
4343 // --syncmode=full to avoid allocating fast sync bloom
44- allArgs := []string {"--goerli " , "--networkid" , "1337" , "--authrpc.port" , "0" , "--syncmode=full" , "--port" , "0" ,
44+ allArgs := []string {"--holesky " , "--networkid" , "1337" , "--authrpc.port" , "0" , "--syncmode=full" , "--port" , "0" ,
4545 "--nat" , "none" , "--nodiscover" , "--maxpeers" , "0" , "--cache" , "64" ,
4646 "--datadir.minfreedisk" , "0" }
4747 return runGeth (t , append (allArgs , args ... )... )
@@ -62,7 +62,7 @@ func TestConsoleWelcome(t *testing.T) {
6262 geth .SetTemplateFunc ("gover" , runtime .Version )
6363 geth .SetTemplateFunc ("gethver" , func () string { return params .VersionWithCommit ("" , "" ) })
6464 geth .SetTemplateFunc ("niltime" , func () string {
65- return time .Unix (1548854791 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
65+ return time .Unix (1695902100 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
6666 })
6767 geth .SetTemplateFunc ("apis" , func () string { return ipcAPIs })
6868
@@ -131,7 +131,7 @@ func testAttachWelcome(t *testing.T, geth *testgeth, endpoint, apis string) {
131131 attach .SetTemplateFunc ("gover" , runtime .Version )
132132 attach .SetTemplateFunc ("gethver" , func () string { return params .VersionWithCommit ("" , "" ) })
133133 attach .SetTemplateFunc ("niltime" , func () string {
134- return time .Unix (1548854791 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
134+ return time .Unix (1695902100 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
135135 })
136136 attach .SetTemplateFunc ("ipc" , func () bool { return strings .HasPrefix (endpoint , "ipc" ) })
137137 attach .SetTemplateFunc ("datadir" , func () string { return geth .Datadir })
0 commit comments