diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 503931dd8..4b3c53a4c 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -27,6 +27,7 @@ Special thanks to external contributors on this release: - Go API + - [libs/async] \#7449 Move library to internal. (@creachadair) - [pubsub] \#7231 Remove unbuffered subscriptions and rework the Subscription interface. (@creachadair) - [eventbus] \#7231 Move the EventBus type to the internal/eventbus package. (@creachadair) - [blocksync] \#7046 Remove v2 implementation of the blocksync service and recactor, which was disabled in the previous release. (@tychoish) diff --git a/libs/async/async.go b/internal/libs/async/async.go similarity index 100% rename from libs/async/async.go rename to internal/libs/async/async.go diff --git a/libs/async/async_test.go b/internal/libs/async/async_test.go similarity index 100% rename from libs/async/async_test.go rename to internal/libs/async/async_test.go diff --git a/internal/p2p/conn/secret_connection.go b/internal/p2p/conn/secret_connection.go index f67c89e5b..ad51237e4 100644 --- a/internal/p2p/conn/secret_connection.go +++ b/internal/p2p/conn/secret_connection.go @@ -25,8 +25,8 @@ import ( "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/encoding" + "github.com/tendermint/tendermint/internal/libs/async" "github.com/tendermint/tendermint/internal/libs/protoio" - "github.com/tendermint/tendermint/libs/async" tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p" ) diff --git a/internal/p2p/conn/secret_connection_test.go b/internal/p2p/conn/secret_connection_test.go index 08a7925fa..6e8db9be1 100644 --- a/internal/p2p/conn/secret_connection_test.go +++ b/internal/p2p/conn/secret_connection_test.go @@ -21,7 +21,7 @@ import ( "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/sr25519" - "github.com/tendermint/tendermint/libs/async" + "github.com/tendermint/tendermint/internal/libs/async" tmrand "github.com/tendermint/tendermint/libs/rand" ) diff --git a/privval/secret_connection.go b/privval/secret_connection.go index 9192c3114..2bc927109 100644 --- a/privval/secret_connection.go +++ b/privval/secret_connection.go @@ -25,8 +25,8 @@ import ( "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/encoding" + "github.com/tendermint/tendermint/internal/libs/async" "github.com/tendermint/tendermint/internal/libs/protoio" - "github.com/tendermint/tendermint/libs/async" tmprivval "github.com/tendermint/tendermint/proto/tendermint/privval" ) diff --git a/test/fuzz/p2p/secretconnection/read_write.go b/test/fuzz/p2p/secretconnection/read_write.go index 9701460f5..87d547e55 100644 --- a/test/fuzz/p2p/secretconnection/read_write.go +++ b/test/fuzz/p2p/secretconnection/read_write.go @@ -7,8 +7,8 @@ import ( "log" "github.com/tendermint/tendermint/crypto/ed25519" + "github.com/tendermint/tendermint/internal/libs/async" sc "github.com/tendermint/tendermint/internal/p2p/conn" - "github.com/tendermint/tendermint/libs/async" ) func Fuzz(data []byte) int {