Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit b25168d

Browse files
authored
Update module naming (#318)
* revert module name to chainbridge-core * update README file
1 parent 76ce4c8 commit b25168d

File tree

134 files changed

+511
-510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+511
-510
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ genmocks:
3737
mockgen -destination=./relayer/mock/relayer.go -source=./relayer/relayer.go
3838
mockgen -source=chains/evm/calls/calls.go -destination=chains/evm/calls/mock/calls.go
3939
mockgen -source=chains/evm/calls/transactor/transact.go -destination=chains/evm/calls/transactor/mock/transact.go
40-
mockgen -destination=chains/evm/executor/mock/voter.go github.com/ChainSafe/sygma-core/chains/evm/executor ChainClient,MessageHandler,BridgeContract
40+
mockgen -destination=chains/evm/executor/mock/voter.go github.com/ChainSafe/chainbridge-core/chains/evm/executor ChainClient,MessageHandler,BridgeContract
4141
mockgen -destination=./chains/evm/calls/transactor/itx/mock/itx.go -source=./chains/evm/calls/transactor/itx/itx.go
4242
mockgen -destination=./chains/evm/calls/transactor/itx//mock/minimalForwarder.go -source=./chains/evm/calls/transactor/itx/minimalForwarder.go
4343
mockgen -destination=chains/evm/cli/bridge/mock/vote-proposal.go -source=./chains/evm/cli/bridge/vote-proposal.go

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Sygma Core
1+
# Chainbridge Core
22

33
<a href="https://discord.gg/ykXsJKfhgq">
44
<img alt="discord" src="https://img.shields.io/discord/593655374469660673?label=Discord&style=for-the-badge&logo=discord&logoColor=white" />
@@ -12,7 +12,7 @@
1212

1313
&nbsp;
1414

15-
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.
15+
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.
1616

1717
&nbsp;
1818

chains/evm/calls/calls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/hex"
66
"math/big"
77

8-
"github.com/ChainSafe/sygma-core/chains/evm/calls/evmclient"
8+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/evmclient"
99
"github.com/ethereum/go-ethereum"
1010
"github.com/ethereum/go-ethereum/common"
1111
"github.com/ethereum/go-ethereum/core/types"

chains/evm/calls/contracts/bridge/bridge.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ import (
66
"strconv"
77
"strings"
88

9-
"github.com/ChainSafe/sygma-core/chains/evm/calls"
10-
"github.com/ChainSafe/sygma-core/chains/evm/calls/consts"
11-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts"
12-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/deposit"
13-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
9+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls"
10+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts"
11+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts"
12+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/deposit"
13+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
1414
"github.com/ethereum/go-ethereum/common/hexutil"
1515

16-
"github.com/ChainSafe/sygma-core/chains/evm/executor/proposal"
17-
"github.com/ChainSafe/sygma-core/relayer/message"
18-
"github.com/ChainSafe/sygma-core/types"
16+
"github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal"
17+
"github.com/ChainSafe/chainbridge-core/relayer/message"
18+
"github.com/ChainSafe/chainbridge-core/types"
1919
"github.com/ethereum/go-ethereum/accounts/abi"
2020
"github.com/ethereum/go-ethereum/common"
2121
"github.com/rs/zerolog/log"

chains/evm/calls/contracts/bridge/bridge_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import (
66
"math/big"
77
"testing"
88

9-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/bridge"
10-
mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock"
11-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
12-
13-
mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock"
14-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/signAndSend"
15-
"github.com/ChainSafe/sygma-core/chains/evm/executor/proposal"
16-
"github.com/ChainSafe/sygma-core/relayer/message"
9+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/bridge"
10+
mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock"
11+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
12+
13+
mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock"
14+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/signAndSend"
15+
"github.com/ChainSafe/chainbridge-core/chains/evm/executor/proposal"
16+
"github.com/ChainSafe/chainbridge-core/relayer/message"
1717
"github.com/ethereum/go-ethereum/common"
1818
"github.com/golang/mock/gomock"
1919
"github.com/stretchr/testify/suite"

chains/evm/calls/contracts/centrifuge/assetStore.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
package centrifuge
22

33
import (
4-
"github.com/ChainSafe/sygma-core/chains/evm/calls"
5-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts"
6-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
4+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls"
5+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts"
6+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
77
"github.com/ethereum/go-ethereum/common/hexutil"
88
"github.com/rs/zerolog/log"
99
"strings"
1010

11-
"github.com/ChainSafe/sygma-core/chains/evm/calls/consts"
11+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts"
1212
"github.com/ethereum/go-ethereum/accounts/abi"
1313
"github.com/ethereum/go-ethereum/common"
1414
)

chains/evm/calls/contracts/centrifuge/assetStore_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package centrifuge_test
22

33
import (
44
"errors"
5-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts/centrifuge"
6-
mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock"
7-
mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock"
5+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts/centrifuge"
6+
mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock"
7+
mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock"
88
"testing"
99

1010
"github.com/ethereum/go-ethereum/common"

chains/evm/calls/contracts/contract.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package contracts
33
import (
44
"context"
55
"fmt"
6-
"github.com/ChainSafe/sygma-core/chains/evm/calls"
7-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
6+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls"
7+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
88
"github.com/ethereum/go-ethereum"
99
"github.com/ethereum/go-ethereum/accounts/abi"
1010
"github.com/ethereum/go-ethereum/common"

chains/evm/calls/contracts/contract_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package contracts
22

33
import (
44
"errors"
5-
"github.com/ChainSafe/sygma-core/chains/evm/calls/consts"
6-
mock_calls "github.com/ChainSafe/sygma-core/chains/evm/calls/mock"
7-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
8-
mock_transactor "github.com/ChainSafe/sygma-core/chains/evm/calls/transactor/mock"
5+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts"
6+
mock_calls "github.com/ChainSafe/chainbridge-core/chains/evm/calls/mock"
7+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
8+
mock_transactor "github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor/mock"
99
"github.com/ethereum/go-ethereum/accounts/abi"
1010
"github.com/ethereum/go-ethereum/common"
1111
"github.com/golang/mock/gomock"

chains/evm/calls/contracts/erc20/erc20.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package erc20
22

33
import (
4-
"github.com/ChainSafe/sygma-core/chains/evm/calls"
5-
"github.com/ChainSafe/sygma-core/chains/evm/calls/contracts"
6-
"github.com/ChainSafe/sygma-core/chains/evm/calls/transactor"
4+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls"
5+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/contracts"
6+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/transactor"
77
"math/big"
88
"strings"
99

10-
"github.com/ChainSafe/sygma-core/chains/evm/calls/consts"
10+
"github.com/ChainSafe/chainbridge-core/chains/evm/calls/consts"
1111
"github.com/ethereum/go-ethereum/accounts/abi"
1212
"github.com/ethereum/go-ethereum/common"
1313
"github.com/rs/zerolog/log"

0 commit comments

Comments
 (0)