add infra data to testnetload

This commit is contained in:
William Banfield
2022-10-18 13:33:51 -04:00
parent c7140bf817
commit c961fb58eb
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ type Node struct {
// The testnet generation must be deterministic, since it is generated
// separately by the runner and the test cases. For this reason, testnets use a
// random seed to generate e.g. keys.
func LoadTestnet(file string) (*Testnet, error) {
func LoadTestnet(file string, ifd InfrastructureData) (*Testnet, error) {
manifest, err := LoadManifest(file)
if err != nil {
return nil, err

View File

@@ -41,7 +41,7 @@ func NewCLI() *CLI {
if err != nil {
return err
}
testnet, err := e2e.LoadTestnet(file)
testnet, err := e2e.LoadTestnet(file, e2e.InfrastructureData{})
if err != nil {
return err
}