diff --git a/Makefile b/Makefile index 2e82bd5..ad1c547 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ prepare: ## make test: Run go unittest test: go generate ./... - @$(GO) test ${TEST_PKGS} -race -count=1 + @$(GO) test ${TEST_PKGS} -count=1 ## make test-coverage: Test project with cover test-coverage: diff --git a/README.md b/README.md index 7ab4502..04d177b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -![BitXHub-Logo](https://raw.githubusercontent.com/meshplus/bitxhub/master/docs/logo.png) +

+ +

BitXHub is committed to building a scalable, robust, and pluggable inter-blockchain reference implementation, that can provide reliable technical support for the formation @@ -16,7 +18,7 @@ See [Quick start](https://github.com/meshplus/bitxhub/wiki/Quick-start) in the w ## Dependencies -This project uses [golang](https://golang.org/), [tmux](https://github.com/tmux/tmux/wiki) and libc6. Go check them out if you don't have them locally installed. +This project uses [golang](https://golang.org/) and [tmux](https://github.com/tmux/tmux/wiki). Go check them out if you don't have them locally installed. This project also depends on [packr](https://github.com/gobuffalo/packr/), [golangci-lint](github.com/golangci/golangci-lint), [gomock](github.com/golang/mock) and [mockgen](github.com/golang/mock), Installing them by follow command: @@ -24,15 +26,21 @@ This project also depends on [packr](https://github.com/gobuffalo/packr/), [gola bash scripts/prepare.sh ``` -## Install +## Usage -Installation guide can be found in wiki. +Usage guide can be found in [wiki](https://github.com/meshplus/bitxhub/wiki/%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3). ## Contributing See [CONTRIBUTING.md](https://github.com/meshplus/bitxhub/blob/master/CONTRIBUTING.md). +## Contact +Email: bitxhub@hyperchain.cn + +Wechat: + + ## License diff --git a/docs/logo.png b/docs/logo.png index 215f661..a93c5a3 100644 Binary files a/docs/logo.png and b/docs/logo.png differ diff --git a/docs/wechat.png b/docs/wechat.png new file mode 100644 index 0000000..c6b2827 Binary files /dev/null and b/docs/wechat.png differ diff --git a/internal/executor/executor_test.go b/internal/executor/executor_test.go index 1d91907..15e7fc8 100644 --- a/internal/executor/executor_test.go +++ b/internal/executor/executor_test.go @@ -269,9 +269,9 @@ func mockTxData(t *testing.T, dataType pb.TransactionData_Type, vmType pb.Transa func mockIBTP(t *testing.T, index uint64, typ pb.IBTP_Type) *pb.IBTP { ibtppd, err := json.Marshal(pb.Payload{ - FID: from, - TID: from, - Func: "set", + SrcContractId: from, + DstContractId: from, + Func: "set", }) assert.Nil(t, err) return &pb.IBTP{