add create node to infra provider

This commit is contained in:
William Banfield
2022-12-01 11:17:03 -05:00
parent 9e4a24681c
commit eec848b408
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -34,6 +34,10 @@ func (p *Provider) Setup() error {
}
return nil
}
func (p Provider) CreateNode(ctx context.Context, n *e2e.Node) error {
return ExecCompose(ctx, p.Testnet.Dir, "create", n.Name)
}
func (p Provider) StartTendermint(ctx context.Context, n *e2e.Node) error {
return ExecCompose(ctx, p.Testnet.Dir, "start", n.Name)
}