@@ -10,10 +10,8 @@ import (
1010 "lukechampine.com/frand"
1111
1212 proto2 "go.sia.tech/core/rhp/v2"
13- rhpv2 "go.sia.tech/core/rhp/v2"
1413 proto3 "go.sia.tech/core/rhp/v3"
1514 proto4 "go.sia.tech/core/rhp/v4"
16- rhpv4 "go.sia.tech/core/rhp/v4"
1715 "go.sia.tech/core/types"
1816 "go.sia.tech/coreutils/chain"
1917 "go.sia.tech/explored/explorer"
@@ -247,7 +245,7 @@ func TestLastSuccessScan(t *testing.T) {
247245 LastScanSuccessful : false ,
248246 SuccessfulInteractions : 75 ,
249247 TotalScans : 100 ,
250- Settings : rhpv2 .HostSettings {
248+ Settings : proto2 .HostSettings {
251249 AcceptingContracts : true ,
252250 MaxDuration : 1000 ,
253251 StoragePrice : types .Siacoins (1 ),
@@ -328,7 +326,7 @@ func TestQueryHosts(t *testing.T) {
328326 LastScanSuccessful : true ,
329327 SuccessfulInteractions : 75 ,
330328 TotalScans : 100 ,
331- Settings : rhpv2 .HostSettings {
329+ Settings : proto2 .HostSettings {
332330 AcceptingContracts : true ,
333331 MaxDuration : 1000 ,
334332 StoragePrice : types .Siacoins (1 ),
@@ -355,7 +353,7 @@ func TestQueryHosts(t *testing.T) {
355353 LastScanSuccessful : true ,
356354 SuccessfulInteractions : 90 ,
357355 TotalScans : 100 ,
358- Settings : rhpv2 .HostSettings {
356+ Settings : proto2 .HostSettings {
359357 AcceptingContracts : false ,
360358 MaxDuration : 10000 ,
361359 StoragePrice : types .Siacoins (60 ),
@@ -382,12 +380,12 @@ func TestQueryHosts(t *testing.T) {
382380 LastScanSuccessful : false ,
383381 SuccessfulInteractions : 95 ,
384382 TotalScans : 100 ,
385- V2Settings : rhpv4 .HostSettings {
383+ V2Settings : proto4 .HostSettings {
386384 AcceptingContracts : true ,
387385 MaxContractDuration : 1000 ,
388386 TotalStorage : 2000 ,
389387 RemainingStorage : 1000 ,
390- Prices : rhpv4 .HostPrices {
388+ Prices : proto4 .HostPrices {
391389 StoragePrice : types .Siacoins (10 ),
392390 ContractPrice : types .Siacoins (20 ),
393391 EgressPrice : types .Siacoins (30 ),
@@ -409,12 +407,12 @@ func TestQueryHosts(t *testing.T) {
409407 LastScanSuccessful : false ,
410408 SuccessfulInteractions : 75 ,
411409 TotalScans : 100 ,
412- V2Settings : rhpv4 .HostSettings {
410+ V2Settings : proto4 .HostSettings {
413411 AcceptingContracts : false ,
414412 MaxContractDuration : 10000 ,
415413 TotalStorage : 1000 ,
416414 RemainingStorage : 500 ,
417- Prices : rhpv4 .HostPrices {
415+ Prices : proto4 .HostPrices {
418416 StoragePrice : types .Siacoins (1 ),
419417 ContractPrice : types .Siacoins (2 ),
420418 EgressPrice : types .Siacoins (3 ),
0 commit comments