Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 committed Oct 18, 2023
1 parent cc8c6c7 commit 3329e2e
Show file tree
Hide file tree
Showing 28 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions chains/evm/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/store"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/store"
"github.com/sygmaprotocol/sygma-core/types"
)

type EventListener interface {
Expand Down
4 changes: 2 additions & 2 deletions chains/evm/client/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/stretchr/testify/suite"
"github.comsygmaprotcolsygma-core/chains/evm/client"
"github.comsygmaprotcolsygma-core/crypto/secp256k1"
"github.com/sygmaprotocol/sygma-core/chains/evm/client"
"github.com/sygmaprotocol/sygma-core/crypto/secp256k1"
)

type UtilsTestSuite struct {
Expand Down
4 changes: 2 additions & 2 deletions chains/evm/contracts/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/chains/evm/client"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/chains/evm/client"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
)

const DefaultDeployGasLimit = 6000000
Expand Down
4 changes: 2 additions & 2 deletions chains/evm/contracts/contract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/suite"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/mock"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion chains/evm/executor/message-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/types"
)

type HandlerMatcher interface {
Expand Down
2 changes: 1 addition & 1 deletion chains/evm/listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/big"
"time"

"github.comsygmaprotcolsygma-core/store"
"github.com/sygmaprotocol/sygma-core/store"

"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
Expand Down
2 changes: 1 addition & 1 deletion chains/evm/transactor/gas/london_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/suite"
"go.uber.org/mock/gomock"

"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/mock"
)

type LondonGasPriceTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion chains/evm/transactor/gas/static_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/stretchr/testify/suite"

"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/mock"
)

type StaticGasPriceTestSuite struct {
Expand Down
6 changes: 3 additions & 3 deletions chains/evm/transactor/monitored/monitored.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/rs/zerolog/log"

"github.comsygmaprotcolsygma-core/chains/evm/client"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/transaction"
"github.com/sygmaprotocol/sygma-core/chains/evm/client"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/transaction"
)

type GasPricer interface {
Expand Down
8 changes: 4 additions & 4 deletions chains/evm/transactor/monitored/monitored_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/stretchr/testify/suite"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/monitored"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/transaction"
"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/monitored"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/transaction"
"github.com/sygmaprotocol/sygma-core/mock"
"go.uber.org/mock/gomock"
)

Expand Down
6 changes: 3 additions & 3 deletions chains/evm/transactor/signAndSend/signAndSend.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/chains/evm/client"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/transaction"
"github.com/sygmaprotocol/sygma-core/chains/evm/client"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/transaction"
)

type GasPricer interface {
Expand Down
8 changes: 4 additions & 4 deletions chains/evm/transactor/signAndSend/signAndSend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/stretchr/testify/suite"
"github.comsygmaprotcolsygma-core/chains/evm/transactor"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/signAndSend"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/transaction"
"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/signAndSend"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/transaction"
"github.com/sygmaprotocol/sygma-core/mock"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion chains/evm/transactor/transaction/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.comsygmaprotcolsygma-core/chains/evm/client"
"github.com/sygmaprotocol/sygma-core/chains/evm/client"
)

type TxFabric func(nonce uint64, to *common.Address, amount *big.Int, gasLimit uint64, gasPrices []*big.Int, data []byte) (client.CommonTransaction, error)
Expand Down
8 changes: 4 additions & 4 deletions chains/evm/transactor/transaction/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"math/big"
"testing"

"github.comsygmaprotcolsygma-core/chains/evm/transactor/gas"
"github.comsygmaprotcolsygma-core/chains/evm/transactor/transaction"
"github.comsygmaprotcolsygma-core/crypto/secp256k1"
"github.comsygmaprotcolsygma-core/mock"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/gas"
"github.com/sygmaprotocol/sygma-core/chains/evm/transactor/transaction"
"github.com/sygmaprotocol/sygma-core/crypto/secp256k1"
"github.com/sygmaprotocol/sygma-core/mock"

"github.com/ethereum/go-ethereum/core/types"

Expand Down
6 changes: 3 additions & 3 deletions chains/substrate/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/chains/substrate/client"
"github.comsygmaprotcolsygma-core/store"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/chains/substrate/client"
"github.com/sygmaprotocol/sygma-core/store"
"github.com/sygmaprotocol/sygma-core/types"
)

type BatchProposalExecutor interface {
Expand Down
4 changes: 2 additions & 2 deletions chains/substrate/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"github.com/centrifuge/go-substrate-rpc-client/v4/signature"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/chains/substrate/connection"
"github.comsygmaprotcolsygma-core/chains/substrate/events"
"github.com/sygmaprotocol/sygma-core/chains/substrate/connection"
"github.com/sygmaprotocol/sygma-core/chains/substrate/events"
)

type SubstrateClient struct {
Expand Down
2 changes: 1 addition & 1 deletion chains/substrate/executor/message-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package executor
import (
"fmt"

"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/types"

"github.com/rs/zerolog/log"
)
Expand Down
4 changes: 2 additions & 2 deletions chains/substrate/executor/message-handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/centrifuge/go-substrate-rpc-client/v4/signature"
substrateTypes "github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/ethereum/go-ethereum/common"
"github.comsygmaprotcolsygma-core/chains/substrate/executor"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/chains/substrate/executor"
"github.com/sygmaprotocol/sygma-core/types"

"github.com/stretchr/testify/suite"
)
Expand Down
2 changes: 1 addition & 1 deletion chains/substrate/listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/store"
"github.com/sygmaprotocol/sygma-core/store"
)

type EventHandler interface {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sygmaprotcol/sygma-core
module github.com/sygmaprotocol/sygma-core

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion mock/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mock/relayer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mock/transact.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion observability/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"time"

"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/types"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp"
"go.opentelemetry.io/otel/metric"
Expand Down
2 changes: 1 addition & 1 deletion relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"context"

"github.com/rs/zerolog/log"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/types"
)

type DepositMeter interface {
Expand Down
4 changes: 2 additions & 2 deletions relayer/relayer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

"github.com/stretchr/testify/suite"
"github.comsygmaprotcolsygma-core/mock"
"github.comsygmaprotcolsygma-core/types"
"github.com/sygmaprotocol/sygma-core/mock"
"github.com/sygmaprotocol/sygma-core/types"
"go.uber.org/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions store/blockstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"testing"

"github.com/stretchr/testify/suite"
"github.com/sygmaprotocol/sygma-core/mock"
"github.com/sygmaprotocol/sygma-core/store"
"github.com/syndtr/goleveldb/leveldb"
"github.comsygmaprotcolsygma-core/mock"
"github.comsygmaprotcolsygma-core/store"
"go.uber.org/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions store/noncestore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"testing"

"github.com/stretchr/testify/suite"
"github.com/sygmaprotocol/sygma-core/mock"
"github.com/sygmaprotocol/sygma-core/store"
"github.com/syndtr/goleveldb/leveldb"
"github.comsygmaprotcolsygma-core/mock"
"github.comsygmaprotcolsygma-core/store"
"go.uber.org/mock/gomock"
)

Expand Down

0 comments on commit 3329e2e

Please sign in to comment.