-
Notifications
You must be signed in to change notification settings - Fork 23
/
manager.go
28 lines (23 loc) · 1.11 KB
/
manager.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package testutil
import (
"testing"
"github.com/synapsecns/sanguine/ethergo/manager"
)
// NewDeployManager creates a deploy manager.
func NewDeployManager(t *testing.T) *DeployManager {
t.Helper()
parentManager := manager.NewDeployerManager(t,
NewInboxDeployer, NewBondingManagerDeployer, NewBondingManagerHarnessDeployer,
NewLightInboxDeployer, NewLightManagerDeployer, NewLightManagerHarnessDeployer,
NewOriginDeployer, NewMessageHarnessDeployer, NewOriginHarnessDeployer, NewSummitDeployer,
NewTipsHarnessDeployer, NewDestinationDeployer, NewDestinationHarnessDeployer, NewSummitHarnessDeployer,
NewHeaderHarnessDeployer, NewAgentsTestContractDeployer, NewTestClientDeployer, NewPingPongClientDeployer,
NewStateHarnessDeployer, NewSnapshotHarnessDeployer, NewAttestationHarnessDeployer, NewGasDataHarnessDeployer,
NewGasOracleDeployer, NewBaseMessageHarnessDeployer, NewRequestHarnessDeployer, NewReceiptHarnessDeployer,
)
return &DeployManager{parentManager}
}
// DeployManager wraps DeployManager and allows typed contract handles to be returned.
type DeployManager struct {
*manager.DeployerManager
}