diff --git a/chains/evm/calls/calls.go b/chains/evm/calls/calls.go index 44f02317..a0799778 100644 --- a/chains/evm/calls/calls.go +++ b/chains/evm/calls/calls.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" diff --git a/chains/evm/calls/contracts/bridge/bridge.go b/chains/evm/calls/contracts/bridge/bridge.go index a77a69cd..44b87dd2 100644 --- a/chains/evm/calls/contracts/bridge/bridge.go +++ b/chains/evm/calls/contracts/bridge/bridge.go @@ -6,16 +6,16 @@ import ( "strconv" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/deposit" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/deposit" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" diff --git a/chains/evm/calls/contracts/bridge/bridge_test.go b/chains/evm/calls/contracts/bridge/bridge_test.go index 8d25ae8d..e0b85980 100644 --- a/chains/evm/calls/contracts/bridge/bridge_test.go +++ b/chains/evm/calls/contracts/bridge/bridge_test.go @@ -6,14 +6,14 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/contracts/centrifuge/assetStore.go b/chains/evm/calls/contracts/centrifuge/assetStore.go index 90242836..821e8893 100644 --- a/chains/evm/calls/contracts/centrifuge/assetStore.go +++ b/chains/evm/calls/contracts/centrifuge/assetStore.go @@ -1,14 +1,14 @@ package centrifuge import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/rs/zerolog/log" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/calls/contracts/centrifuge/assetStore_test.go b/chains/evm/calls/contracts/centrifuge/assetStore_test.go index 7c257fe8..837a6f74 100644 --- a/chains/evm/calls/contracts/centrifuge/assetStore_test.go +++ b/chains/evm/calls/contracts/centrifuge/assetStore_test.go @@ -2,9 +2,9 @@ package centrifuge_test import ( "errors" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" "testing" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/calls/contracts/contract.go b/chains/evm/calls/contracts/contract.go index 8c8a7070..82f9b1f7 100644 --- a/chains/evm/calls/contracts/contract.go +++ b/chains/evm/calls/contracts/contract.go @@ -3,8 +3,8 @@ package contracts import ( "context" "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/calls/contracts/contract_test.go b/chains/evm/calls/contracts/contract_test.go index db9000a5..bace0901 100644 --- a/chains/evm/calls/contracts/contract_test.go +++ b/chains/evm/calls/contracts/contract_test.go @@ -2,10 +2,10 @@ package contracts import ( "errors" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" diff --git a/chains/evm/calls/contracts/erc20/erc20.go b/chains/evm/calls/contracts/erc20/erc20.go index e7bc3c12..2c994b70 100644 --- a/chains/evm/calls/contracts/erc20/erc20.go +++ b/chains/evm/calls/contracts/erc20/erc20.go @@ -1,13 +1,13 @@ package erc20 import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "math/big" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" diff --git a/chains/evm/calls/contracts/erc20/erc20Handler.go b/chains/evm/calls/contracts/erc20/erc20Handler.go index 65faae15..2545a3b0 100644 --- a/chains/evm/calls/contracts/erc20/erc20Handler.go +++ b/chains/evm/calls/contracts/erc20/erc20Handler.go @@ -1,10 +1,10 @@ package erc20 import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "strings" diff --git a/chains/evm/calls/contracts/erc20/erc20_test.go b/chains/evm/calls/contracts/erc20/erc20_test.go index c9c13186..7a06b389 100644 --- a/chains/evm/calls/contracts/erc20/erc20_test.go +++ b/chains/evm/calls/contracts/erc20/erc20_test.go @@ -4,10 +4,10 @@ import ( "math/big" "testing" - erc20 "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" + erc20 "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/contracts/erc721/erc721.go b/chains/evm/calls/contracts/erc721/erc721.go index 50120edc..81f7fd19 100644 --- a/chains/evm/calls/contracts/erc721/erc721.go +++ b/chains/evm/calls/contracts/erc721/erc721.go @@ -1,13 +1,13 @@ package erc721 import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" "math/big" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" diff --git a/chains/evm/calls/contracts/erc721/erc721Handler.go b/chains/evm/calls/contracts/erc721/erc721Handler.go index 0ebb5f47..2a471dae 100644 --- a/chains/evm/calls/contracts/erc721/erc721Handler.go +++ b/chains/evm/calls/contracts/erc721/erc721Handler.go @@ -1,10 +1,10 @@ package erc721 import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "strings" diff --git a/chains/evm/calls/contracts/erc721/erc721_test.go b/chains/evm/calls/contracts/erc721/erc721_test.go index 8f91d487..d5eb2dfd 100644 --- a/chains/evm/calls/contracts/erc721/erc721_test.go +++ b/chains/evm/calls/contracts/erc721/erc721_test.go @@ -4,12 +4,12 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/contracts/forwarder/forwarder.go b/chains/evm/calls/contracts/forwarder/forwarder.go index 122a1ebe..2fee4bb7 100644 --- a/chains/evm/calls/contracts/forwarder/forwarder.go +++ b/chains/evm/calls/contracts/forwarder/forwarder.go @@ -4,9 +4,9 @@ import ( "math/big" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/calls/contracts/generic/genericHandler.go b/chains/evm/calls/contracts/generic/genericHandler.go index ddd8180b..2cc75f50 100644 --- a/chains/evm/calls/contracts/generic/genericHandler.go +++ b/chains/evm/calls/contracts/generic/genericHandler.go @@ -1,10 +1,10 @@ package generic import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "strings" diff --git a/chains/evm/calls/events/events.go b/chains/evm/calls/events/events.go index e2560c9f..edf6409d 100644 --- a/chains/evm/calls/events/events.go +++ b/chains/evm/calls/events/events.go @@ -1,7 +1,7 @@ package events import ( - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/chains/evm/calls/events/listener.go b/chains/evm/calls/events/listener.go index ca85c108..12ac8297 100644 --- a/chains/evm/calls/events/listener.go +++ b/chains/evm/calls/events/listener.go @@ -5,7 +5,7 @@ import ( "math/big" "strings" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethTypes "github.com/ethereum/go-ethereum/core/types" diff --git a/chains/evm/calls/events/listener_test.go b/chains/evm/calls/events/listener_test.go index ace64d0f..2d0ae7a6 100644 --- a/chains/evm/calls/events/listener_test.go +++ b/chains/evm/calls/events/listener_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/evmclient/evm-client.go b/chains/evm/calls/evmclient/evm-client.go index 68aac1bd..f6d01381 100644 --- a/chains/evm/calls/evmclient/evm-client.go +++ b/chains/evm/calls/evmclient/evm-client.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/calls/evmgaspricer/london_test.go b/chains/evm/calls/evmgaspricer/london_test.go index d62c38ae..3813e75d 100644 --- a/chains/evm/calls/evmgaspricer/london_test.go +++ b/chains/evm/calls/evmgaspricer/london_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - mock_evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer/mock" + mock_evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer/mock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/evmgaspricer/static_test.go b/chains/evm/calls/evmgaspricer/static_test.go index 2df7090c..848c3696 100644 --- a/chains/evm/calls/evmgaspricer/static_test.go +++ b/chains/evm/calls/evmgaspricer/static_test.go @@ -5,7 +5,7 @@ import ( "math/big" "testing" - mock_evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer/mock" + mock_evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer/mock" "github.com/golang/mock/gomock" diff --git a/chains/evm/calls/evmtransaction/evm-tx.go b/chains/evm/calls/evmtransaction/evm-tx.go index 487ac603..548e74af 100644 --- a/chains/evm/calls/evmtransaction/evm-tx.go +++ b/chains/evm/calls/evmtransaction/evm-tx.go @@ -2,7 +2,7 @@ package evmtransaction import ( "crypto/ecdsa" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" "math/big" "github.com/ethereum/go-ethereum/accounts/abi/bind" diff --git a/chains/evm/calls/evmtransaction/evm-tx_test.go b/chains/evm/calls/evmtransaction/evm-tx_test.go index 8ac4aa15..a9573640 100644 --- a/chains/evm/calls/evmtransaction/evm-tx_test.go +++ b/chains/evm/calls/evmtransaction/evm-tx_test.go @@ -4,10 +4,10 @@ import ( "math/big" "testing" - evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" - mock_evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer/mock" + evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" + mock_evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer/mock" - "github.com/ChainSafe/chainbridge-core/keystore" + "github.com/ChainSafe/sygma-core/keystore" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/calls/mock/calls.go b/chains/evm/calls/mock/calls.go index 913f7478..5a7b31b5 100644 --- a/chains/evm/calls/mock/calls.go +++ b/chains/evm/calls/mock/calls.go @@ -9,7 +9,7 @@ import ( big "math/big" reflect "reflect" - evmclient "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + evmclient "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" common "github.com/ethereum/go-ethereum/common" types "github.com/ethereum/go-ethereum/core/types" gomock "github.com/golang/mock/gomock" diff --git a/chains/evm/calls/transactor/itx/itx.go b/chains/evm/calls/transactor/itx/itx.go index bf537b86..ba9aade5 100644 --- a/chains/evm/calls/transactor/itx/itx.go +++ b/chains/evm/calls/transactor/itx/itx.go @@ -5,8 +5,8 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/chains/evm/calls/transactor/itx/itx_test.go b/chains/evm/calls/transactor/itx/itx_test.go index 71573b20..6b2cfb3c 100644 --- a/chains/evm/calls/transactor/itx/itx_test.go +++ b/chains/evm/calls/transactor/itx/itx_test.go @@ -6,10 +6,10 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/itx" - mock_itx "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/itx/mock" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/itx" + mock_itx "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/itx/mock" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/transactor/itx/minimalForwarder.go b/chains/evm/calls/transactor/itx/minimalForwarder.go index 2c928385..a423aa39 100644 --- a/chains/evm/calls/transactor/itx/minimalForwarder.go +++ b/chains/evm/calls/transactor/itx/minimalForwarder.go @@ -5,9 +5,9 @@ import ( "math/big" "sync" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/forwarder" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/forwarder" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" "github.com/ethereum/go-ethereum/crypto" diff --git a/chains/evm/calls/transactor/itx/minimalForwarder_test.go b/chains/evm/calls/transactor/itx/minimalForwarder_test.go index 69683e1e..c879e66b 100644 --- a/chains/evm/calls/transactor/itx/minimalForwarder_test.go +++ b/chains/evm/calls/transactor/itx/minimalForwarder_test.go @@ -6,12 +6,12 @@ import ( "strings" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/forwarder" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/itx" - mock_forwarder "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/itx/mock" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/forwarder" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/itx" + mock_forwarder "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/itx/mock" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" diff --git a/chains/evm/calls/transactor/itx/mock/itx.go b/chains/evm/calls/transactor/itx/mock/itx.go index 5b691155..65f34683 100644 --- a/chains/evm/calls/transactor/itx/mock/itx.go +++ b/chains/evm/calls/transactor/itx/mock/itx.go @@ -9,7 +9,7 @@ import ( big "math/big" reflect "reflect" - transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" common "github.com/ethereum/go-ethereum/common" gomock "github.com/golang/mock/gomock" ) diff --git a/chains/evm/calls/transactor/itx/mock/minimalForwarder.go b/chains/evm/calls/transactor/itx/mock/minimalForwarder.go index d4d13164..78564a69 100644 --- a/chains/evm/calls/transactor/itx/mock/minimalForwarder.go +++ b/chains/evm/calls/transactor/itx/mock/minimalForwarder.go @@ -8,7 +8,7 @@ import ( big "math/big" reflect "reflect" - forwarder "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/forwarder" + forwarder "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/forwarder" common "github.com/ethereum/go-ethereum/common" gomock "github.com/golang/mock/gomock" ) diff --git a/chains/evm/calls/transactor/mock/transact.go b/chains/evm/calls/transactor/mock/transact.go index 78ff9faf..de0d7309 100644 --- a/chains/evm/calls/transactor/mock/transact.go +++ b/chains/evm/calls/transactor/mock/transact.go @@ -7,7 +7,7 @@ package mock_transactor import ( reflect "reflect" - transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" common "github.com/ethereum/go-ethereum/common" gomock "github.com/golang/mock/gomock" ) diff --git a/chains/evm/calls/transactor/prepare/prepare.go b/chains/evm/calls/transactor/prepare/prepare.go index bce364b1..c1fe21d0 100644 --- a/chains/evm/calls/transactor/prepare/prepare.go +++ b/chains/evm/calls/transactor/prepare/prepare.go @@ -3,7 +3,7 @@ package prepare import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/calls/transactor/prepare/prepare_test.go b/chains/evm/calls/transactor/prepare/prepare_test.go index a3fbf1aa..8129dbab 100644 --- a/chains/evm/calls/transactor/prepare/prepare_test.go +++ b/chains/evm/calls/transactor/prepare/prepare_test.go @@ -3,11 +3,11 @@ package prepare_test import ( "testing" - erc20 "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/prepare" + erc20 "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/prepare" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/calls/transactor/signAndSend/signAndSend.go b/chains/evm/calls/transactor/signAndSend/signAndSend.go index 0fa393f2..027ccaaa 100644 --- a/chains/evm/calls/transactor/signAndSend/signAndSend.go +++ b/chains/evm/calls/transactor/signAndSend/signAndSend.go @@ -4,8 +4,8 @@ import ( "context" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/calls/transactor/signAndSend/signAndSend_test.go b/chains/evm/calls/transactor/signAndSend/signAndSend_test.go index d7c951ce..64212020 100644 --- a/chains/evm/calls/transactor/signAndSend/signAndSend_test.go +++ b/chains/evm/calls/transactor/signAndSend/signAndSend_test.go @@ -4,12 +4,12 @@ import ( "math/big" "testing" - erc20 "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" + erc20 "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/golang/mock/gomock" diff --git a/chains/evm/calls/util_test.go b/chains/evm/calls/util_test.go index 2b5b0c9d..ce9e9901 100644 --- a/chains/evm/calls/util_test.go +++ b/chains/evm/calls/util_test.go @@ -1,12 +1,12 @@ package calls_test import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/chains/evm/chain.go b/chains/evm/chain.go index 9324129f..458273b1 100644 --- a/chains/evm/chain.go +++ b/chains/evm/chain.go @@ -8,9 +8,9 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/config/chain" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/store" + "github.com/ChainSafe/sygma-core/config/chain" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/store" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/cli/account/account.go b/chains/evm/cli/account/account.go index 635f00de..1a7c0832 100644 --- a/chains/evm/cli/account/account.go +++ b/chains/evm/cli/account/account.go @@ -3,7 +3,7 @@ package account import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/account/flagVars.go b/chains/evm/cli/account/flagVars.go index c8794530..63477deb 100644 --- a/chains/evm/cli/account/flagVars.go +++ b/chains/evm/cli/account/flagVars.go @@ -3,7 +3,7 @@ package account import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/account/generate-key-pair.go b/chains/evm/cli/account/generate-key-pair.go index 5e7f9862..3ad56ec8 100644 --- a/chains/evm/cli/account/generate-key-pair.go +++ b/chains/evm/cli/account/generate-key-pair.go @@ -1,8 +1,8 @@ package account import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/rs/zerolog/log" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/account/transfer.go b/chains/evm/cli/account/transfer.go index 3b857ebc..6a1065f5 100644 --- a/chains/evm/cli/account/transfer.go +++ b/chains/evm/cli/account/transfer.go @@ -7,13 +7,13 @@ import ( "os" "strings" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/add-admin.go b/chains/evm/cli/admin/add-admin.go index 2180826c..bf5ee830 100644 --- a/chains/evm/cli/admin/add-admin.go +++ b/chains/evm/cli/admin/add-admin.go @@ -3,9 +3,9 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/add-relayer.go b/chains/evm/cli/admin/add-relayer.go index 09edd409..fc43f808 100644 --- a/chains/evm/cli/admin/add-relayer.go +++ b/chains/evm/cli/admin/add-relayer.go @@ -3,14 +3,14 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/admin.go b/chains/evm/cli/admin/admin.go index 5a4a4710..020fcb13 100644 --- a/chains/evm/cli/admin/admin.go +++ b/chains/evm/cli/admin/admin.go @@ -3,7 +3,7 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/admin/flagVars.go b/chains/evm/cli/admin/flagVars.go index 4064ed4c..7a14d7db 100644 --- a/chains/evm/cli/admin/flagVars.go +++ b/chains/evm/cli/admin/flagVars.go @@ -3,7 +3,7 @@ package admin import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/admin/get-threshold.go b/chains/evm/cli/admin/get-threshold.go index 32702f18..04507341 100644 --- a/chains/evm/cli/admin/get-threshold.go +++ b/chains/evm/cli/admin/get-threshold.go @@ -3,13 +3,13 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/is-relayer.go b/chains/evm/cli/admin/is-relayer.go index 82c75346..d5b4ad5a 100644 --- a/chains/evm/cli/admin/is-relayer.go +++ b/chains/evm/cli/admin/is-relayer.go @@ -3,13 +3,13 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/pause.go b/chains/evm/cli/admin/pause.go index 87c6b6bd..664fd03e 100644 --- a/chains/evm/cli/admin/pause.go +++ b/chains/evm/cli/admin/pause.go @@ -3,14 +3,14 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/remove-admin.go b/chains/evm/cli/admin/remove-admin.go index b050f763..3d4abdf1 100644 --- a/chains/evm/cli/admin/remove-admin.go +++ b/chains/evm/cli/admin/remove-admin.go @@ -3,9 +3,9 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/remove-relayer.go b/chains/evm/cli/admin/remove-relayer.go index 39af94b4..2724d1d4 100644 --- a/chains/evm/cli/admin/remove-relayer.go +++ b/chains/evm/cli/admin/remove-relayer.go @@ -3,9 +3,9 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/set-deposit-nonce.go b/chains/evm/cli/admin/set-deposit-nonce.go index 9e0e9c77..d113cbce 100644 --- a/chains/evm/cli/admin/set-deposit-nonce.go +++ b/chains/evm/cli/admin/set-deposit-nonce.go @@ -3,13 +3,13 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/set-fee.go b/chains/evm/cli/admin/set-fee.go index 108a4a62..9601bcff 100644 --- a/chains/evm/cli/admin/set-fee.go +++ b/chains/evm/cli/admin/set-fee.go @@ -3,9 +3,9 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/set-threshold.go b/chains/evm/cli/admin/set-threshold.go index b5725831..7e9184a3 100644 --- a/chains/evm/cli/admin/set-threshold.go +++ b/chains/evm/cli/admin/set-threshold.go @@ -3,13 +3,13 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/unpause.go b/chains/evm/cli/admin/unpause.go index c4ebe824..f6b5de57 100644 --- a/chains/evm/cli/admin/unpause.go +++ b/chains/evm/cli/admin/unpause.go @@ -3,14 +3,14 @@ package admin import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/admin/withdraw.go b/chains/evm/cli/admin/withdraw.go index 67efbdf4..16c2cec4 100644 --- a/chains/evm/cli/admin/withdraw.go +++ b/chains/evm/cli/admin/withdraw.go @@ -5,15 +5,15 @@ import ( "fmt" "math/big" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/bridge.go b/chains/evm/cli/bridge/bridge.go index 356cf810..45ea7fdc 100644 --- a/chains/evm/cli/bridge/bridge.go +++ b/chains/evm/cli/bridge/bridge.go @@ -3,7 +3,7 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/bridge/cancel-proposal.go b/chains/evm/cli/bridge/cancel-proposal.go index a1c35901..4bfcd216 100644 --- a/chains/evm/cli/bridge/cancel-proposal.go +++ b/chains/evm/cli/bridge/cancel-proposal.go @@ -3,9 +3,9 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/flagVars.go b/chains/evm/cli/bridge/flagVars.go index 5642aac5..b4a0692d 100644 --- a/chains/evm/cli/bridge/flagVars.go +++ b/chains/evm/cli/bridge/flagVars.go @@ -3,8 +3,8 @@ package bridge import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/bridge/mock/vote-proposal.go b/chains/evm/cli/bridge/mock/vote-proposal.go index f4a40a13..9769dc1c 100644 --- a/chains/evm/cli/bridge/mock/vote-proposal.go +++ b/chains/evm/cli/bridge/mock/vote-proposal.go @@ -7,8 +7,8 @@ package mock_bridge import ( reflect "reflect" - transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - proposal "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" + transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + proposal "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" common "github.com/ethereum/go-ethereum/common" gomock "github.com/golang/mock/gomock" ) diff --git a/chains/evm/cli/bridge/query-proposal.go b/chains/evm/cli/bridge/query-proposal.go index f3c15089..73133cec 100644 --- a/chains/evm/cli/bridge/query-proposal.go +++ b/chains/evm/cli/bridge/query-proposal.go @@ -3,9 +3,9 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/query-resource.go b/chains/evm/cli/bridge/query-resource.go index ffa6f54c..ea286e39 100644 --- a/chains/evm/cli/bridge/query-resource.go +++ b/chains/evm/cli/bridge/query-resource.go @@ -3,9 +3,9 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/register-generic-resource.go b/chains/evm/cli/bridge/register-generic-resource.go index c9413908..475cd693 100644 --- a/chains/evm/cli/bridge/register-generic-resource.go +++ b/chains/evm/cli/bridge/register-generic-resource.go @@ -5,15 +5,15 @@ import ( "fmt" "math/big" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/util" - - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/util" + + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/register-resource.go b/chains/evm/cli/bridge/register-resource.go index d00ae5b0..234a4825 100644 --- a/chains/evm/cli/bridge/register-resource.go +++ b/chains/evm/cli/bridge/register-resource.go @@ -3,13 +3,13 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/set-burn.go b/chains/evm/cli/bridge/set-burn.go index f3c4e176..32a251aa 100644 --- a/chains/evm/cli/bridge/set-burn.go +++ b/chains/evm/cli/bridge/set-burn.go @@ -3,13 +3,13 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/vote-proposal.go b/chains/evm/cli/bridge/vote-proposal.go index 5c17fe7d..f4b4d450 100644 --- a/chains/evm/cli/bridge/vote-proposal.go +++ b/chains/evm/cli/bridge/vote-proposal.go @@ -3,14 +3,14 @@ package bridge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/bridge/vote-proposal_test.go b/chains/evm/cli/bridge/vote-proposal_test.go index 81b07ba1..4799c55b 100644 --- a/chains/evm/cli/bridge/vote-proposal_test.go +++ b/chains/evm/cli/bridge/vote-proposal_test.go @@ -5,12 +5,12 @@ import ( "errors" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/bridge" - mock_bridge "github.com/ChainSafe/chainbridge-core/chains/evm/cli/bridge/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli" + "github.com/ChainSafe/sygma-core/chains/evm/cli/bridge" + mock_bridge "github.com/ChainSafe/sygma-core/chains/evm/cli/bridge/mock" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/spf13/cobra" diff --git a/chains/evm/cli/centrifuge/centrifuge.go b/chains/evm/cli/centrifuge/centrifuge.go index e80cfafe..98022d7f 100644 --- a/chains/evm/cli/centrifuge/centrifuge.go +++ b/chains/evm/cli/centrifuge/centrifuge.go @@ -3,7 +3,7 @@ package centrifuge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/centrifuge/deploy.go b/chains/evm/cli/centrifuge/deploy.go index 11e27c3b..eaf98afb 100644 --- a/chains/evm/cli/centrifuge/deploy.go +++ b/chains/evm/cli/centrifuge/deploy.go @@ -3,11 +3,11 @@ package centrifuge import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/centrifuge/flagVars.go b/chains/evm/cli/centrifuge/flagVars.go index 49713458..ed84696e 100644 --- a/chains/evm/cli/centrifuge/flagVars.go +++ b/chains/evm/cli/centrifuge/flagVars.go @@ -3,7 +3,7 @@ package centrifuge import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/centrifuge/get-hash.go b/chains/evm/cli/centrifuge/get-hash.go index 55f6edbf..474a69c1 100644 --- a/chains/evm/cli/centrifuge/get-hash.go +++ b/chains/evm/cli/centrifuge/get-hash.go @@ -4,14 +4,14 @@ import ( "errors" "fmt" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/cli.go b/chains/evm/cli/cli.go index 523aef19..ef14dff2 100644 --- a/chains/evm/cli/cli.go +++ b/chains/evm/cli/cli.go @@ -1,15 +1,15 @@ package cli import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/account" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/admin" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/centrifuge" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/deploy" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/utils" + "github.com/ChainSafe/sygma-core/chains/evm/cli/account" + "github.com/ChainSafe/sygma-core/chains/evm/cli/admin" + "github.com/ChainSafe/sygma-core/chains/evm/cli/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/cli/centrifuge" + "github.com/ChainSafe/sygma-core/chains/evm/cli/deploy" + "github.com/ChainSafe/sygma-core/chains/evm/cli/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/cli/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/chains/evm/cli/deploy/deploy.go b/chains/evm/cli/deploy/deploy.go index 20988327..9cf55623 100644 --- a/chains/evm/cli/deploy/deploy.go +++ b/chains/evm/cli/deploy/deploy.go @@ -6,19 +6,19 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/generic" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/generic" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/utils" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/utils" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/rs/zerolog/log" diff --git a/chains/evm/cli/erc20/add-minter.go b/chains/evm/cli/erc20/add-minter.go index 9aba50b2..9193b927 100644 --- a/chains/evm/cli/erc20/add-minter.go +++ b/chains/evm/cli/erc20/add-minter.go @@ -3,13 +3,13 @@ package erc20 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc20/approve.go b/chains/evm/cli/erc20/approve.go index 68b3f63a..a26d1416 100644 --- a/chains/evm/cli/erc20/approve.go +++ b/chains/evm/cli/erc20/approve.go @@ -4,15 +4,15 @@ import ( "errors" "math/big" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc20/balance.go b/chains/evm/cli/erc20/balance.go index e68ec417..87ba330c 100644 --- a/chains/evm/cli/erc20/balance.go +++ b/chains/evm/cli/erc20/balance.go @@ -3,13 +3,13 @@ package erc20 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc20/deposit.go b/chains/evm/cli/erc20/deposit.go index 7e716590..5954e980 100644 --- a/chains/evm/cli/erc20/deposit.go +++ b/chains/evm/cli/erc20/deposit.go @@ -4,15 +4,15 @@ import ( "fmt" "math/big" - callsUtil "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + callsUtil "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc20/erc20.go b/chains/evm/cli/erc20/erc20.go index 42c6b522..3f747e31 100644 --- a/chains/evm/cli/erc20/erc20.go +++ b/chains/evm/cli/erc20/erc20.go @@ -3,7 +3,7 @@ package erc20 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/erc20/flagVars.go b/chains/evm/cli/erc20/flagVars.go index b5ebf11d..9aeab939 100644 --- a/chains/evm/cli/erc20/flagVars.go +++ b/chains/evm/cli/erc20/flagVars.go @@ -3,9 +3,9 @@ package erc20 import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/erc20/get-allowance.go b/chains/evm/cli/erc20/get-allowance.go index 65228bdd..86ae7b29 100644 --- a/chains/evm/cli/erc20/get-allowance.go +++ b/chains/evm/cli/erc20/get-allowance.go @@ -3,12 +3,12 @@ package erc20 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/util" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc20/mint.go b/chains/evm/cli/erc20/mint.go index 335932fb..07a13592 100644 --- a/chains/evm/cli/erc20/mint.go +++ b/chains/evm/cli/erc20/mint.go @@ -4,15 +4,15 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc721/add-minter.go b/chains/evm/cli/erc721/add-minter.go index ea487ad3..9831f3e9 100644 --- a/chains/evm/cli/erc721/add-minter.go +++ b/chains/evm/cli/erc721/add-minter.go @@ -3,13 +3,13 @@ package erc721 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc721/approve.go b/chains/evm/cli/erc721/approve.go index 46e50a09..e6a8ce62 100644 --- a/chains/evm/cli/erc721/approve.go +++ b/chains/evm/cli/erc721/approve.go @@ -4,14 +4,14 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc721/deposit.go b/chains/evm/cli/erc721/deposit.go index 4ff0cee2..22510f0d 100644 --- a/chains/evm/cli/erc721/deposit.go +++ b/chains/evm/cli/erc721/deposit.go @@ -5,14 +5,14 @@ import ( "math/big" "strconv" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc721/erc721.go b/chains/evm/cli/erc721/erc721.go index 5862dcfa..23cbc6bd 100644 --- a/chains/evm/cli/erc721/erc721.go +++ b/chains/evm/cli/erc721/erc721.go @@ -3,7 +3,7 @@ package erc721 import ( "fmt" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/erc721/flagVars.go b/chains/evm/cli/erc721/flagVars.go index 06d2ad00..938e5db6 100644 --- a/chains/evm/cli/erc721/flagVars.go +++ b/chains/evm/cli/erc721/flagVars.go @@ -3,8 +3,8 @@ package erc721 import ( "math/big" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/chains/evm/cli/erc721/mint.go b/chains/evm/cli/erc721/mint.go index ab1fa463..6addaecd 100644 --- a/chains/evm/cli/erc721/mint.go +++ b/chains/evm/cli/erc721/mint.go @@ -4,14 +4,14 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/erc721/owner.go b/chains/evm/cli/erc721/owner.go index 198df1c3..366de884 100644 --- a/chains/evm/cli/erc721/owner.go +++ b/chains/evm/cli/erc721/owner.go @@ -4,13 +4,13 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/initialize" - "github.com/ChainSafe/chainbridge-core/util" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" + "github.com/ChainSafe/sygma-core/util" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/cobra" diff --git a/chains/evm/cli/flags/utils.go b/chains/evm/cli/flags/utils.go index 40c1a601..5d27df6e 100644 --- a/chains/evm/cli/flags/utils.go +++ b/chains/evm/cli/flags/utils.go @@ -5,12 +5,12 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/keystore" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/keystore" + "github.com/ChainSafe/sygma-core/types" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/rs/zerolog/log" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/initialize/initialize.go b/chains/evm/cli/initialize/initialize.go index af88fd63..1e140622 100644 --- a/chains/evm/cli/initialize/initialize.go +++ b/chains/evm/cli/initialize/initialize.go @@ -4,13 +4,13 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/prepare" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/prepare" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/cli/local/deploy.go b/chains/evm/cli/local/deploy.go index 2d66870b..daa69122 100644 --- a/chains/evm/cli/local/deploy.go +++ b/chains/evm/cli/local/deploy.go @@ -6,17 +6,17 @@ package local import ( "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/generic" - evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/keystore" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/generic" + evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/keystore" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/cli/local/local.go b/chains/evm/cli/local/local.go index 3de1ef42..b1f4b537 100644 --- a/chains/evm/cli/local/local.go +++ b/chains/evm/cli/local/local.go @@ -4,8 +4,8 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/logger/logger.go b/chains/evm/cli/logger/logger.go index cec60cb8..efa3d955 100644 --- a/chains/evm/cli/logger/logger.go +++ b/chains/evm/cli/logger/logger.go @@ -5,7 +5,7 @@ import ( "os" "time" - "github.com/ChainSafe/chainbridge-core/logger" + "github.com/ChainSafe/sygma-core/logger" "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/pflag" diff --git a/chains/evm/cli/logger/logger_test.go b/chains/evm/cli/logger/logger_test.go index 2bf471f2..6b612ccf 100644 --- a/chains/evm/cli/logger/logger_test.go +++ b/chains/evm/cli/logger/logger_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/spf13/cobra" "github.com/stretchr/testify/suite" ) diff --git a/chains/evm/cli/utils/hash-list.go b/chains/evm/cli/utils/hash-list.go index 9e30e1e9..383ccc5a 100644 --- a/chains/evm/cli/utils/hash-list.go +++ b/chains/evm/cli/utils/hash-list.go @@ -6,10 +6,10 @@ import ( "math/big" "strconv" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/rs/zerolog/log" "github.com/spf13/cobra" ) diff --git a/chains/evm/cli/utils/simulate.go b/chains/evm/cli/utils/simulate.go index 92d98489..a097ab39 100644 --- a/chains/evm/cli/utils/simulate.go +++ b/chains/evm/cli/utils/simulate.go @@ -4,11 +4,11 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/rs/zerolog/log" diff --git a/chains/evm/cli/utils/utils.go b/chains/evm/cli/utils/utils.go index b9b43df6..c300823d 100644 --- a/chains/evm/cli/utils/utils.go +++ b/chains/evm/cli/utils/utils.go @@ -1,8 +1,8 @@ package utils import ( - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" "github.com/spf13/cobra" ) diff --git a/chains/evm/executor/message-handler.go b/chains/evm/executor/message-handler.go index ebb350a1..e7c5ec19 100644 --- a/chains/evm/executor/message-handler.go +++ b/chains/evm/executor/message-handler.go @@ -6,9 +6,9 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/executor/message-handler_test.go b/chains/evm/executor/message-handler_test.go index b12a29f2..9052055f 100644 --- a/chains/evm/executor/message-handler_test.go +++ b/chains/evm/executor/message-handler_test.go @@ -5,8 +5,8 @@ import ( "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/executor" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/suite" ) diff --git a/chains/evm/executor/mock/voter.go b/chains/evm/executor/mock/voter.go index 30110381..6d332b00 100644 --- a/chains/evm/executor/mock/voter.go +++ b/chains/evm/executor/mock/voter.go @@ -9,10 +9,10 @@ import ( big "math/big" reflect "reflect" - evmclient "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - proposal "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - message "github.com/ChainSafe/chainbridge-core/relayer/message" + evmclient "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + proposal "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + message "github.com/ChainSafe/sygma-core/relayer/message" common "github.com/ethereum/go-ethereum/common" types "github.com/ethereum/go-ethereum/core/types" rpc "github.com/ethereum/go-ethereum/rpc" diff --git a/chains/evm/executor/proposal/proposal.go b/chains/evm/executor/proposal/proposal.go index 8622a6c1..162f0418 100644 --- a/chains/evm/executor/proposal/proposal.go +++ b/chains/evm/executor/proposal/proposal.go @@ -1,8 +1,8 @@ package proposal import ( - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/chains/evm/executor/voter.go b/chains/evm/executor/voter.go index 04bae862..a5f3cd46 100644 --- a/chains/evm/executor/voter.go +++ b/chains/evm/executor/voter.go @@ -11,12 +11,12 @@ import ( "strings" "time" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common" ethereumTypes "github.com/ethereum/go-ethereum/core/types" diff --git a/chains/evm/executor/voter_test.go b/chains/evm/executor/voter_test.go index 62bd4628..cfaf5398 100644 --- a/chains/evm/executor/voter_test.go +++ b/chains/evm/executor/voter_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor" - mock_voter "github.com/ChainSafe/chainbridge-core/chains/evm/executor/mock" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/executor" + mock_voter "github.com/ChainSafe/sygma-core/chains/evm/executor/mock" + "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/listener/deposit-handler.go b/chains/evm/listener/deposit-handler.go index 3e74c2dd..ef32a6c3 100644 --- a/chains/evm/listener/deposit-handler.go +++ b/chains/evm/listener/deposit-handler.go @@ -4,8 +4,8 @@ import ( "errors" "math/big" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/types" "github.com/rs/zerolog/log" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/listener/deposit-handler_test.go b/chains/evm/listener/deposit-handler_test.go index 4000f2bf..d121fd7d 100644 --- a/chains/evm/listener/deposit-handler_test.go +++ b/chains/evm/listener/deposit-handler_test.go @@ -5,10 +5,10 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/deposit" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" - "github.com/ChainSafe/chainbridge-core/chains/evm/listener" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/deposit" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/chains/evm/listener" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" "github.com/stretchr/testify/suite" diff --git a/chains/evm/listener/event-handler.go b/chains/evm/listener/event-handler.go index 9b48831c..a00109d5 100644 --- a/chains/evm/listener/event-handler.go +++ b/chains/evm/listener/event-handler.go @@ -5,9 +5,9 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/types" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/listener/listener.go b/chains/evm/listener/listener.go index 5c828926..ca8c7daa 100644 --- a/chains/evm/listener/listener.go +++ b/chains/evm/listener/listener.go @@ -8,9 +8,9 @@ import ( "math/big" "time" - "github.com/ChainSafe/chainbridge-core/config/chain" - "github.com/ChainSafe/chainbridge-core/relayer/message" - "github.com/ChainSafe/chainbridge-core/store" + "github.com/ChainSafe/sygma-core/config/chain" + "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/sygma-core/store" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/listener/listener_test.go b/chains/evm/listener/listener_test.go index c4787475..d28bbb6b 100644 --- a/chains/evm/listener/listener_test.go +++ b/chains/evm/listener/listener_test.go @@ -5,9 +5,9 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" - "github.com/ChainSafe/chainbridge-core/chains/evm/listener" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/chains/evm/listener" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" diff --git a/config/chain/config.go b/config/chain/config.go index f440d041..3e5434dd 100644 --- a/config/chain/config.go +++ b/config/chain/config.go @@ -3,7 +3,7 @@ package chain import ( "fmt" - "github.com/ChainSafe/chainbridge-core/flags" + "github.com/ChainSafe/sygma-core/flags" "github.com/spf13/viper" ) diff --git a/config/chain/evm_test.go b/config/chain/evm_test.go index 4b25920d..2705c506 100644 --- a/config/chain/evm_test.go +++ b/config/chain/evm_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/ChainSafe/chainbridge-core/config/chain" + "github.com/ChainSafe/sygma-core/config/chain" "github.com/stretchr/testify/suite" ) diff --git a/config/config.go b/config/config.go index db55907c..e20d6456 100644 --- a/config/config.go +++ b/config/config.go @@ -3,7 +3,7 @@ package config import ( "fmt" - "github.com/ChainSafe/chainbridge-core/config/relayer" + "github.com/ChainSafe/sygma-core/config/relayer" "github.com/creasty/defaults" "github.com/spf13/viper" ) diff --git a/config/config_test.go b/config/config_test.go index a6aaba15..bed85e78 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "github.com/ChainSafe/chainbridge-core/config" - "github.com/ChainSafe/chainbridge-core/config/relayer" + "github.com/ChainSafe/sygma-core/config" + "github.com/ChainSafe/sygma-core/config/relayer" "github.com/stretchr/testify/suite" ) diff --git a/e2e/dummy/gas-pricer.go b/e2e/dummy/gas-pricer.go index 290fba12..208ca588 100644 --- a/e2e/dummy/gas-pricer.go +++ b/e2e/dummy/gas-pricer.go @@ -3,7 +3,7 @@ package dummy import ( "math/big" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" ) type GasPricer interface { diff --git a/e2e/evm/evm_test.go b/e2e/evm/evm_test.go index cd630503..07df9330 100644 --- a/e2e/evm/evm_test.go +++ b/e2e/evm/evm_test.go @@ -5,22 +5,22 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/e2e/dummy" - "github.com/ChainSafe/chainbridge-core/e2e/evm" + "github.com/ChainSafe/sygma-core/chains/evm/calls" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/e2e/dummy" + "github.com/ChainSafe/sygma-core/e2e/evm" substrateTypes "github.com/centrifuge/go-substrate-rpc-client/types" "github.com/ethereum/go-ethereum/common" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc20" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/erc721" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/local" - "github.com/ChainSafe/chainbridge-core/keystore" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc20" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/erc721" + "github.com/ChainSafe/sygma-core/chains/evm/cli/local" + "github.com/ChainSafe/sygma-core/keystore" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/core/types" diff --git a/e2e/evm/util.go b/e2e/evm/util.go index 17a9a5f4..aa5df1b8 100644 --- a/e2e/evm/util.go +++ b/e2e/evm/util.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" "github.com/rs/zerolog/log" "github.com/ethereum/go-ethereum" diff --git a/example/app/app.go b/example/app/app.go index 0bafbe92..25f74f0f 100644 --- a/example/app/app.go +++ b/example/app/app.go @@ -12,22 +12,22 @@ import ( secp256k1 "github.com/ethereum/go-ethereum/crypto" - "github.com/ChainSafe/chainbridge-core/chains/evm" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmtransaction" - "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend" - "github.com/ChainSafe/chainbridge-core/chains/evm/executor" - "github.com/ChainSafe/chainbridge-core/chains/evm/listener" - "github.com/ChainSafe/chainbridge-core/config" - "github.com/ChainSafe/chainbridge-core/config/chain" - "github.com/ChainSafe/chainbridge-core/e2e/dummy" - "github.com/ChainSafe/chainbridge-core/flags" - "github.com/ChainSafe/chainbridge-core/lvldb" - "github.com/ChainSafe/chainbridge-core/opentelemetry" - "github.com/ChainSafe/chainbridge-core/relayer" - "github.com/ChainSafe/chainbridge-core/store" + "github.com/ChainSafe/sygma-core/chains/evm" + "github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge" + "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend" + "github.com/ChainSafe/sygma-core/chains/evm/executor" + "github.com/ChainSafe/sygma-core/chains/evm/listener" + "github.com/ChainSafe/sygma-core/config" + "github.com/ChainSafe/sygma-core/config/chain" + "github.com/ChainSafe/sygma-core/e2e/dummy" + "github.com/ChainSafe/sygma-core/flags" + "github.com/ChainSafe/sygma-core/lvldb" + "github.com/ChainSafe/sygma-core/opentelemetry" + "github.com/ChainSafe/sygma-core/relayer" + "github.com/ChainSafe/sygma-core/store" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" "github.com/spf13/viper" diff --git a/example/cmd/cmd.go b/example/cmd/cmd.go index 97e6c680..b2b1da2d 100644 --- a/example/cmd/cmd.go +++ b/example/cmd/cmd.go @@ -4,10 +4,10 @@ package cmd import ( - evmCLI "github.com/ChainSafe/chainbridge-core/chains/evm/cli" - "github.com/ChainSafe/chainbridge-core/chains/evm/cli/local" - "github.com/ChainSafe/chainbridge-core/example/app" - "github.com/ChainSafe/chainbridge-core/flags" + evmCLI "github.com/ChainSafe/sygma-core/chains/evm/cli" + "github.com/ChainSafe/sygma-core/chains/evm/cli/local" + "github.com/ChainSafe/sygma-core/example/app" + "github.com/ChainSafe/sygma-core/flags" "github.com/rs/zerolog/log" "github.com/spf13/cobra" ) diff --git a/example/main.go b/example/main.go index 04cd5184..fd1a36fb 100644 --- a/example/main.go +++ b/example/main.go @@ -4,7 +4,7 @@ package main import ( - "github.com/ChainSafe/chainbridge-core/example/cmd" + "github.com/ChainSafe/sygma-core/example/cmd" ) func main() { diff --git a/go.mod b/go.mod index 837386b4..421e168e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ChainSafe/chainbridge-core +module github.com/ChainSafe/sygma-core go 1.17 diff --git a/keystore/decrypt.go b/keystore/decrypt.go index 9fca39b6..ed449098 100644 --- a/keystore/decrypt.go +++ b/keystore/decrypt.go @@ -10,9 +10,9 @@ import ( "io/ioutil" "path/filepath" - "github.com/ChainSafe/chainbridge-core/crypto" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/crypto/sr25519" + "github.com/ChainSafe/sygma-core/crypto" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/sr25519" ) // Decrypt uses AES to decrypt ciphertext with the symmetric key deterministically created from `password` diff --git a/keystore/encrypt.go b/keystore/encrypt.go index 0962feca..72a33bdd 100644 --- a/keystore/encrypt.go +++ b/keystore/encrypt.go @@ -14,9 +14,9 @@ import ( "os" "syscall" - "github.com/ChainSafe/chainbridge-core/crypto" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/crypto/sr25519" + "github.com/ChainSafe/sygma-core/crypto" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/sr25519" "golang.org/x/crypto/blake2b" terminal "golang.org/x/term" ) diff --git a/keystore/encrypt_test.go b/keystore/encrypt_test.go index c3cc5fff..ea8cf4d5 100644 --- a/keystore/encrypt_test.go +++ b/keystore/encrypt_test.go @@ -11,8 +11,8 @@ import ( "reflect" "testing" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/crypto/sr25519" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/sr25519" ) func TestEncryptAndDecrypt(t *testing.T) { diff --git a/keystore/keyring.go b/keystore/keyring.go index 9dcdf584..6f88c89d 100644 --- a/keystore/keyring.go +++ b/keystore/keyring.go @@ -6,9 +6,9 @@ package keystore import ( "fmt" - "github.com/ChainSafe/chainbridge-core/crypto" - "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/chainbridge-core/crypto/sr25519" + "github.com/ChainSafe/sygma-core/crypto" + "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/sygma-core/crypto/sr25519" "github.com/centrifuge/go-substrate-rpc-client/signature" ) diff --git a/keystore/keystore.go b/keystore/keystore.go index 5a93891c..76381018 100644 --- a/keystore/keystore.go +++ b/keystore/keystore.go @@ -29,7 +29,7 @@ import ( "fmt" "os" - "github.com/ChainSafe/chainbridge-core/crypto" + "github.com/ChainSafe/sygma-core/crypto" ) const EnvPassword = "KEYSTORE_PASSWORD" diff --git a/opentelemetry/opentelemetry.go b/opentelemetry/opentelemetry.go index dc63f976..1667a539 100644 --- a/opentelemetry/opentelemetry.go +++ b/opentelemetry/opentelemetry.go @@ -4,7 +4,7 @@ import ( "context" "net/url" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/rs/zerolog/log" "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" ) diff --git a/relayer/message/message.go b/relayer/message/message.go index 0a719135..de2e2eb6 100644 --- a/relayer/message/message.go +++ b/relayer/message/message.go @@ -6,7 +6,7 @@ package message import ( "math/big" - "github.com/ChainSafe/chainbridge-core/types" + "github.com/ChainSafe/sygma-core/types" ) type TransferType string diff --git a/relayer/mock/relayer.go b/relayer/mock/relayer.go index a93c3d75..69561a7d 100644 --- a/relayer/mock/relayer.go +++ b/relayer/mock/relayer.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - message "github.com/ChainSafe/chainbridge-core/relayer/message" + message "github.com/ChainSafe/sygma-core/relayer/message" gomock "github.com/golang/mock/gomock" ) diff --git a/relayer/relayer.go b/relayer/relayer.go index 912bf66d..ed75eead 100644 --- a/relayer/relayer.go +++ b/relayer/relayer.go @@ -7,7 +7,7 @@ import ( "context" "fmt" - "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/sygma-core/relayer/message" "github.com/rs/zerolog/log" ) diff --git a/relayer/relayer_test.go b/relayer/relayer_test.go index c02db563..12a31d05 100644 --- a/relayer/relayer_test.go +++ b/relayer/relayer_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/relayer/message" - mock_relayer "github.com/ChainSafe/chainbridge-core/relayer/mock" + "github.com/ChainSafe/sygma-core/relayer/message" + mock_relayer "github.com/ChainSafe/sygma-core/relayer/mock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" ) diff --git a/store/blockstore_test.go b/store/blockstore_test.go index dbbf11c0..a3a9cb96 100644 --- a/store/blockstore_test.go +++ b/store/blockstore_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/store" - mock_store "github.com/ChainSafe/chainbridge-core/store/mock" + "github.com/ChainSafe/sygma-core/store" + mock_store "github.com/ChainSafe/sygma-core/store/mock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" "github.com/syndtr/goleveldb/leveldb" diff --git a/store/noncestore_test.go b/store/noncestore_test.go index 8ec282d6..951caecc 100644 --- a/store/noncestore_test.go +++ b/store/noncestore_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/chainbridge-core/store" - mock_store "github.com/ChainSafe/chainbridge-core/store/mock" + "github.com/ChainSafe/sygma-core/store" + mock_store "github.com/ChainSafe/sygma-core/store/mock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" "github.com/syndtr/goleveldb/leveldb"