From af3bcc650304a79bcffc840f398564222525b5a6 Mon Sep 17 00:00:00 2001 From: mpetrun5 Date: Thu, 19 Oct 2023 11:25:30 +0200 Subject: [PATCH] Fix imports --- Makefile | 2 +- chains/evm/listener/listener_test.go | 4 ++-- chains/substrate/listener/listener.go | 1 - chains/substrate/listener/listener_test.go | 4 ++-- mock/substrateListener.go | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index f540ed27..79eea798 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,4 @@ genmocks: mockgen -source=./store/store.go -destination=./mock/store.go -package mock mockgen -source=./relayer/message/handler.go -destination=./mock/message.go -package mock mockgen -source=./chains/evm/listener/listener.go -destination=./mock/evmListener.go -package mock - mockgen -destination=./mock/substrateListener.go -package mock github.com/ChainSafe/sygma-core/chains/substrate/listener ChainConnection + mockgen -destination=./mock/substrateListener.go -package mock github.com/sygmaprotocol/sygma-core/chains/substrate/listener ChainConnection diff --git a/chains/evm/listener/listener_test.go b/chains/evm/listener/listener_test.go index 9ce1690b..745e67d8 100644 --- a/chains/evm/listener/listener_test.go +++ b/chains/evm/listener/listener_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/ChainSafe/sygma-core/chains/evm/listener" - "github.com/ChainSafe/sygma-core/mock" "github.com/stretchr/testify/suite" + "github.com/sygmaprotocol/sygma-core/chains/evm/listener" + "github.com/sygmaprotocol/sygma-core/mock" "go.uber.org/mock/gomock" ) diff --git a/chains/substrate/listener/listener.go b/chains/substrate/listener/listener.go index f467d9de..18d66ab9 100644 --- a/chains/substrate/listener/listener.go +++ b/chains/substrate/listener/listener.go @@ -11,7 +11,6 @@ import ( "github.com/centrifuge/go-substrate-rpc-client/v4/types" "github.com/rs/zerolog" "github.com/rs/zerolog/log" - "github.com/sygmaprotocol/sygma-core/store" ) type EventHandler interface { diff --git a/chains/substrate/listener/listener_test.go b/chains/substrate/listener/listener_test.go index d67dbac7..d9154ecd 100644 --- a/chains/substrate/listener/listener_test.go +++ b/chains/substrate/listener/listener_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" - "github.com/ChainSafe/sygma-core/chains/substrate/listener" - "github.com/ChainSafe/sygma-core/mock" "github.com/centrifuge/go-substrate-rpc-client/v4/types" "github.com/stretchr/testify/suite" + "github.com/sygmaprotocol/sygma-core/chains/substrate/listener" + "github.com/sygmaprotocol/sygma-core/mock" "go.uber.org/mock/gomock" ) diff --git a/mock/substrateListener.go b/mock/substrateListener.go index 695f57bb..676cd181 100644 --- a/mock/substrateListener.go +++ b/mock/substrateListener.go @@ -1,9 +1,9 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ChainSafe/sygma-core/chains/substrate/listener (interfaces: ChainConnection) +// Source: github.com/sygmaprotocol/sygma-core/chains/substrate/listener (interfaces: ChainConnection) // // Generated by this command: // -// mockgen -destination=./mock/substrateListener.go -package mock github.com/ChainSafe/sygma-core/chains/substrate/listener ChainConnection +// mockgen -destination=./mock/substrateListener.go -package mock github.com/sygmaprotocol/sygma-core/chains/substrate/listener ChainConnection // // Package mock is a generated GoMock package. package mock