Skip to content

Commit

Permalink
rename sdk-go to cess-go-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode committed Jun 14, 2023
1 parent d86d259 commit e20eeef
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 37 deletions.
6 changes: 3 additions & 3 deletions chain/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"log"
"time"

"github.com/CESSProject/sdk-go/core/event"
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/event"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
6 changes: 3 additions & 3 deletions chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"sync/atomic"
"time"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/sdk"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/sdk"
"github.com/CESSProject/cess-go-sdk/core/utils"
gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4"
"github.com/centrifuge/go-substrate-rpc-client/v4/signature"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
Expand Down
4 changes: 2 additions & 2 deletions chain/deoss.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package chain
import (
"log"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/mr-tron/base58"
Expand Down
8 changes: 4 additions & 4 deletions chain/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
"os"
"path/filepath"

"github.com/CESSProject/sdk-go/core/erasure"
"github.com/CESSProject/sdk-go/core/hashtree"
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/erasure"
"github.com/CESSProject/cess-go-sdk/core/hashtree"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/pkg/errors"
)
Expand Down
6 changes: 3 additions & 3 deletions chain/fileBank.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"log"
"time"

"github.com/CESSProject/sdk-go/core/event"
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/event"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
6 changes: 3 additions & 3 deletions chain/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"strconv"
"time"

"github.com/CESSProject/sdk-go/core/event"
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/event"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
6 changes: 3 additions & 3 deletions chain/sminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"math/big"
"time"

"github.com/CESSProject/sdk-go/core/event"
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/event"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions chain/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package chain
import (
"log"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/pkg/errors"
)
Expand Down
4 changes: 2 additions & 2 deletions chain/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"log"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions chain/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package chain
import (
"log"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions chain/tee.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"log"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/go-substrate-rpc-client/v4/types/codec"
"github.com/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"time"

"github.com/CESSProject/sdk-go/chain"
"github.com/CESSProject/sdk-go/core/sdk"
"github.com/CESSProject/cess-go-sdk/chain"
"github.com/CESSProject/cess-go-sdk/core/sdk"
)

// Config describes a set of settings for a client
Expand Down
4 changes: 2 additions & 2 deletions core/erasure/rs.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"os"
"path/filepath"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/sdk-go/core/utils"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/utils"
"github.com/klauspost/reedsolomon"
)

Expand Down
2 changes: 1 addition & 1 deletion core/event/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package event

import (
"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/pattern"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
)

Expand Down
2 changes: 1 addition & 1 deletion core/sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package sdk
import (
"math/big"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/pattern"
gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
)
Expand Down
2 changes: 1 addition & 1 deletion core/utils/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"regexp"
"strings"

"github.com/CESSProject/sdk-go/core/pattern"
"github.com/CESSProject/cess-go-sdk/core/pattern"
)

func CheckBucketName(name string) bool {
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module github.com/CESSProject/sdk-go
module github.com/CESSProject/cess-go-sdk

go 1.19

require (
github.com/CESSProject/p2p-go v0.0.33
github.com/CESSProject/sdk-go v0.0.65
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/cbergoon/merkletree v0.2.0
github.com/centrifuge/go-substrate-rpc-client/v4 v4.0.12
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/CESSProject/p2p-go v0.0.33 h1:2EXMEa1RAFHWfRTd5O6pyKQMBIbpsedIJvlYAFX/Qp0=
github.com/CESSProject/p2p-go v0.0.33/go.mod h1:MmuZ2UfXnEJMZMhOCC4Ec5QQUJCT7j2yg3Xk/oZ16yw=
github.com/CESSProject/sdk-go v0.0.65 h1:T5AuqELUOR4CGaKbQKloMY2aweephXLSFoYe2aog7ug=
github.com/CESSProject/sdk-go v0.0.65/go.mod h1:7mO0iqpCVSnW07Dof9afmBMsHWBOLEfBnnONF2BXjNw=
github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM=
github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
Expand Down

0 comments on commit e20eeef

Please sign in to comment.