From 74e4bd53dc549074ceedbf812a82e76252e51281 Mon Sep 17 00:00:00 2001 From: DavidLiu Date: Thu, 24 Mar 2022 10:29:22 +0800 Subject: [PATCH] after alpha merge clean up Signed-off-by: DavidLiu --- .github/workflows/release.yml | 10 ----- CONTRIBUTING.md | 11 +++++- README-zh.md | 4 +- README.md | 37 ++++++++++--------- azure-pipelines.yml | 2 - cmd/tape/main.go | 4 +- e2e/TrafficAndObserver_test.go | 4 +- e2e/bad_test.go | 2 +- e2e/commitOnly_test.go | 4 +- e2e/e2e_suite_test.go | 2 +- e2e/endorsementOnly_test.go | 4 +- e2e/multi_peer_test.go | 4 +- e2e/single_peer_test.go | 4 +- go.mod | 2 - go.sum | 9 +---- pkg/infra/basic/client_test.go | 2 +- pkg/infra/basic/config.go | 4 +- pkg/infra/basic/config_test.go | 3 +- pkg/infra/basic/crypto.go | 4 +- pkg/infra/cmdImpl/fullProcess.go | 4 +- pkg/infra/cmdImpl/processTemplate.go | 6 +-- pkg/infra/interface.go | 2 +- pkg/infra/observer/benchmark_test.go | 10 ++--- pkg/infra/observer/block_collector.go | 6 +-- pkg/infra/observer/block_collector_test.go | 6 +-- pkg/infra/observer/commitObserver.go | 8 ++-- pkg/infra/observer/endorsementObersver.go | 2 +- .../observer/endorsementObersver_test.go | 4 +- pkg/infra/observer/observer.go | 6 +-- pkg/infra/observer/observerFactory.go | 4 +- pkg/infra/observer/observer_test.go | 8 ++-- pkg/infra/trafficGenerator/assembler.go | 4 +- pkg/infra/trafficGenerator/benchmark_test.go | 6 +-- pkg/infra/trafficGenerator/broadcaster.go | 4 +- .../trafficGenerator/fackEnvelopGenerator.go | 8 ++-- .../fackEnvelopGenerator_test.go | 7 ++-- .../trafficGenerator/generatorFactory.go | 4 +- pkg/infra/trafficGenerator/initiator.go | 4 +- pkg/infra/trafficGenerator/initiator_test.go | 6 +-- pkg/infra/trafficGenerator/intgerator.go | 4 +- pkg/infra/trafficGenerator/policyHandler.go | 2 +- .../trafficGenerator/policyHandler_test.go | 4 +- pkg/infra/trafficGenerator/proposal.go | 7 ++-- pkg/infra/trafficGenerator/proposal_test.go | 2 +- pkg/infra/trafficGenerator/proposer.go | 2 +- pkg/infra/trafficGenerator/proposer_test.go | 6 +-- 46 files changed, 121 insertions(+), 131 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11beb657..967f0eee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,6 @@ on: push: branches: - "master" - - "alpha" tags: - "v*" workflow_dispatch: @@ -36,16 +35,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=edge,branch=alpha type=ref,event=tag - - if: github.ref == 'refs/heads/alpha' - name: Build and push Docker image - uses: docker/build-push-action@master - with: - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - if: github.ref == 'refs/heads/master' name: Build and push Docker image uses: docker/build-push-action@master diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0dbb278..b14432e9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,6 @@ # How to Contribute 如何贡献 +Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. +## Issue 如果你希望为 Tape 提交新的特性或者遇到了任何 Bug,欢迎在 github 仓库中开启新的 [issue](https://github.com/Hyperledger-TWGC/tape/issues),同时也欢迎提交 [pull request](https://github.com/Hyperledger-TWGC/tape/pulls)。 @@ -12,7 +14,14 @@ export TAPE_LOGLEVEL=debug ``` If you are reporting an issue, please generously turn on debug log with `export TAPE_LOGLEVEL=debug` and paste log in the issue - +## Pull request +1. Fork the Project +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) +3. Commit your Changes (`git commit -s`) +4. Push to the Branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request + +## Others 如果您希望贡献文档翻译,或者学习教程,也欢迎和[维护者](MAINTAINERS.md)联系。 Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License. \ No newline at end of file diff --git a/README-zh.md b/README-zh.md index 801dac8d..97580ef1 100644 --- a/README-zh.md +++ b/README-zh.md @@ -3,7 +3,9 @@ Tape 是一款轻量级 Hyperledger Fabric 性能测试工具 ## 项目背景 -Tape 项目原名 Stupid,最初由 [TWGC(Technical Working Group China,超级账本中国技术工作组)](https://wiki.hyperledger.org/display/TWGC)成员郭剑南开发,目的是提供一款轻量级、可以快速测试 Hyperledger Fabric TPS 值的工具。Stupid 取自 [KISS](https://en.wikipedia.org/wiki/KISS_principle) 原则 Keep it Simple and Stupid,目前已正式更名为 Tape,字面含义卷尺,寓意测量,测试。目前 Tape 已贡献到超级账本中国技术社区,由 [TWGC 性能优化小组](https://github.com/Hyperledger-TWGC/fabric-performance-wiki)负责维护。 +Tape 项目原名 Stupid,最初由 超级账本中国技术工作组成员[郭剑南](https://github.com/guoger)开发,目的是提供一款轻量级、可以快速测试 Hyperledger Fabric TPS 值的工具。Stupid 取自 [KISS](https://en.wikipedia.org/wiki/KISS_principle) 原则 Keep it Simple and Stupid,目前已正式更名为 Tape,字面含义卷尺,寓意测量,测试。 + +目前 Tape 已贡献到超级账本中国技术社区,由 [TWGC 性能优化小组](https://github.com/Hyperledger-TWGC/fabric-performance-wiki)负责维护。 ## 项目特点 diff --git a/README.md b/README.md index e551501c..2a293045 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,17 @@ -# Tape : Aplha +# Tape +
+ +
-## A light-weight tool to test performance of Hyperledger Fabric -English/[中文](README-zh.md) +A light-weight tool to test performance of Hyperledger Fabric + +It is used to perform super simple performance test. +Our main focus is to make sure that *tape will not be the bottleneck of performance test* + +README in English/[中文](README-zh.md) ---- -[**Sample run of Tape**](https://www.bilibili.com/video/BV1k5411L79) ---- ## Table Of Content * [Prerequisites](#prerequisites) @@ -24,12 +28,16 @@ English/[中文](README-zh.md) You could get `tape` in three ways: 1. Download binary: get release tar from [release page](https://github.com/hyperledger-twgc/tape/releases), and extract `tape` binary from it 2. Build from source: clone this repo and run `make tape` at root dir. Go1.14 or higher is required. `tape` binary will be available at project root directory. -3. Pull docker image: `docker pull ghcr.io/hyperledger-twgc/tape` or `docker pull ghcr.io/hyperledger-twgc/tape:alpha` +3. Pull docker image: `docker pull ghcr.io/hyperledger-twgc/tape` --- ## [Configure](docs/configfile.md) ## Usage +--- +[**Sample run of Tape**](https://www.bilibili.com/video/BV1k5411L79) + +--- ### Binary @@ -60,15 +68,8 @@ docker run -v $PWD:/tmp guoger/tape tape endorsementOnly -c $CONFIG_FILE -n 4000 ``` --- -## Contributing -Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. - -1. Fork the Project -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) -3. Commit your Changes (`git commit -s`) -4. Push to the Branch (`git push origin feature/AmazingFeature`) -5. Open a Pull Request -6. [How to Contribute](CONTRIBUTING.md) +## Contribute +[How to Contribute](CONTRIBUTING.md) --- ## License @@ -80,5 +81,7 @@ Hyperledger Project source code files are made available under the Apache Licens * [Maintainers](MAINTAINERS.md) --- -### THANKS FOR CHOOSING +## Credits + +Icons made by Good Ware from www.flaticon.com diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 341c07c1..2323be26 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,6 @@ trigger: - master - - alpha schedules: - cron: "0 0 * * 0" # https://crontab.guru/#0_0_*_*_0 @@ -13,7 +12,6 @@ schedules: branches: include: - master - - alpha always: true variables: diff --git a/cmd/tape/main.go b/cmd/tape/main.go index 2d61225d..6a5fcedf 100644 --- a/cmd/tape/main.go +++ b/cmd/tape/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/cmdImpl" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/cmdImpl" "github.com/pkg/errors" log "github.com/sirupsen/logrus" diff --git a/e2e/TrafficAndObserver_test.go b/e2e/TrafficAndObserver_test.go index 44f8bf72..baa1f270 100644 --- a/e2e/TrafficAndObserver_test.go +++ b/e2e/TrafficAndObserver_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/e2e/bad_test.go b/e2e/bad_test.go index 79c59b49..777d2762 100644 --- a/e2e/bad_test.go +++ b/e2e/bad_test.go @@ -4,7 +4,7 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gbytes" diff --git a/e2e/commitOnly_test.go b/e2e/commitOnly_test.go index 3952a2a1..b1180577 100644 --- a/e2e/commitOnly_test.go +++ b/e2e/commitOnly_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/e2e/e2e_suite_test.go b/e2e/e2e_suite_test.go index 87e904fe..59d5a953 100644 --- a/e2e/e2e_suite_test.go +++ b/e2e/e2e_suite_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/Hyperledger-TWGC/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/onsi/gomega/gexec" diff --git a/e2e/endorsementOnly_test.go b/e2e/endorsementOnly_test.go index 87264351..1f1183d3 100644 --- a/e2e/endorsementOnly_test.go +++ b/e2e/endorsementOnly_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/e2e/multi_peer_test.go b/e2e/multi_peer_test.go index 950d9811..6222efc1 100644 --- a/e2e/multi_peer_test.go +++ b/e2e/multi_peer_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/e2e/single_peer_test.go b/e2e/single_peer_test.go index fddecb9f..5c8fb2a5 100644 --- a/e2e/single_peer_test.go +++ b/e2e/single_peer_test.go @@ -6,8 +6,8 @@ import ( "io/ioutil" "os/exec" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/go.mod b/go.mod index 6af5875c..f89e53df 100644 --- a/go.mod +++ b/go.mod @@ -24,9 +24,7 @@ require ( github.com/uber/jaeger-client-go v2.29.1+incompatible github.com/uber/jaeger-lib v2.4.1+incompatible // indirect golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba - golang.org/x/tools v0.1.2 // indirect google.golang.org/grpc v1.38.0 gopkg.in/alecthomas/kingpin.v2 v2.2.6 gopkg.in/yaml.v2 v2.4.0 - honnef.co/go/tools v0.0.1-2020.1.4 // indirect ) diff --git a/go.sum b/go.sum index 0296d22c..6a5cfa43 100644 --- a/go.sum +++ b/go.sum @@ -37,7 +37,6 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= @@ -306,7 +305,6 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -541,7 +539,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= @@ -553,7 +550,6 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -617,6 +613,7 @@ golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -627,6 +624,7 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -760,7 +758,6 @@ golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.2 h1:kRBLX7v7Af8W7Gdbbc908OJcdgtK8bOz9Uaj8/F1ACA= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -882,7 +879,6 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -912,7 +908,6 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/pkg/infra/basic/client_test.go b/pkg/infra/basic/client_test.go index 914762dd..86204ab8 100644 --- a/pkg/infra/basic/client_test.go +++ b/pkg/infra/basic/client_test.go @@ -3,7 +3,7 @@ package basic_test import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/pkg/infra/basic/config.go b/pkg/infra/basic/config.go index 033ee58b..56b101cd 100644 --- a/pkg/infra/basic/config.go +++ b/pkg/infra/basic/config.go @@ -4,16 +4,16 @@ import ( "crypto/ecdsa" "crypto/x509" "encoding/pem" + "github.com/opentracing/opentracing-go" "io/ioutil" "sync" - "github.com/Hyperledger-TWGC/tape/internal/fabric/bccsp/utils" + "github.com/hyperledger-twgc/tape/internal/fabric/bccsp/utils" "github.com/gogo/protobuf/proto" "github.com/hyperledger/fabric-protos-go/common" "github.com/hyperledger/fabric-protos-go/msp" "github.com/hyperledger/fabric-protos-go/peer" - "github.com/opentracing/opentracing-go" "github.com/pkg/errors" "gopkg.in/yaml.v2" ) diff --git a/pkg/infra/basic/config_test.go b/pkg/infra/basic/config_test.go index 887e0b14..601025a2 100644 --- a/pkg/infra/basic/config_test.go +++ b/pkg/infra/basic/config_test.go @@ -5,8 +5,7 @@ import ( "os" "text/template" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - + "github.com/hyperledger-twgc/tape/pkg/infra/basic" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/pkg/infra/basic/crypto.go b/pkg/infra/basic/crypto.go index 26c03141..e4d79d23 100644 --- a/pkg/infra/basic/crypto.go +++ b/pkg/infra/basic/crypto.go @@ -8,8 +8,8 @@ import ( "encoding/asn1" "math/big" - "github.com/Hyperledger-TWGC/tape/internal/fabric/bccsp/utils" - "github.com/Hyperledger-TWGC/tape/internal/fabric/common/crypto" + "github.com/hyperledger-twgc/tape/internal/fabric/bccsp/utils" + "github.com/hyperledger-twgc/tape/internal/fabric/common/crypto" "github.com/hyperledger/fabric-protos-go/common" ) diff --git a/pkg/infra/cmdImpl/fullProcess.go b/pkg/infra/cmdImpl/fullProcess.go index 8264e60b..e0b2dacf 100644 --- a/pkg/infra/cmdImpl/fullProcess.go +++ b/pkg/infra/cmdImpl/fullProcess.go @@ -7,8 +7,8 @@ import ( "syscall" "time" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/cmdImpl/processTemplate.go b/pkg/infra/cmdImpl/processTemplate.go index 89b38f45..a328cea0 100644 --- a/pkg/infra/cmdImpl/processTemplate.go +++ b/pkg/infra/cmdImpl/processTemplate.go @@ -4,9 +4,9 @@ import ( "context" "io" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/observer" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/observer" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" "github.com/opentracing/opentracing-go" log "github.com/sirupsen/logrus" diff --git a/pkg/infra/interface.go b/pkg/infra/interface.go index 069780ff..0cc9d5ec 100644 --- a/pkg/infra/interface.go +++ b/pkg/infra/interface.go @@ -3,7 +3,7 @@ package infra import ( "time" - "github.com/Hyperledger-TWGC/tape/internal/fabric/protoutil" + "github.com/hyperledger-twgc/tape/internal/fabric/protoutil" "github.com/hyperledger/fabric-protos-go/common" ) diff --git a/pkg/infra/observer/benchmark_test.go b/pkg/infra/observer/benchmark_test.go index 3554b261..cc2f14da 100644 --- a/pkg/infra/observer/benchmark_test.go +++ b/pkg/infra/observer/benchmark_test.go @@ -2,16 +2,16 @@ package observer_test import ( "context" + "github.com/opentracing/opentracing-go" "testing" - "github.com/Hyperledger-TWGC/tape/e2e/mock" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/observer" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/observer" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" "github.com/google/uuid" "github.com/hyperledger/fabric-protos-go/peer" - "github.com/opentracing/opentracing-go" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/observer/block_collector.go b/pkg/infra/observer/block_collector.go index cf9862bb..3128b3da 100644 --- a/pkg/infra/observer/block_collector.go +++ b/pkg/infra/observer/block_collector.go @@ -6,9 +6,9 @@ import ( "sync" "time" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/bitmap" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/bitmap" "github.com/hyperledger/fabric-protos-go/peer" "github.com/pkg/errors" diff --git a/pkg/infra/observer/block_collector_test.go b/pkg/infra/observer/block_collector_test.go index 522d7ce2..e33e0c95 100644 --- a/pkg/infra/observer/block_collector_test.go +++ b/pkg/infra/observer/block_collector_test.go @@ -4,13 +4,11 @@ import ( "context" "sync" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/observer" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/observer" "github.com/google/uuid" "github.com/hyperledger/fabric-protos-go/peer" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/observer/commitObserver.go b/pkg/infra/observer/commitObserver.go index 568f7c61..b739a20c 100644 --- a/pkg/infra/observer/commitObserver.go +++ b/pkg/infra/observer/commitObserver.go @@ -2,16 +2,16 @@ package observer import ( "fmt" + "github.com/opentracing/opentracing-go" "math" "time" - "github.com/Hyperledger-TWGC/tape/internal/fabric/protoutil" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/internal/fabric/protoutil" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/hyperledger/fabric-protos-go/common" "github.com/hyperledger/fabric-protos-go/orderer" - "github.com/opentracing/opentracing-go" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/observer/endorsementObersver.go b/pkg/infra/observer/endorsementObersver.go index dba7463e..c987046a 100644 --- a/pkg/infra/observer/endorsementObersver.go +++ b/pkg/infra/observer/endorsementObersver.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/observer/endorsementObersver_test.go b/pkg/infra/observer/endorsementObersver_test.go index 52720cb0..20bc98bf 100644 --- a/pkg/infra/observer/endorsementObersver_test.go +++ b/pkg/infra/observer/endorsementObersver_test.go @@ -1,8 +1,8 @@ package observer_test import ( - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/observer" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/observer" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/pkg/infra/observer/observer.go b/pkg/infra/observer/observer.go index 6317de42..bd6aa942 100644 --- a/pkg/infra/observer/observer.go +++ b/pkg/infra/observer/observer.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" "github.com/hyperledger/fabric-protos-go/peer" "github.com/pkg/errors" diff --git a/pkg/infra/observer/observerFactory.go b/pkg/infra/observer/observerFactory.go index f2cc18c6..f1382190 100644 --- a/pkg/infra/observer/observerFactory.go +++ b/pkg/infra/observer/observerFactory.go @@ -3,8 +3,8 @@ package observer import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/pkg/errors" log "github.com/sirupsen/logrus" diff --git a/pkg/infra/observer/observer_test.go b/pkg/infra/observer/observer_test.go index 6299f8f8..c7366c92 100644 --- a/pkg/infra/observer/observer_test.go +++ b/pkg/infra/observer/observer_test.go @@ -6,10 +6,10 @@ import ( "os" "time" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/e2e/mock" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/observer" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/observer" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/pkg/infra/trafficGenerator/assembler.go b/pkg/infra/trafficGenerator/assembler.go index 9de603f1..48d7192a 100644 --- a/pkg/infra/trafficGenerator/assembler.go +++ b/pkg/infra/trafficGenerator/assembler.go @@ -3,9 +3,9 @@ package trafficGenerator import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/trafficGenerator/benchmark_test.go b/pkg/infra/trafficGenerator/benchmark_test.go index bca300fd..020238b7 100644 --- a/pkg/infra/trafficGenerator/benchmark_test.go +++ b/pkg/infra/trafficGenerator/benchmark_test.go @@ -5,9 +5,9 @@ import ( "os" "testing" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" ) func benchmarkProposalRandom(b *testing.B, arg string) { diff --git a/pkg/infra/trafficGenerator/broadcaster.go b/pkg/infra/trafficGenerator/broadcaster.go index 57ab4c33..a87759b6 100644 --- a/pkg/infra/trafficGenerator/broadcaster.go +++ b/pkg/infra/trafficGenerator/broadcaster.go @@ -4,8 +4,8 @@ import ( "context" "io" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/hyperledger/fabric-protos-go/common" "github.com/hyperledger/fabric-protos-go/orderer" diff --git a/pkg/infra/trafficGenerator/fackEnvelopGenerator.go b/pkg/infra/trafficGenerator/fackEnvelopGenerator.go index d0f1d253..2b1ec91f 100644 --- a/pkg/infra/trafficGenerator/fackEnvelopGenerator.go +++ b/pkg/infra/trafficGenerator/fackEnvelopGenerator.go @@ -1,12 +1,12 @@ package trafficGenerator import ( - "github.com/Hyperledger-TWGC/tape/internal/fabric/protoutil" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/internal/fabric/protoutil" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/opentracing/opentracing-go" "github.com/hyperledger/fabric-protos-go/common" - "github.com/opentracing/opentracing-go" ) type FackEnvelopGenerator struct { diff --git a/pkg/infra/trafficGenerator/fackEnvelopGenerator_test.go b/pkg/infra/trafficGenerator/fackEnvelopGenerator_test.go index eb8ed413..87d58288 100644 --- a/pkg/infra/trafficGenerator/fackEnvelopGenerator_test.go +++ b/pkg/infra/trafficGenerator/fackEnvelopGenerator_test.go @@ -5,12 +5,11 @@ import ( "os" "time" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" ) var _ = Describe("FackEnvelopGenerator", func() { diff --git a/pkg/infra/trafficGenerator/generatorFactory.go b/pkg/infra/trafficGenerator/generatorFactory.go index b3cdc234..5b588584 100644 --- a/pkg/infra/trafficGenerator/generatorFactory.go +++ b/pkg/infra/trafficGenerator/generatorFactory.go @@ -3,8 +3,8 @@ package trafficGenerator import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/trafficGenerator/initiator.go b/pkg/infra/trafficGenerator/initiator.go index 6657607a..ae35645d 100644 --- a/pkg/infra/trafficGenerator/initiator.go +++ b/pkg/infra/trafficGenerator/initiator.go @@ -3,8 +3,8 @@ package trafficGenerator import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/pkg/errors" log "github.com/sirupsen/logrus" diff --git a/pkg/infra/trafficGenerator/initiator_test.go b/pkg/infra/trafficGenerator/initiator_test.go index ae25cb19..dff88846 100644 --- a/pkg/infra/trafficGenerator/initiator_test.go +++ b/pkg/infra/trafficGenerator/initiator_test.go @@ -5,9 +5,9 @@ import ( "os" "time" - "github.com/Hyperledger-TWGC/tape/e2e" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/e2e" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/pkg/infra/trafficGenerator/intgerator.go b/pkg/infra/trafficGenerator/intgerator.go index da2d158f..7807ae3c 100644 --- a/pkg/infra/trafficGenerator/intgerator.go +++ b/pkg/infra/trafficGenerator/intgerator.go @@ -3,8 +3,8 @@ package trafficGenerator import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/trafficGenerator/policyHandler.go b/pkg/infra/trafficGenerator/policyHandler.go index 04c9426a..f6d61de5 100644 --- a/pkg/infra/trafficGenerator/policyHandler.go +++ b/pkg/infra/trafficGenerator/policyHandler.go @@ -3,7 +3,7 @@ package trafficGenerator import ( "context" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/open-policy-agent/opa/rego" ) diff --git a/pkg/infra/trafficGenerator/policyHandler_test.go b/pkg/infra/trafficGenerator/policyHandler_test.go index 69aad71b..819a1b91 100644 --- a/pkg/infra/trafficGenerator/policyHandler_test.go +++ b/pkg/infra/trafficGenerator/policyHandler_test.go @@ -1,8 +1,8 @@ package trafficGenerator_test import ( - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" ) diff --git a/pkg/infra/trafficGenerator/proposal.go b/pkg/infra/trafficGenerator/proposal.go index e3c87b80..21138ca7 100644 --- a/pkg/infra/trafficGenerator/proposal.go +++ b/pkg/infra/trafficGenerator/proposal.go @@ -10,16 +10,15 @@ import ( "strings" "time" - "github.com/Hyperledger-TWGC/tape/internal/fabric/protoutil" - "github.com/Hyperledger-TWGC/tape/pkg/infra" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/internal/fabric/protoutil" + "github.com/hyperledger-twgc/tape/pkg/infra" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/golang/protobuf/proto" "github.com/google/uuid" "github.com/hyperledger/fabric-protos-go/common" "github.com/hyperledger/fabric-protos-go/orderer" "github.com/hyperledger/fabric-protos-go/peer" - "github.com/opentracing/opentracing-go" "github.com/pkg/errors" log "github.com/sirupsen/logrus" ) diff --git a/pkg/infra/trafficGenerator/proposal_test.go b/pkg/infra/trafficGenerator/proposal_test.go index 9e8f3f84..1e629346 100644 --- a/pkg/infra/trafficGenerator/proposal_test.go +++ b/pkg/infra/trafficGenerator/proposal_test.go @@ -4,7 +4,7 @@ import ( "regexp" "strconv" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/pkg/infra/trafficGenerator/proposer.go b/pkg/infra/trafficGenerator/proposer.go index 42d11db1..32675b5a 100644 --- a/pkg/infra/trafficGenerator/proposer.go +++ b/pkg/infra/trafficGenerator/proposer.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" "github.com/hyperledger/fabric-protos-go/peer" log "github.com/sirupsen/logrus" diff --git a/pkg/infra/trafficGenerator/proposer_test.go b/pkg/infra/trafficGenerator/proposer_test.go index e727d5c0..8823a2c6 100644 --- a/pkg/infra/trafficGenerator/proposer_test.go +++ b/pkg/infra/trafficGenerator/proposer_test.go @@ -3,9 +3,9 @@ package trafficGenerator_test import ( "context" - "github.com/Hyperledger-TWGC/tape/e2e/mock" - "github.com/Hyperledger-TWGC/tape/pkg/infra/basic" - "github.com/Hyperledger-TWGC/tape/pkg/infra/trafficGenerator" + "github.com/hyperledger-twgc/tape/e2e/mock" + "github.com/hyperledger-twgc/tape/pkg/infra/basic" + "github.com/hyperledger-twgc/tape/pkg/infra/trafficGenerator" "github.com/hyperledger/fabric-protos-go/peer" "github.com/hyperledger/fabric-sdk-go/pkg/fab/mocks"