Skip to content

Commit

Permalink
update sdk and version (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode authored Jul 31, 2024
1 parent 67952ce commit 1d13054
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
9 changes: 0 additions & 9 deletions cmd/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,15 +381,6 @@ func buildDir(workspace string) (string, string, string, string, error) {
return "", "", "", "", err
}

ufileDir := filepath.Join(workspace, configs.Ufile)
if err := os.MkdirAll(ufileDir, 0755); err != nil {
return "", "", "", "", err
}
dfileDir := filepath.Join(workspace, configs.Dfile)
if err := os.MkdirAll(dfileDir, 0755); err != nil {
return "", "", "", "", err
}

//make file cache dir
fileCache := filepath.Join(workspace, configs.FILE_CACHE)
if err := os.MkdirAll(fileCache, 0755); err != nil {
Expand Down
5 changes: 1 addition & 4 deletions configs/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (
// Name space
NameSpace = Name
// version
Version = Name + " " + "v0.3.7 pre-release"
Version = Name + " " + "v0.3.7"
// description
Description = "Object storage service based on CESS network"
)
Expand All @@ -29,8 +29,5 @@ const (
//
Feedback = "feedback"
//
Ufile = "ufile"
//
Dfile = "dfile"
FILE_CACHE = "filecache"
)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.22.4

require (
github.com/CESSProject/cess-go-sdk v0.6.0
github.com/CESSProject/cess-go-sdk v0.6.1
github.com/CESSProject/cess-go-tools v0.2.12
github.com/CESSProject/go-keyring v0.0.0-20220614131247-ee3a8da30fde
github.com/CESSProject/p2p-go v0.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/CESSProject/cess-go-sdk v0.6.0 h1:QinJuZeDrBRYgkSN34NgR5u30vg5DS8zyfwYiIKl38Y=
github.com/CESSProject/cess-go-sdk v0.6.0/go.mod h1:L5IDeS2ydsdgtdybzhWk9fIdBsDkU2XrQyo5mrWHkdQ=
github.com/CESSProject/cess-go-sdk v0.6.1 h1:ZjrpoSjBbLv+Eqpsq03qEQkehL3hG/AQuVPEk7cUah0=
github.com/CESSProject/cess-go-sdk v0.6.1/go.mod h1:L5IDeS2ydsdgtdybzhWk9fIdBsDkU2XrQyo5mrWHkdQ=
github.com/CESSProject/cess-go-tools v0.2.12 h1:VqghaGaWgL+JelKXCXaABj4rCDFFRdbhiXifyMpkjqo=
github.com/CESSProject/cess-go-tools v0.2.12/go.mod h1:ov1vSPbTlBSRWl3XqsibrKrK9smIq2hWeGs0TEhactc=
github.com/CESSProject/go-keyring v0.0.0-20220614131247-ee3a8da30fde h1:5MDRjjtg6PEhqyVjupwaapN96cOZiddOGAYwKQeaTu0=
Expand Down

0 comments on commit 1d13054

Please sign in to comment.