services/scribe/testutil/manager.go
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, NewTestContractDeployer)
return &DeployManager{parentManager}
}
// DeployManager wraps DeployManager and allows typed contract handles to be returned.
type DeployManager struct {
*manager.DeployerManager
}