diff --git a/core/channel.go b/core/channel.go index 1ac6e879..bb37a033 100644 --- a/core/channel.go +++ b/core/channel.go @@ -3,12 +3,12 @@ package core import ( "context" "fmt" + "log/slog" "time" retry "github.com/avast/retry-go" chantypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" "github.com/hyperledger-labs/yui-relayer/log" - "golang.org/x/exp/slog" ) // CreateChannel runs the channel creation messages on timeout until they pass diff --git a/core/connection.go b/core/connection.go index c6606871..5557f80d 100644 --- a/core/connection.go +++ b/core/connection.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "log/slog" "time" retry "github.com/avast/retry-go" @@ -12,7 +13,6 @@ import ( conntypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types" ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" "github.com/hyperledger-labs/yui-relayer/log" - "golang.org/x/exp/slog" ) var ( diff --git a/core/naive-strategy.go b/core/naive-strategy.go index 7b68ce0a..3b0e99af 100644 --- a/core/naive-strategy.go +++ b/core/naive-strategy.go @@ -3,6 +3,7 @@ package core import ( "context" "fmt" + "log/slog" "time" retry "github.com/avast/retry-go" @@ -12,7 +13,6 @@ import ( "github.com/hyperledger-labs/yui-relayer/metrics" "go.opentelemetry.io/otel/attribute" api "go.opentelemetry.io/otel/metric" - "golang.org/x/exp/slog" "golang.org/x/sync/errgroup" ) diff --git a/go.mod b/go.mod index e524ef72..18000f41 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,6 @@ require ( go.opentelemetry.io/otel/exporters/prometheus v0.39.0 go.opentelemetry.io/otel/metric v1.16.0 go.opentelemetry.io/otel/sdk/metric v0.39.0 - golang.org/x/exp v0.0.0-20231006140011-7918f672742d golang.org/x/sync v0.5.0 gopkg.in/yaml.v2 v2.4.0 ) @@ -172,6 +171,7 @@ require ( go.opentelemetry.io/otel/sdk v1.16.0 // indirect go.opentelemetry.io/otel/trace v1.16.0 // indirect golang.org/x/crypto v0.16.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/net v0.19.0 // indirect golang.org/x/oauth2 v0.12.0 // indirect golang.org/x/sys v0.15.0 // indirect diff --git a/log/slog.go b/log/slog.go index 765e080c..866ae3c3 100644 --- a/log/slog.go +++ b/log/slog.go @@ -3,12 +3,12 @@ package log import ( "fmt" "io" + "log/slog" "os" "time" "github.com/cockroachdb/errors" "github.com/cockroachdb/errors/withstack" - "golang.org/x/exp/slog" ) type RelayLogger struct {