synapsecns/sanguine

View on GitHub
services/scribe/testutil/manager.go

Summary

Maintainability
A
0 mins
Test Coverage
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
}