Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This repository currently supports the following platforms:
import (
"fmt"

"github.com/0chain/gosdk/zcncore"
"github.com/0chain/gosdk_common/zcncore"
)

func main() {
Expand Down Expand Up @@ -177,9 +177,9 @@ To run all the unit tests in `gosdk`: `go test github.com/0chain/gosdk/zboxcore/
$ go test ./...
```

To run all the unit tests in `bls0chain_test.go`, run this command from $TOP: `go test github.com/0chain/gosdk/core/zcncrypto -v`
To run all the unit tests in `bls0chain_test.go`, run this command from $TOP: `go test github.com/0chain/gosdk_common/core/zcncrypto -v`

To run a specific unit test in `bls0chain_test.go`, such as `TestSignatureScheme`, run: `go test github.com/0chain/gosdk/core/zcncrypto -v -run TestSignatureScheme`
To run a specific unit test in `bls0chain_test.go`, such as `TestSignatureScheme`, run: `go test github.com/0chain/gosdk_common/core/zcncrypto -v -run TestSignatureScheme`

To run the coverage test in `gosdk`:

Expand Down
3 changes: 2 additions & 1 deletion _util/build_mobile.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0CHAIN_PATH := github.com/0chain
GOSDK_PATH := $(0CHAIN_PATH)/gosdk
GOSDK_COMMON_PATH = $(0CHAIN_PATH)/gosdk_common
OUTDIR := $(ROOT_DIR)/out
IOSMOBILESDKDIR := $(OUTDIR)/iossdk
ANDROIDMOBILESDKDIR := $(OUTDIR)/androidsdk
Expand All @@ -9,7 +10,7 @@ ANDROIDBINNAME := zcncore.aar
MINIOSVERSIONMIN := "-miphoneos-version-min=7.0=7.0 -mios-version-min=7.0 -mios-simulator-version-min=7.0"
MINMACOSVERSIONMIN := "-mmacosx-version-min=10.12"

PKG_EXPORTS := $(GOSDK_PATH)/zcncore $(GOSDK_PATH)/core/common $(GOSDK_PATH)/mobilesdk/sdk $(GOSDK_PATH)/mobilesdk/zbox $(GOSDK_PATH)/mobilesdk/zboxapi $(GOSDK_PATH)/mobilesdk/zcn
PKG_EXPORTS := $(GOSDK_COMMON_PATH)/zcncore $(GOSDK_COMMON_PATH)/core/common $(GOSDK_PATH)/mobilesdk/sdk $(GOSDK_PATH)/mobilesdk/zbox $(GOSDK_PATH)/mobilesdk/zboxapi $(GOSDK_PATH)/mobilesdk/zcn

.PHONY: setup-gomobile build-iossimulator build-ios build-android build-android-debug

Expand Down
27 changes: 0 additions & 27 deletions constants/context_key.go

This file was deleted.

37 changes: 0 additions & 37 deletions constants/errors.go

This file was deleted.

24 changes: 0 additions & 24 deletions constants/files.go

This file was deleted.

13 changes: 0 additions & 13 deletions constants/signscheme.go

This file was deleted.

95 changes: 0 additions & 95 deletions core/block/block.go

This file was deleted.

71 changes: 0 additions & 71 deletions core/block/magic_block_entity.go

This file was deleted.

2 changes: 0 additions & 2 deletions core/build.go

This file was deleted.

58 changes: 0 additions & 58 deletions core/client/cache.go

This file was deleted.

Loading
Loading