diff --git a/services/cctp-relayer/cmd/commands.go b/services/cctp-relayer/cmd/commands.go index c9ce4d5abc..4fa62b6dac 100644 --- a/services/cctp-relayer/cmd/commands.go +++ b/services/cctp-relayer/cmd/commands.go @@ -35,22 +35,11 @@ var pathFlag = &cli.StringFlag{ Required: true, } -var scribePortFlag = &cli.UintFlag{ - Name: "scribe-port", - Usage: "--scribe-port ", - Value: 0, -} - -var scribeURL = &cli.StringFlag{ - Name: "scribe-url", - Usage: "--scribe-url ", -} - // runCommand runs the cctp relayer. var runCommand = &cli.Command{ Name: "run", Description: "run the cctp relayer", - Flags: []cli.Flag{configFlag, dbFlag, pathFlag, scribePortFlag, scribeURL, &commandline.LogLevel}, + Flags: []cli.Flag{configFlag, dbFlag, pathFlag, &commandline.LogLevel}, Action: func(c *cli.Context) (err error) { commandline.SetLogLevel(c) cfg, err := config.DecodeConfig(core.ExpandOrReturnPath(c.String(configFlag.Name))) diff --git a/services/cctp-relayer/db/sql/sqlite/sqlite.go b/services/cctp-relayer/db/sql/sqlite/sqlite.go index 6731f666f2..dfa99504dc 100644 --- a/services/cctp-relayer/db/sql/sqlite/sqlite.go +++ b/services/cctp-relayer/db/sql/sqlite/sqlite.go @@ -3,9 +3,10 @@ package sqlite import ( "context" "fmt" - "github.com/synapsecns/sanguine/services/cctp-relayer/db/sql/base" "os" + "github.com/synapsecns/sanguine/services/cctp-relayer/db/sql/base" + "github.com/ipfs/go-log" common_base "github.com/synapsecns/sanguine/core/dbcommon" "github.com/synapsecns/sanguine/core/metrics" @@ -19,7 +20,7 @@ type Store struct { *base.Store } -var logger = log.Logger("scribe-sqlite") +var logger = log.Logger("cctp-relayer-sqlite") // NewSqliteStore creates a new sqlite data store. func NewSqliteStore(parentCtx context.Context, dbPath string, handler metrics.Handler, skipMigrations bool) (_ *Store, err error) {