diff --git a/Makefile b/Makefile index 59543d16..30cb182c 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ genmocks: mockgen -destination=./relayer/mock/relayer.go -source=./relayer/relayer.go mockgen -source=chains/evm/calls/calls.go -destination=chains/evm/calls/mock/calls.go mockgen -source=chains/evm/calls/transactor/transact.go -destination=chains/evm/calls/transactor/mock/transact.go - mockgen -destination=chains/evm/executor/mock/voter.go github.com/ChainSafe/sygma-core/chains/evm/executor ChainClient,MessageHandler,BridgeContract + mockgen -destination=chains/evm/executor/mock/voter.go github.com/ChainSafe/chainbridge-core/chains/evm/executor ChainClient,MessageHandler,BridgeContract mockgen -destination=./chains/evm/calls/transactor/itx/mock/itx.go -source=./chains/evm/calls/transactor/itx/itx.go mockgen -destination=./chains/evm/calls/transactor/itx//mock/minimalForwarder.go -source=./chains/evm/calls/transactor/itx/minimalForwarder.go mockgen -destination=chains/evm/cli/bridge/mock/vote-proposal.go -source=./chains/evm/cli/bridge/vote-proposal.go diff --git a/README.md b/README.md index 3c5312b9..92452384 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Sygma Core +# Chainbridge Core discord @@ -12,7 +12,7 @@   -Sygma-Core was born from and built to improve the maintainability and modularity of the existing version of [ChainBridge](https://github.com/ChainSafe/chainbridge). The fundamental distinction between the two is that Sygma-Core is more of a framework rather than a stand-alone application. +Chainbridge-Core was born from and built to improve the maintainability and modularity of the existing version of [ChainBridge](https://github.com/ChainSafe/chainbridge). The fundamental distinction between the two is that Chainbridge-Core is more of a framework rather than a stand-alone application.   diff --git a/chains/evm/calls/calls.go b/chains/evm/calls/calls.go index a0799778..44f02317 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/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/chainbridge-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 44b87dd2..a77a69cd 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/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/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/ethereum/go-ethereum/common/hexutil" - "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-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 e0b85980..8d25ae8d 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/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/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/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 821e8893..90242836 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/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/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/ethereum/go-ethereum/common/hexutil" "github.com/rs/zerolog/log" "strings" - "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/chainbridge-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 837a6f74..7c257fe8 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/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" + "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" "testing" "github.com/ethereum/go-ethereum/common" diff --git a/chains/evm/calls/contracts/contract.go b/chains/evm/calls/contracts/contract.go index 82f9b1f7..8c8a7070 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/sygma-core/chains/evm/calls" - "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-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 bace0901..db9000a5 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/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/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/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 2c994b70..e7bc3c12 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/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/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" "math/big" "strings" - "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/chainbridge-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 2545a3b0..65faae15 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/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/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/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 7a06b389..c9c13186 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/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" + 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" "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 81f7fd19..50120edc 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/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/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts" "math/big" "strings" - "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/chainbridge-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 2a471dae..0ebb5f47 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/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/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/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 d5eb2dfd..8f91d487 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/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/contracts/erc721" + mock_calls "github.com/ChainSafe/chainbridge-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/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/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 2fee4bb7..122a1ebe 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/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/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/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 2cc75f50..ddd8180b 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/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/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/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 edf6409d..e2560c9f 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/sygma-core/types" + "github.com/ChainSafe/chainbridge-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 12ac8297..ca85c108 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/sygma-core/chains/evm/calls/consts" + "github.com/ChainSafe/chainbridge-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 2d0ae7a6..ace64d0f 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/sygma-core/chains/evm/calls/consts" - "github.com/ChainSafe/sygma-core/chains/evm/calls/events" - "github.com/ChainSafe/sygma-core/types" + "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/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 f6d01381..68aac1bd 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/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 3813e75d..d62c38ae 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/sygma-core/chains/evm/calls/evmgaspricer/mock" + mock_evmgaspricer "github.com/ChainSafe/chainbridge-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 848c3696..2df7090c 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/sygma-core/chains/evm/calls/evmgaspricer/mock" + mock_evmgaspricer "github.com/ChainSafe/chainbridge-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 548e74af..487ac603 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/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/chainbridge-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 a9573640..8ac4aa15 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/sygma-core/chains/evm/calls/evmgaspricer" - mock_evmgaspricer "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer/mock" + evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" + mock_evmgaspricer "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer/mock" - "github.com/ChainSafe/sygma-core/keystore" + "github.com/ChainSafe/chainbridge-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 5a7b31b5..913f7478 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/sygma-core/chains/evm/calls/evmclient" + evmclient "github.com/ChainSafe/chainbridge-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 ba9aade5..bf537b86 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/sygma-core/chains/evm/calls/transactor" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + "github.com/ChainSafe/chainbridge-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 6b2cfb3c..71573b20 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/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/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/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 a423aa39..2c928385 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/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/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/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 c879e66b..69683e1e 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/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/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/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 65f34683..5b691155 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/sygma-core/chains/evm/calls/transactor" + transactor "github.com/ChainSafe/chainbridge-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 78564a69..d4d13164 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/sygma-core/chains/evm/calls/contracts/forwarder" + forwarder "github.com/ChainSafe/chainbridge-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 de0d7309..78ff9faf 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/sygma-core/chains/evm/calls/transactor" + transactor "github.com/ChainSafe/chainbridge-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 c1fe21d0..bce364b1 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/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/chainbridge-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 8129dbab..a3fbf1aa 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/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" + 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" "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 027ccaaa..0fa393f2 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/sygma-core/chains/evm/calls" - "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-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 64212020..d7c951ce 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/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" + 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" "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 ce9e9901..2b5b0c9d 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/sygma-core/chains/evm/calls" - mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock" "math/big" "testing" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 458273b1..9324129f 100644 --- a/chains/evm/chain.go +++ b/chains/evm/chain.go @@ -8,9 +8,9 @@ import ( "fmt" "math/big" - "github.com/ChainSafe/sygma-core/config/chain" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/store" + "github.com/ChainSafe/chainbridge-core/config/chain" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/store" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/cli/account/account.go b/chains/evm/cli/account/account.go index 1a7c0832..635f00de 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 63477deb..c8794530 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/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 3ad56ec8..5e7f9862 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/sygma-core/chains/evm/cli/logger" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-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 6a1065f5..3b857ebc 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/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" + 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" "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 bf5ee830..2180826c 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 fc43f808..09edd409 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "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/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 020fcb13..5a4a4710 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 7a14d7db..4064ed4c 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/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 04507341..32702f18 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 d5b4ad5a..82c75346 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 664fd03e..87c6b6bd 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 3d4abdf1..b050f763 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 2724d1d4..39af94b4 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 d113cbce..9e0e9c77 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/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/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/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 9601bcff..108a4a62 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 7e9184a3..b5725831 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/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/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/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 f6b5de57..c4ebe824 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 16c2cec4..67efbdf4 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/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" + 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" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 45ea7fdc..356cf810 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 4bfcd216..a1c35901 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 b4a0692d..5642aac5 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/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 9769dc1c..f4a40a13 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/sygma-core/chains/evm/calls/transactor" - proposal "github.com/ChainSafe/sygma-core/chains/evm/executor/proposal" + transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor" + proposal "github.com/ChainSafe/chainbridge-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 73133cec..f3c15089 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 ea286e39..ffa6f54c 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/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "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/chainbridge-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 475cd693..c9413908 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/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" + 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" "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 234a4825..d00ae5b0 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/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/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/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 32a251aa..f3c4e176 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/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/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/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 f4b4d450..5c17fe7d 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/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/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/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 4799c55b..81b07ba1 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/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/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/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 98022d7f..e80cfafe 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 eaf98afb..11e27c3b 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/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/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/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 ed84696e..49713458 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/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 474a69c1..55f6edbf 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/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" + 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" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 ef14dff2..523aef19 100644 --- a/chains/evm/cli/cli.go +++ b/chains/evm/cli/cli.go @@ -1,15 +1,15 @@ package cli import ( - "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/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/spf13/cobra" "github.com/spf13/viper" ) diff --git a/chains/evm/cli/deploy/deploy.go b/chains/evm/cli/deploy/deploy.go index 9cf55623..20988327 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" - "github.com/ChainSafe/sygma-core/chains/evm/cli/utils" + "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/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 9193b927..9aba50b2 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/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/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/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 a26d1416..68b3f63a 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/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" + 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" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 87ba330c..e68ec417 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 5954e980..7e716590 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/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" + 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" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 3f747e31..42c6b522 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 9aeab939..b5ebf11d 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/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-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 86ae7b29..65228bdd 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/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/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/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 07a13592..335932fb 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 9831f3e9..ea487ad3 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/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/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/transactor" - "github.com/ChainSafe/sygma-core/chains/evm/cli/initialize" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "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/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 e6a8ce62..46e50a09 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/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/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/transactor" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "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/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 22510f0d..4ff0cee2 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 23cbc6bd..5862dcfa 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/sygma-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 938e5db6..06d2ad00 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/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 6addaecd..ab1fa463 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/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/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/transactor" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "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/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 366de884..198df1c3 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/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/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/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 5d27df6e..40c1a601 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/sygma-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" - "github.com/ChainSafe/sygma-core/keystore" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/keystore" + "github.com/ChainSafe/chainbridge-core/types" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 1e140622..af88fd63 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/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/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/rs/zerolog/log" ) diff --git a/chains/evm/cli/local/deploy.go b/chains/evm/cli/local/deploy.go index daa69122..2d66870b 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/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/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/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 b1f4b537..3de1ef42 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/sygma-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/sygma-core/chains/evm/calls/evmtransaction" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/chainbridge-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 efa3d955..cec60cb8 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/sygma-core/logger" + "github.com/ChainSafe/chainbridge-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 6b612ccf..2bf471f2 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/sygma-core/chains/evm/cli" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli" + "github.com/ChainSafe/chainbridge-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 383ccc5a..9e30e1e9 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/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 a097ab39..92d98489 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/sygma-core/chains/evm/calls" - "github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient" - "github.com/ChainSafe/sygma-core/chains/evm/cli/flags" - "github.com/ChainSafe/sygma-core/chains/evm/cli/logger" + "github.com/ChainSafe/chainbridge-core/chains/evm/cli/flags" + "github.com/ChainSafe/chainbridge-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 c300823d..b9b43df6 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/sygma-core/chains/evm/calls" - "github.com/ChainSafe/sygma-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls" + "github.com/ChainSafe/chainbridge-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 e7c5ec19..ebb350a1 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/sygma-core/chains/evm/executor/proposal" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-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 9052055f..b12a29f2 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/sygma-core/chains/evm/executor" - "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/chains/evm/executor" + "github.com/ChainSafe/chainbridge-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 bcb9aa1a..30110381 100644 --- a/chains/evm/executor/mock/voter.go +++ b/chains/evm/executor/mock/voter.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/ChainSafe/sygma-core/chains/evm/executor (interfaces: ChainClient,MessageHandler,BridgeContract) +// Source: github.com/ChainSafe/chainbridge-core/chains/evm/executor (interfaces: ChainClient,MessageHandler,BridgeContract) // Package mock_executor is a generated GoMock package. package mock_executor @@ -9,10 +9,10 @@ import ( big "math/big" reflect "reflect" - 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" + 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" 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 162f0418..8622a6c1 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/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-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 a5f3cd46..04bae862 100644 --- a/chains/evm/executor/voter.go +++ b/chains/evm/executor/voter.go @@ -11,12 +11,12 @@ import ( "strings" "time" - "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/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/executor/proposal" - "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal" + "github.com/ChainSafe/chainbridge-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 cfaf5398..62bd4628 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/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/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/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 ef32a6c3..3e74c2dd 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/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-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 d121fd7d..4000f2bf 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/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/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/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 886faca9..1ef1e92d 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/sygma-core/chains/evm/calls/events" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/types" "github.com/ethereum/go-ethereum/common" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/listener/event-handler_test.go b/chains/evm/listener/event-handler_test.go index 6a363345..978c8078 100644 --- a/chains/evm/listener/event-handler_test.go +++ b/chains/evm/listener/event-handler_test.go @@ -5,11 +5,11 @@ import ( "math/big" "testing" - "github.com/ChainSafe/sygma-core/chains/evm/calls/events" - "github.com/ChainSafe/sygma-core/chains/evm/listener" - mock_listener "github.com/ChainSafe/sygma-core/chains/evm/listener/mock" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" + "github.com/ChainSafe/chainbridge-core/chains/evm/listener" + mock_listener "github.com/ChainSafe/chainbridge-core/chains/evm/listener/mock" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/types" "github.com/ethereum/go-ethereum/common" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" diff --git a/chains/evm/listener/listener.go b/chains/evm/listener/listener.go index 8a232eb1..f3cf44c6 100644 --- a/chains/evm/listener/listener.go +++ b/chains/evm/listener/listener.go @@ -8,9 +8,9 @@ import ( "math/big" "time" - "github.com/ChainSafe/sygma-core/config/chain" - "github.com/ChainSafe/sygma-core/relayer/message" - "github.com/ChainSafe/sygma-core/store" + "github.com/ChainSafe/chainbridge-core/config/chain" + "github.com/ChainSafe/chainbridge-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/store" "github.com/rs/zerolog/log" ) diff --git a/chains/evm/listener/listener_test.go b/chains/evm/listener/listener_test.go index d28bbb6b..c4787475 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/sygma-core/chains/evm/calls/events" - "github.com/ChainSafe/sygma-core/chains/evm/listener" - "github.com/ChainSafe/sygma-core/relayer/message" + "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/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" diff --git a/chains/evm/listener/mock/listener.go b/chains/evm/listener/mock/listener.go index 534eece1..342315bd 100644 --- a/chains/evm/listener/mock/listener.go +++ b/chains/evm/listener/mock/listener.go @@ -9,9 +9,9 @@ import ( big "math/big" reflect "reflect" - events "github.com/ChainSafe/sygma-core/chains/evm/calls/events" - message "github.com/ChainSafe/sygma-core/relayer/message" - types "github.com/ChainSafe/sygma-core/types" + events "github.com/ChainSafe/chainbridge-core/chains/evm/calls/events" + message "github.com/ChainSafe/chainbridge-core/relayer/message" + types "github.com/ChainSafe/chainbridge-core/types" common "github.com/ethereum/go-ethereum/common" gomock "github.com/golang/mock/gomock" ) diff --git a/config/chain/config.go b/config/chain/config.go index 3e5434dd..f440d041 100644 --- a/config/chain/config.go +++ b/config/chain/config.go @@ -3,7 +3,7 @@ package chain import ( "fmt" - "github.com/ChainSafe/sygma-core/flags" + "github.com/ChainSafe/chainbridge-core/flags" "github.com/spf13/viper" ) diff --git a/config/chain/evm_test.go b/config/chain/evm_test.go index 2705c506..4b25920d 100644 --- a/config/chain/evm_test.go +++ b/config/chain/evm_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/ChainSafe/sygma-core/config/chain" + "github.com/ChainSafe/chainbridge-core/config/chain" "github.com/stretchr/testify/suite" ) diff --git a/config/config.go b/config/config.go index e20d6456..db55907c 100644 --- a/config/config.go +++ b/config/config.go @@ -3,7 +3,7 @@ package config import ( "fmt" - "github.com/ChainSafe/sygma-core/config/relayer" + "github.com/ChainSafe/chainbridge-core/config/relayer" "github.com/creasty/defaults" "github.com/spf13/viper" ) diff --git a/config/config_test.go b/config/config_test.go index bed85e78..a6aaba15 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "github.com/ChainSafe/sygma-core/config" - "github.com/ChainSafe/sygma-core/config/relayer" + "github.com/ChainSafe/chainbridge-core/config" + "github.com/ChainSafe/chainbridge-core/config/relayer" "github.com/stretchr/testify/suite" ) diff --git a/e2e/dummy/gas-pricer.go b/e2e/dummy/gas-pricer.go index 208ca588..290fba12 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/sygma-core/chains/evm/calls/evmgaspricer" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmgaspricer" ) type GasPricer interface { diff --git a/e2e/evm/evm_test.go b/e2e/evm/evm_test.go index 07df9330..cd630503 100644 --- a/e2e/evm/evm_test.go +++ b/e2e/evm/evm_test.go @@ -5,22 +5,22 @@ import ( "math/big" "testing" - "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" + "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" substrateTypes "github.com/centrifuge/go-substrate-rpc-client/types" "github.com/ethereum/go-ethereum/common" - "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/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/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/core/types" diff --git a/e2e/evm/util.go b/e2e/evm/util.go index aa5df1b8..17a9a5f4 100644 --- a/e2e/evm/util.go +++ b/e2e/evm/util.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/ChainSafe/sygma-core/chains/evm/calls/consts" - "github.com/ChainSafe/sygma-core/chains/evm/calls/events" + "github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts" + "github.com/ChainSafe/chainbridge-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 25f74f0f..0bafbe92 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/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/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/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 b2b1da2d..97e6c680 100644 --- a/example/cmd/cmd.go +++ b/example/cmd/cmd.go @@ -4,10 +4,10 @@ package cmd import ( - 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" + 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" "github.com/rs/zerolog/log" "github.com/spf13/cobra" ) diff --git a/example/main.go b/example/main.go index fd1a36fb..04cd5184 100644 --- a/example/main.go +++ b/example/main.go @@ -4,7 +4,7 @@ package main import ( - "github.com/ChainSafe/sygma-core/example/cmd" + "github.com/ChainSafe/chainbridge-core/example/cmd" ) func main() { diff --git a/go.mod b/go.mod index 421e168e..7dfdfad4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ChainSafe/sygma-core +module github.com/ChainSafe/chainbridge-core go 1.17 @@ -13,7 +13,6 @@ require ( github.com/spf13/cobra v1.2.1 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.9.0 - github.com/status-im/keycard-go v0.0.0-20211004132608-c32310e39b86 github.com/stretchr/testify v1.7.0 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.24.0 @@ -25,6 +24,8 @@ require ( golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 ) +require github.com/status-im/keycard-go v0.0.0-20211004132608-c32310e39b86 // indirect + require ( github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect github.com/VictoriaMetrics/fastcache v1.6.0 // indirect diff --git a/keystore/decrypt.go b/keystore/decrypt.go index ed449098..9fca39b6 100644 --- a/keystore/decrypt.go +++ b/keystore/decrypt.go @@ -10,9 +10,9 @@ import ( "io/ioutil" "path/filepath" - "github.com/ChainSafe/sygma-core/crypto" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/crypto/sr25519" + "github.com/ChainSafe/chainbridge-core/crypto" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 72a33bdd..0962feca 100644 --- a/keystore/encrypt.go +++ b/keystore/encrypt.go @@ -14,9 +14,9 @@ import ( "os" "syscall" - "github.com/ChainSafe/sygma-core/crypto" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/crypto/sr25519" + "github.com/ChainSafe/chainbridge-core/crypto" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-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 ea8cf4d5..c3cc5fff 100644 --- a/keystore/encrypt_test.go +++ b/keystore/encrypt_test.go @@ -11,8 +11,8 @@ import ( "reflect" "testing" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/crypto/sr25519" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-core/crypto/sr25519" ) func TestEncryptAndDecrypt(t *testing.T) { diff --git a/keystore/keyring.go b/keystore/keyring.go index 6f88c89d..9dcdf584 100644 --- a/keystore/keyring.go +++ b/keystore/keyring.go @@ -6,9 +6,9 @@ package keystore import ( "fmt" - "github.com/ChainSafe/sygma-core/crypto" - "github.com/ChainSafe/sygma-core/crypto/secp256k1" - "github.com/ChainSafe/sygma-core/crypto/sr25519" + "github.com/ChainSafe/chainbridge-core/crypto" + "github.com/ChainSafe/chainbridge-core/crypto/secp256k1" + "github.com/ChainSafe/chainbridge-core/crypto/sr25519" "github.com/centrifuge/go-substrate-rpc-client/signature" ) diff --git a/keystore/keystore.go b/keystore/keystore.go index 76381018..5a93891c 100644 --- a/keystore/keystore.go +++ b/keystore/keystore.go @@ -29,7 +29,7 @@ import ( "fmt" "os" - "github.com/ChainSafe/sygma-core/crypto" + "github.com/ChainSafe/chainbridge-core/crypto" ) const EnvPassword = "KEYSTORE_PASSWORD" diff --git a/opentelemetry/opentelemetry.go b/opentelemetry/opentelemetry.go index 1667a539..dc63f976 100644 --- a/opentelemetry/opentelemetry.go +++ b/opentelemetry/opentelemetry.go @@ -4,7 +4,7 @@ import ( "context" "net/url" - "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/chainbridge-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 de2e2eb6..0a719135 100644 --- a/relayer/message/message.go +++ b/relayer/message/message.go @@ -6,7 +6,7 @@ package message import ( "math/big" - "github.com/ChainSafe/sygma-core/types" + "github.com/ChainSafe/chainbridge-core/types" ) type TransferType string diff --git a/relayer/mock/relayer.go b/relayer/mock/relayer.go index 69561a7d..a93c3d75 100644 --- a/relayer/mock/relayer.go +++ b/relayer/mock/relayer.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - message "github.com/ChainSafe/sygma-core/relayer/message" + message "github.com/ChainSafe/chainbridge-core/relayer/message" gomock "github.com/golang/mock/gomock" ) diff --git a/relayer/relayer.go b/relayer/relayer.go index ed75eead..912bf66d 100644 --- a/relayer/relayer.go +++ b/relayer/relayer.go @@ -7,7 +7,7 @@ import ( "context" "fmt" - "github.com/ChainSafe/sygma-core/relayer/message" + "github.com/ChainSafe/chainbridge-core/relayer/message" "github.com/rs/zerolog/log" ) diff --git a/relayer/relayer_test.go b/relayer/relayer_test.go index 12a31d05..c02db563 100644 --- a/relayer/relayer_test.go +++ b/relayer/relayer_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/sygma-core/relayer/message" - mock_relayer "github.com/ChainSafe/sygma-core/relayer/mock" + "github.com/ChainSafe/chainbridge-core/relayer/message" + mock_relayer "github.com/ChainSafe/chainbridge-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 a3a9cb96..dbbf11c0 100644 --- a/store/blockstore_test.go +++ b/store/blockstore_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/sygma-core/store" - mock_store "github.com/ChainSafe/sygma-core/store/mock" + "github.com/ChainSafe/chainbridge-core/store" + mock_store "github.com/ChainSafe/chainbridge-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 951caecc..8ec282d6 100644 --- a/store/noncestore_test.go +++ b/store/noncestore_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - "github.com/ChainSafe/sygma-core/store" - mock_store "github.com/ChainSafe/sygma-core/store/mock" + "github.com/ChainSafe/chainbridge-core/store" + mock_store "github.com/ChainSafe/chainbridge-core/store/mock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" "github.com/syndtr/goleveldb/leveldb"