From 3f2595c4f3c034347e15f2e45f2b753a78f0c8a4 Mon Sep 17 00:00:00 2001 From: bxq2011hust Date: Mon, 25 Dec 2023 10:53:59 +0800 Subject: [PATCH] move to v3 dir --- .ci/ethPrecompiled/bn256.go | 6 +- .ci/ethPrecompiled/bn256_gm.go | 6 +- .ci/generate_coverage.sh | 3 +- .ci/hello/HelloWorld.go | 6 +- .ci/integration_test.sh | 25 +- .ci/store/Store.go | 6 +- .github/workflows/coverage.yml | 2 +- .gitignore | 2 + README.md | 16 +- examples/conf/clog.ini | 9 - examples/conf/config_sample.ini | 26 - examples/conf/sm_config_sample.ini | 28 - go.mod | 66 +- go.sum | 571 ------------- {abi => v3/abi}/COPYING | 0 {abi => v3/abi}/abi.go | 0 {abi => v3/abi}/argument.go | 0 {abi => v3/abi}/bind/auth.go | 4 +- {abi => v3/abi}/bind/backend.go | 2 +- {abi => v3/abi}/bind/base.go | 4 +- {abi => v3/abi}/bind/bind.go | 2 +- {abi => v3/abi}/bind/template.go | 8 +- {abi => v3/abi}/bind/topics.go | 2 +- {abi => v3/abi}/bind/util.go | 2 +- {abi => v3/abi}/error.go | 0 {abi => v3/abi}/event.go | 2 +- {abi => v3/abi}/flags/categories.go | 0 {abi => v3/abi}/flags/flags.go | 0 {abi => v3/abi}/flags/flags_test.go | 0 {abi => v3/abi}/flags/helpers.go | 0 {abi => v3/abi}/method.go | 2 +- {abi => v3/abi}/numbers.go | 0 {abi => v3/abi}/pack.go | 0 {abi => v3/abi}/reflect.go | 0 {abi => v3/abi}/type.go | 0 {abi => v3/abi}/unpack.go | 0 {client => v3/client}/config.go | 0 {client => v3/client}/config_test.go | 0 {client => v3/client}/connection.go | 2 +- {client => v3/client}/go_client.go | 4 +- {client => v3/client}/go_client_test.go | 6 +- {client => v3/client}/json.go | 0 {client => v3/client}/parse_pem.go | 0 {client => v3/client}/parse_pem_test.go | 30 +- {cmd => v3/cmd}/abigen/AUTHORS | 0 {cmd => v3/cmd}/abigen/COPYING | 0 {cmd => v3/cmd}/abigen/main.go | 4 +- {cmd => v3/cmd}/commandline/auth_manager.go | 2 +- {cmd => v3/cmd}/commandline/cns.go | 2 +- {cmd => v3/cmd}/commandline/commands.go | 0 {cmd => v3/cmd}/commandline/consensus.go | 2 +- {cmd => v3/cmd}/commandline/kvTable.go | 2 +- {cmd => v3/cmd}/commandline/root.go | 4 +- {cmd => v3/cmd}/commandline/system_config.go | 2 +- {cmd => v3/cmd}/commandline/utils.go | 0 {cmd => v3/cmd}/console.go | 0 {examples => v3/examples}/KVTableTest.go | 6 +- {examples => v3/examples}/README.md | 0 .../examples}/amop/broadcast_pub/publisher.go | 2 +- .../examples}/amop/sub/subscriber.go | 2 +- .../examples}/amop/unicast_pub/publisher.go | 2 +- .../amop_auth/broadcast_pub/publisher.go | 0 .../examples}/amop_auth/sub/subscriber.go | 2 +- .../amop_auth/unicast_pub/publisher.go | 0 .../blockNumberNotify/sub/subscriber.go | 2 +- .../examples}/eventLog/sub/subscriber.go | 4 +- .../examples}/hello_world/HelloWorld.sol | 0 .../examples}/hello_world/manual/main.go | 8 +- .../hello_world/wrapper/HelloWorld.go | 6 +- .../examples}/hello_world/wrapper/main.go | 4 +- .../examples}/kvtable_test_async/main.go | 43 +- .../examples}/kvtable_test_sync/main.go | 8 +- v3/go.mod | 95 +++ v3/go.sum | 784 ++++++++++++++++++ {mobile => v3}/ios/README.md | 0 {mobile => v3}/ios/contract_proxy.go | 4 +- {mobile => v3}/ios/fisco_bcos_ios_sdk.go | 8 +- {mobile => v3}/ios/rpc_message.go | 0 .../precompiled}/auth/AccountManager.go | 6 +- .../precompiled}/auth/Committee.go | 6 +- .../precompiled}/auth/CommitteeManager.go | 6 +- .../precompiled}/auth/ContractAuth.go | 6 +- .../auth/ContractAuthPrecompiled.go | 6 +- .../precompiled}/auth/ProposalManager.go | 6 +- .../precompiled}/auth/README.md | 0 .../precompiled}/auth/auth_manager_service.go | 41 +- .../auth/auth_manager_service_test.go | 105 ++- {precompiled => v3/precompiled}/bfs/bfs.go | 6 +- .../precompiled}/bfs/bfs_service.go | 13 +- .../precompiled}/bfs/bfs_service_test.go | 44 +- {precompiled => v3/precompiled}/cns/cns.go | 6 +- .../precompiled}/cns/cns_service.go | 8 +- .../precompiled}/cns/cns_service_test.go | 2 +- .../precompiled}/config/system_config.go | 6 +- .../config/system_config_service.go | 12 +- .../config/system_config_service_test.go | 2 +- .../precompiled}/consensus/consensus.go | 6 +- .../consensus/consensus_service.go | 8 +- .../consensus/consensus_service_test.go | 4 +- .../precompiled}/crud/KVTable.go | 6 +- {precompiled => v3/precompiled}/crud/table.go | 6 +- .../precompiled}/crud/tableManager.go | 6 +- .../precompiled}/crud/tableManager_service.go | 50 +- .../crud/tableManager_service_test.go | 106 +-- .../precompiled}/sharding/sharding.go | 6 +- .../precompiled}/sharding/sharding_service.go | 12 +- .../sharding/sharding_service_test.go | 18 +- .../precompiled}/solidity/auth/Account.sol | 0 .../precompiled}/solidity/auth/BasicAuth.sol | 0 .../precompiled}/solidity/auth/Committee.sol | 0 .../solidity/auth/CommitteeManager.sol | 0 .../solidity/auth/ConsensusPrecompiled.sol | 0 .../solidity/auth/ContractAuthPrecompiled.sol | 0 .../solidity/auth/ProposalManager.sol | 0 .../precompiled}/solidity/auth/README.md | 0 .../solidity/auth/SystemConfigPrecompiled.sol | 0 .../solidity/auth/VoteComputerTemplate.sol | 0 .../solidity/bfs/BfsPrecompiled.sol | 0 .../precompiled}/solidity/cns/CNS.sol | 0 .../solidity/config/SystemConfig.sol | 0 .../solidity/consensus/Consensus.sol | 0 .../precompiled}/solidity/crud/Cast.sol | 0 .../solidity/crud/EntryWrapper.sol | 0 .../precompiled}/solidity/crud/Table.sol | 0 .../solidity/sharding/ShardingPrecompiled.sol | 0 {precompiled => v3/precompiled}/utils.go | 2 +- {smcrypto => v3/smcrypto}/sm2.go | 2 +- {smcrypto => v3/smcrypto}/sm3/sm3.go | 0 {smcrypto => v3/smcrypto}/sm3/sm3_test.go | 0 {smcrypto => v3/smcrypto}/sm_crypto.go | 2 +- {smcrypto => v3/smcrypto}/sm_crypto_test.go | 0 {test => v3/test}/authTest/main.go | 4 +- .../contract/kvTableTest/KVTableTest.go | 6 +- .../contract/parallelOk/ParallelOk.go | 6 +- .../contract/sol/KVTableTest.sol | 0 .../contract/sol/ParallelOk.sol | 0 .../test}/performanceTest/helper/helper.go | 0 {test => v3/test}/performanceTest/main.go | 10 +- .../performanceTest/model/request_model.go | 0 .../test}/performanceTest/server/dispose.go | 10 +- .../server/golink/http_link_many.go | 2 +- .../server/golink/kvtable_link.go | 6 +- .../server/golink/parallelOk_link.go | 6 +- .../server/statistics/statistics.go | 4 +- .../test}/performanceTest/tools/sort.go | 0 {core => v3}/types/block.go | 0 {core => v3}/types/log.go | 0 {core => v3}/types/receipt.go | 0 {core => v3}/types/sync_status.go | 0 {core => v3}/types/system_config.go | 0 {core => v3}/types/transaction.go | 2 +- {core => v3}/types/transaction_count.go | 0 {core => v3}/types/transaction_detail.go | 0 {core => v3}/types/transaction_signing.go | 0 154 files changed, 1310 insertions(+), 1101 deletions(-) delete mode 100644 examples/conf/clog.ini delete mode 100644 examples/conf/config_sample.ini delete mode 100644 examples/conf/sm_config_sample.ini rename {abi => v3/abi}/COPYING (100%) rename {abi => v3/abi}/abi.go (100%) rename {abi => v3/abi}/argument.go (100%) rename {abi => v3/abi}/bind/auth.go (97%) rename {abi => v3/abi}/bind/backend.go (99%) rename {abi => v3/abi}/bind/base.go (99%) rename {abi => v3/abi}/bind/bind.go (99%) rename {abi => v3/abi}/bind/template.go (99%) rename {abi => v3/abi}/bind/topics.go (99%) rename {abi => v3/abi}/bind/util.go (98%) rename {abi => v3/abi}/error.go (100%) rename {abi => v3/abi}/event.go (98%) rename {abi => v3/abi}/flags/categories.go (100%) rename {abi => v3/abi}/flags/flags.go (100%) rename {abi => v3/abi}/flags/flags_test.go (100%) rename {abi => v3/abi}/flags/helpers.go (100%) rename {abi => v3/abi}/method.go (98%) rename {abi => v3/abi}/numbers.go (100%) rename {abi => v3/abi}/pack.go (100%) rename {abi => v3/abi}/reflect.go (100%) rename {abi => v3/abi}/type.go (100%) rename {abi => v3/abi}/unpack.go (100%) rename {client => v3/client}/config.go (100%) rename {client => v3/client}/config_test.go (100%) rename {client => v3/client}/connection.go (99%) rename {client => v3/client}/go_client.go (99%) rename {client => v3/client}/go_client_test.go (99%) rename {client => v3/client}/json.go (100%) rename {client => v3/client}/parse_pem.go (100%) rename {client => v3/client}/parse_pem_test.go (54%) rename {cmd => v3/cmd}/abigen/AUTHORS (100%) rename {cmd => v3/cmd}/abigen/COPYING (100%) rename {cmd => v3/cmd}/abigen/main.go (98%) rename {cmd => v3/cmd}/commandline/auth_manager.go (99%) rename {cmd => v3/cmd}/commandline/cns.go (98%) rename {cmd => v3/cmd}/commandline/commands.go (100%) rename {cmd => v3/cmd}/commandline/consensus.go (98%) rename {cmd => v3/cmd}/commandline/kvTable.go (98%) rename {cmd => v3/cmd}/commandline/root.go (94%) rename {cmd => v3/cmd}/commandline/system_config.go (97%) rename {cmd => v3/cmd}/commandline/utils.go (100%) rename {cmd => v3/cmd}/console.go (100%) rename {examples => v3/examples}/KVTableTest.go (99%) rename {examples => v3/examples}/README.md (100%) rename {examples => v3/examples}/amop/broadcast_pub/publisher.go (97%) rename {examples => v3/examples}/amop/sub/subscriber.go (97%) rename {examples => v3/examples}/amop/unicast_pub/publisher.go (97%) rename {examples => v3/examples}/amop_auth/broadcast_pub/publisher.go (100%) rename {examples => v3/examples}/amop_auth/sub/subscriber.go (97%) rename {examples => v3/examples}/amop_auth/unicast_pub/publisher.go (100%) rename {examples => v3/examples}/blockNumberNotify/sub/subscriber.go (97%) rename {examples => v3/examples}/eventLog/sub/subscriber.go (97%) rename {examples => v3/examples}/hello_world/HelloWorld.sol (100%) rename {examples => v3/examples}/hello_world/manual/main.go (98%) rename {examples => v3/examples}/hello_world/wrapper/HelloWorld.go (99%) rename {examples => v3/examples}/hello_world/wrapper/main.go (96%) rename {examples => v3/examples}/kvtable_test_async/main.go (76%) rename {examples => v3/examples}/kvtable_test_sync/main.go (92%) create mode 100644 v3/go.mod create mode 100644 v3/go.sum rename {mobile => v3}/ios/README.md (100%) rename {mobile => v3}/ios/contract_proxy.go (98%) rename {mobile => v3}/ios/fisco_bcos_ios_sdk.go (99%) rename {mobile => v3}/ios/rpc_message.go (100%) rename {precompiled => v3/precompiled}/auth/AccountManager.go (98%) rename {precompiled => v3/precompiled}/auth/Committee.go (99%) rename {precompiled => v3/precompiled}/auth/CommitteeManager.go (99%) rename {precompiled => v3/precompiled}/auth/ContractAuth.go (99%) rename {precompiled => v3/precompiled}/auth/ContractAuthPrecompiled.go (99%) rename {precompiled => v3/precompiled}/auth/ProposalManager.go (99%) rename {precompiled => v3/precompiled}/auth/README.md (100%) rename {precompiled => v3/precompiled}/auth/auth_manager_service.go (95%) rename {precompiled => v3/precompiled}/auth/auth_manager_service_test.go (83%) rename {precompiled => v3/precompiled}/bfs/bfs.go (99%) rename {precompiled => v3/precompiled}/bfs/bfs_service.go (96%) rename {precompiled => v3/precompiled}/bfs/bfs_service_test.go (80%) rename {precompiled => v3/precompiled}/cns/cns.go (99%) rename {precompiled => v3/precompiled}/cns/cns_service.go (96%) rename {precompiled => v3/precompiled}/cns/cns_service_test.go (98%) rename {precompiled => v3/precompiled}/config/system_config.go (99%) rename {precompiled => v3/precompiled}/config/system_config_service.go (92%) rename {precompiled => v3/precompiled}/config/system_config_service_test.go (97%) rename {precompiled => v3/precompiled}/consensus/consensus.go (99%) rename {precompiled => v3/precompiled}/consensus/consensus_service.go (97%) rename {precompiled => v3/precompiled}/consensus/consensus_service_test.go (98%) rename {precompiled => v3/precompiled}/crud/KVTable.go (98%) rename {precompiled => v3/precompiled}/crud/table.go (99%) rename {precompiled => v3/precompiled}/crud/tableManager.go (99%) rename {precompiled => v3/precompiled}/crud/tableManager_service.go (95%) rename {precompiled => v3/precompiled}/crud/tableManager_service_test.go (90%) rename {precompiled => v3/precompiled}/sharding/sharding.go (99%) rename {precompiled => v3/precompiled}/sharding/sharding_service.go (89%) rename {precompiled => v3/precompiled}/sharding/sharding_service_test.go (90%) rename {precompiled => v3/precompiled}/solidity/auth/Account.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/BasicAuth.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/Committee.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/CommitteeManager.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/ConsensusPrecompiled.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/ContractAuthPrecompiled.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/ProposalManager.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/README.md (100%) rename {precompiled => v3/precompiled}/solidity/auth/SystemConfigPrecompiled.sol (100%) rename {precompiled => v3/precompiled}/solidity/auth/VoteComputerTemplate.sol (100%) rename {precompiled => v3/precompiled}/solidity/bfs/BfsPrecompiled.sol (100%) rename {precompiled => v3/precompiled}/solidity/cns/CNS.sol (100%) rename {precompiled => v3/precompiled}/solidity/config/SystemConfig.sol (100%) rename {precompiled => v3/precompiled}/solidity/consensus/Consensus.sol (100%) rename {precompiled => v3/precompiled}/solidity/crud/Cast.sol (100%) rename {precompiled => v3/precompiled}/solidity/crud/EntryWrapper.sol (100%) rename {precompiled => v3/precompiled}/solidity/crud/Table.sol (100%) rename {precompiled => v3/precompiled}/solidity/sharding/ShardingPrecompiled.sol (100%) rename {precompiled => v3/precompiled}/utils.go (97%) rename {smcrypto => v3/smcrypto}/sm2.go (97%) rename {smcrypto => v3/smcrypto}/sm3/sm3.go (100%) rename {smcrypto => v3/smcrypto}/sm3/sm3_test.go (100%) rename {smcrypto => v3/smcrypto}/sm_crypto.go (98%) rename {smcrypto => v3/smcrypto}/sm_crypto_test.go (100%) rename {test => v3/test}/authTest/main.go (98%) rename {test => v3/test}/performanceTest/contract/kvTableTest/KVTableTest.go (99%) rename {test => v3/test}/performanceTest/contract/parallelOk/ParallelOk.go (99%) rename {test => v3/test}/performanceTest/contract/sol/KVTableTest.sol (100%) rename {test => v3/test}/performanceTest/contract/sol/ParallelOk.sol (100%) rename {test => v3/test}/performanceTest/helper/helper.go (100%) rename {test => v3/test}/performanceTest/main.go (91%) rename {test => v3/test}/performanceTest/model/request_model.go (100%) rename {test => v3/test}/performanceTest/server/dispose.go (76%) rename {test => v3/test}/performanceTest/server/golink/http_link_many.go (98%) rename {test => v3/test}/performanceTest/server/golink/kvtable_link.go (93%) rename {test => v3/test}/performanceTest/server/golink/parallelOk_link.go (92%) rename {test => v3/test}/performanceTest/server/statistics/statistics.go (98%) rename {test => v3/test}/performanceTest/tools/sort.go (100%) rename {core => v3}/types/block.go (100%) rename {core => v3}/types/log.go (100%) rename {core => v3}/types/receipt.go (100%) rename {core => v3}/types/sync_status.go (100%) rename {core => v3}/types/system_config.go (100%) rename {core => v3}/types/transaction.go (99%) rename {core => v3}/types/transaction_count.go (100%) rename {core => v3}/types/transaction_detail.go (100%) rename {core => v3}/types/transaction_signing.go (100%) diff --git a/.ci/ethPrecompiled/bn256.go b/.ci/ethPrecompiled/bn256.go index 1d53fdcb..37e786cb 100644 --- a/.ci/ethPrecompiled/bn256.go +++ b/.ci/ethPrecompiled/bn256.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/.ci/ethPrecompiled/bn256_gm.go b/.ci/ethPrecompiled/bn256_gm.go index 7824c5ed..0e0500ab 100644 --- a/.ci/ethPrecompiled/bn256_gm.go +++ b/.ci/ethPrecompiled/bn256_gm.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/.ci/generate_coverage.sh b/.ci/generate_coverage.sh index 3fc31f87..b652721a 100644 --- a/.ci/generate_coverage.sh +++ b/.ci/generate_coverage.sh @@ -3,7 +3,7 @@ set -e GOPATH_BIN=$(go env GOPATH)/bin -c_sdk_version="v3.4.0" +c_sdk_version="v3.5.0" LOG_ERROR() { content=${1} @@ -32,6 +32,7 @@ get_csdk_lib() } calculate_coverage() { + cd ./v3 # start blockchain demo # latest_version=$(curl -sS https://gitee.com/api/v5/repos/FISCO-BCOS/FISCO-BCOS/tags | grep -oe "\"name\":\"v[3-9]*\.[0-9]*\.[0-9]*\"" | cut -d \" -f 4 | sort -V | tail -n 1) # latest_version=$(curl --insecure -s https://api.github.com/repos/FISCO-BCOS/FISCO-BCOS/releases | grep "tag_name" | grep "\"v3\.[0-9]*\.[0-9]*\"" | cut -d \" -f 4 | sort -V | tail -n 1) diff --git a/.ci/hello/HelloWorld.go b/.ci/hello/HelloWorld.go index b7fda876..acc9b05f 100644 --- a/.ci/hello/HelloWorld.go +++ b/.ci/hello/HelloWorld.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/.ci/integration_test.sh b/.ci/integration_test.sh index 5d8e75f0..1f6c02e0 100755 --- a/.ci/integration_test.sh +++ b/.ci/integration_test.sh @@ -56,9 +56,9 @@ compile_and_ut() { export GO111MODULE="on" # execute_cmd "go get github.com/sirupsen/logrus@v1.8.1" - execute_cmd "go build cmd/console.go" + execute_cmd "go build ./cmd/console.go" + pwd execute_cmd "go build -o abigen ./cmd/abigen/main.go" - execute_cmd "go test -v ./smcrypto" } @@ -331,7 +331,7 @@ precompiled_test(){ integration_std() { LOG_INFO "integration_std testing..." - execute_cmd "bash tools/download_solc.sh -v 0.8.11" + execute_cmd "bash ../tools/download_solc.sh -v 0.8.11" head build_chain.sh bash build_chain.sh -l 127.0.0.1:2 -o nodes -a 0x83309d045a19c44dc3722d15a6abd472f95866ac @@ -342,11 +342,11 @@ integration_std() cp nodes/127.0.0.1/sdk/* ./client/ # abigen std - execute_cmd "./solc-0.8.11 --bin --abi --optimize -o .ci/hello .ci/hello/HelloWorld.sol" - execute_cmd "./abigen --bin .ci/hello/HelloWorld.bin --abi .ci/hello/HelloWorld.abi --type Hello --pkg main --out=hello.go" + execute_cmd "./solc-0.8.11 --bin --abi --optimize -o ../.ci/hello ../.ci/hello/HelloWorld.sol" + execute_cmd "./abigen --bin ../.ci/hello/HelloWorld.bin --abi ../.ci/hello/HelloWorld.abi --type Hello --pkg main --out=hello.go" generate_hello Hello hello.go execute_cmd "go build ${ldflags} -o hello hello.go" - execute_cmd "go build ${ldflags} -o bn256 .ci/ethPrecompiled/bn256.go" + execute_cmd "go build ${ldflags} -o bn256 ../.ci/ethPrecompiled/bn256.go" LOG_INFO "generate hello.go and build hello done." precompiled_test @@ -357,8 +357,8 @@ integration_std() if [ ! -z "$(cat hello.out | grep failed)" ];then LOG_ERROR "call hello failed." && cat hello.out && exit 1;fi # if [ ! -z "$(./bn256 | grep failed)" ];then ./bn256 && LOG_ERROR "call bn256 failed." && exit 1;fi - execute_cmd "./solc-0.8.11 --bin --abi --optimize -o .ci/counter .ci/counter/Counter.sol" - execute_cmd "./abigen --bin .ci/counter/Counter.bin --abi .ci/counter/Counter.abi --type Counter --pkg main --out=counter.go" + execute_cmd "./solc-0.8.11 --bin --abi --optimize -o ../.ci/counter ../.ci/counter/Counter.sol" + execute_cmd "./abigen --bin ../.ci/counter/Counter.bin --abi ../.ci/counter/Counter.abi --type Counter --pkg main --out=counter.go" generate_counter Counter counter.go execute_cmd "go build ${ldflags} -o counter counter.go" if [ -z "$(./counter | grep address)" ];then LOG_ERROR "std deploy contract failed." && exit 1;fi @@ -374,7 +374,7 @@ integration_std() integration_gm() { LOG_INFO "integration_gm testing..." - execute_cmd "bash tools/download_solc.sh -v 0.8.11 -g" + execute_cmd "bash ../tools/download_solc.sh -v 0.8.11 -g" bash build_chain.sh -l 127.0.0.1:2 -s -o nodes_gm -a 0x791a0073e6dfd9dc5e5061aebc43ab4f7aa4ae8b cp -r nodes_gm/127.0.0.1/sdk/* ./conf/ @@ -385,11 +385,11 @@ integration_gm() cp nodes/127.0.0.1/sdk/* ./client/ # abigen gm - execute_cmd "./solc-0.8.11-gm --bin --abi --overwrite -o .ci/hello .ci/hello/HelloWorld.sol" - execute_cmd "./abigen --bin .ci/hello/HelloWorld.bin --abi .ci/hello/HelloWorld.abi --type Hello --pkg main --out=hello_gm.go --smcrypto=true" + execute_cmd "./solc-0.8.11-gm --bin --abi --overwrite -o ../.ci/hello ../.ci/hello/HelloWorld.sol" + execute_cmd "./abigen --bin ../.ci/hello/HelloWorld.bin --abi ../.ci/hello/HelloWorld.abi --type Hello --pkg main --out=hello_gm.go --smcrypto=true" generate_hello_gm Hello hello_gm.go execute_cmd "go build ${ldflags} -o hello_gm hello_gm.go" - execute_cmd "go build ${ldflags} -o bn256_gm .ci/ethPrecompiled/bn256_gm.go" + execute_cmd "go build ${ldflags} -o bn256_gm ../.ci/ethPrecompiled/bn256_gm.go" LOG_INFO "generate hello_gm.go and build hello_gm done." if [ -z "$(./hello_gm | grep address)" ];then LOG_ERROR "gm deploy contract failed." && exit 1;fi @@ -439,6 +439,7 @@ parse_params() main() { + cd ./v3 check_env get_csdk_lib get_build_chain diff --git a/.ci/store/Store.go b/.ci/store/Store.go index 37ca160b..ebf8e5ed 100644 --- a/.ci/store/Store.go +++ b/.ci/store/Store.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 06573711..01e39d92 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,6 +24,6 @@ jobs: - name: upload code coverage to Codecov uses: codecov/codecov-action@v1 with: - file: ./coverage.txt + file: ./v3/coverage.txt name: go-sdk code coverage fail_ci_if_error: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index fe2b3378..fd17e739 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.so *.dylib log/* +clog.ini # Test binary, built with `go test -c` *.test @@ -20,6 +21,7 @@ log/* # Go workspace file go.work +go.work.sum # cmd main diff --git a/README.md b/README.md index d590b7eb..57cc9af1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ FISCO BCOS Go语言版本的SDK,主要实现的功能有: master分支的go-sdk对应FISCO-BCOS v3版本,如果使用的是FISCO-BCOS v2版本,请切换到[FISCO-BCOS v2分支](https://github.com/FISCO-BCOS/go-sdk/tree/master-FISCO-BCOS-v2),[对应文档](https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/sdk/go_sdk/index.html) -- [Golang](https://golang.org/), 版本需不低于`1.17`,本项目采用`go module`进行包管理。具体可查阅[Using Go Modules](https://blog.golang.org/using-go-modules) +- [Golang](https://golang.org/), 版本需不低于`1.21`,本项目采用`go module`进行包管理。具体可查阅[Using Go Modules](https://blog.golang.org/using-go-modules) - [FISCO BCOS 3.2.0+](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/index.html), 可参考[安装搭建](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/quick_start/air_installation.html) - Solidity编译器,默认0.8.11版本 @@ -56,13 +56,13 @@ type Config struct { - GroupID:账本的`GroupID` - Host:节点IP - Port:节点RPC端口 -- DisableSsl:使用TLS加密时为`false`,不使用TLS加密时为`true` +- DisableSsl:使用TLS加密时为`false`,不使用TLS加密时为`true`,此配置项需与节点config.ini中的`rpc.disable_ssl`保持一致 ## 控制台使用 1. 搭建FISCO BCOS 3.2以上版本节点,请[参考这里](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/quick_start/air_installation.html)。 1. 请拷贝对应的SDK证书到conf文件夹,证书名为`ca.crt/sdk.key/sdk.crt`,国密时证书名为`sm_ca.crt/sm_sdk.key/sm_sdk.crt/sm_ensdk.key/sm_ensdk.crt`。 -1. go-sdk需要依赖csdk的动态库,[下载地址](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/tag/v3.4.0),将动态库放在`/usr/local/lib`目录下。在其他机器使用时也需要通过`export LD_LIBRARY_PATH=${PWD}/lib`设置动态库的搜索路径,其中`${PWD}/lib`需替换为bcos-c-sdk的动态库所在文件夹。如果编译后在其他机器运行,也可以在编译时使用`-ldflags`指定动态库搜索路径,如`go build -ldflags="-r ${PWD}/lib"`。 +1. go-sdk需要依赖csdk的动态库,[下载地址](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/tag/v3.5.0),将动态库放在`/usr/local/lib`目录下。在其他机器使用时也需要通过`export LD_LIBRARY_PATH=${PWD}/lib`设置动态库的搜索路径,其中`${PWD}/lib`需替换为bcos-c-sdk的动态库所在文件夹。如果编译后在其他机器运行,也可以在编译时使用`-ldflags`指定动态库搜索路径,如`go build -ldflags="-r ${PWD}/lib"`。 ```bash # 下面的脚本帮助用户下载bcos-c-sdk的动态库到/usr/local/lib目录下 @@ -76,7 +76,8 @@ type Config struct { git clone https://github.com/FISCO-BCOS/go-sdk.git cd go-sdk go mod tidy -go build -ldflags="-r /usr/local/lib" -o console cmd/console.go +cd v3 +go build -ldflags="-r /usr/local/lib" -o console ./cmd/console.go ./console help ``` @@ -85,7 +86,7 @@ go build -ldflags="-r /usr/local/lib" -o console cmd/console.go 以下的示例是通过`import`的方式来使用`go-sdk`,如引入RPC控制台库: ```go -import "github.com/FISCO-BCOS/go-sdk/client" +import "github.com/FISCO-BCOS/go-sdk/v3/client" ``` ### Solidity合约编译为Go文件 @@ -141,6 +142,7 @@ bash tools/download_solc.sh -v 0.8.11 ```bash # 下面指令在go-sdk目录下操作,编译生成abigen工具 +cd v3 go build ./cmd/abigen ``` @@ -196,8 +198,8 @@ import ( "fmt" "log" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/FISCO-BCOS/go-sdk/hello" ) diff --git a/examples/conf/clog.ini b/examples/conf/clog.ini deleted file mode 100644 index 780cb171..00000000 --- a/examples/conf/clog.ini +++ /dev/null @@ -1,9 +0,0 @@ -[log] - enable=false - log_path=./log - ; network statistics interval, unit is second, default is 60s - stat_flush_interval=60 - ; info debug trace - level=info - ; MB - max_log_file_size=1024 diff --git a/examples/conf/config_sample.ini b/examples/conf/config_sample.ini deleted file mode 100644 index 690ff55a..00000000 --- a/examples/conf/config_sample.ini +++ /dev/null @@ -1,26 +0,0 @@ - -[common] - ; if ssl connection is disabled, default: false - ; disable_ssl = true - ; thread pool size for network message sending recving handing - thread_pool_size = 8 - ; send message timeout(ms) - message_timeout_ms = 10000 - -; ssl cert config items, -[cert] - ; ssl_type: ssl or sm_ssl, default: ssl - ssl_type = ssl - ; directory the certificates located in, defaul: ./conf - ca_path=./conf - ; the ca certificate file - ca_cert=ca.crt - ; the node private key file - sdk_key=sdk.key - ; the node certificate file - sdk_cert=sdk.crt - -[peers] -# supported ipv4 and ipv6 - node.0=127.0.0.1:20200 - node.1=127.0.0.1:20201 \ No newline at end of file diff --git a/examples/conf/sm_config_sample.ini b/examples/conf/sm_config_sample.ini deleted file mode 100644 index 86437ee2..00000000 --- a/examples/conf/sm_config_sample.ini +++ /dev/null @@ -1,28 +0,0 @@ -[common] - ; if ssl connection is disabled, default: false - ; disable_ssl = true - ; thread pool size for network message sending recving handing - thread_pool_size = 8 - ; send message timeout(ms) - message_timeout_ms = 10000 - -[cert] - ; ssl_type: ssl or sm_ssl, default: ssl - ssl_type = sm_ssl - ; directory the certificates located in, defaul: ./conf - ca_path=./conf - ; the ca certificate file - sm_ca_cert=sm_ca.crt - ; the node private key file - sm_sdk_key=sm_sdk.key - ; the node certificate file - sm_sdk_cert=sm_sdk.crt - ; the node private key file - sm_ensdk_key=sm_ensdk.key - ; the node certificate file - sm_ensdk_cert=sm_ensdk.crt - -[peers] -# supported ipv4 and ipv6 - node.0=127.0.0.1:20200 - node.1=127.0.0.1:20201 \ No newline at end of file diff --git a/go.mod b/go.mod index ea4900ed..20f97613 100644 --- a/go.mod +++ b/go.mod @@ -9,77 +9,13 @@ replace ( ) require ( - github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1 github.com/ethereum/go-ethereum v1.10.21 github.com/sirupsen/logrus v1.4.2 - github.com/spf13/cobra v1.0.0 - github.com/urfave/cli/v2 v2.10.2 - golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 ) require ( - github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect - github.com/VictoriaMetrics/fastcache v1.6.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect - github.com/cespare/xxhash/v2 v2.1.1 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/deckarep/golang-set v1.8.0 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/deepmap/oapi-codegen v1.8.2 // indirect - github.com/edsrzf/mmap-go v1.0.0 // indirect - github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect - github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect - github.com/go-kit/kit v0.9.0 // indirect - github.com/go-ole/go-ole v1.2.5 // indirect - github.com/go-stack/stack v1.8.0 // indirect - github.com/golang-jwt/jwt/v4 v4.3.0 // indirect - github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.5 // indirect - github.com/google/uuid v1.2.0 // indirect - github.com/gorilla/websocket v1.4.2 // indirect - github.com/graph-gophers/graphql-go v1.3.0 // indirect - github.com/hashicorp/go-bexpr v0.1.10 // indirect - github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect - github.com/holiman/bloomfilter/v2 v2.0.3 // indirect - github.com/holiman/uint256 v1.2.0 // indirect - github.com/huin/goupnp v1.0.3 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/influxdata/influxdb v1.8.3 // indirect - github.com/influxdata/influxdb-client-go/v2 v2.4.0 // indirect - github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // indirect - github.com/jackpal/go-nat-pmp v1.0.2 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/mattn/go-colorable v0.1.8 // indirect - github.com/mattn/go-isatty v0.0.12 // indirect - github.com/mattn/go-runewidth v0.0.9 // indirect - github.com/mitchellh/mapstructure v1.4.1 // indirect - github.com/mitchellh/pointerstructure v1.2.0 // indirect - github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/opentracing/opentracing-go v1.1.0 // indirect - github.com/patrickmn/go-cache v2.1.0+incompatible // indirect - github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/tsdb v0.7.1 // indirect - github.com/rjeczalik/notify v0.9.1 // indirect - github.com/rs/cors v1.7.0 // indirect - github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 // indirect - github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect - github.com/tklauser/go-sysconf v0.3.5 // indirect - github.com/tklauser/numcpus v0.2.2 // indirect - github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef // indirect - github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect - golang.org/x/net v0.2.0 // indirect - golang.org/x/sync v0.1.0 // indirect + golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect - golang.org/x/text v0.3.7 // indirect - golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect - gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect - gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/go.sum b/go.sum index 9650445f..478aec2a 100644 --- a/go.sum +++ b/go.sum @@ -1,594 +1,23 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -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/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= -github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec h1:flo/0fBn5dYHy41gIPZNiiFVN/Fc5KfnfQStgYOuiCI= -github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec/go.mod h1:7kTVptunvfx0JH/XIuFj0ybRq0MLAsK4daizrE9RvN0= github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1 h1:ThPht4qK10+cMZC5COIjHPq0INm5HAMVYqrez5zEgFI= github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1/go.mod h1:UrLdwsFrjiaCsvdcPLcH6B7s/FUmym3qfM93u2ziR+4= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk= -github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o= -github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= -github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= -github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= -github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= -github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= -github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= -github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= -github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= -github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= -github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= -github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= -github.com/deepmap/oapi-codegen v1.8.2 h1:SegyeYGcdi0jLLrpbCMoJxnUUn8GBXHsvr4rbzjuhfU= -github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/docker/docker v1.6.2 h1:HlFGsy+9/xrgMmhmN+NGhCc5SHGJ7I+kHosRR1xc/aI= -github.com/docker/docker v1.6.2/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= -github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw= -github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ethereum/go-ethereum v1.10.21 h1:5lqsEx92ZaZzRyOqBEXux4/UR06m296RGzN3ol3teJY= github.com/ethereum/go-ethereum v1.10.21/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= -github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= -github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqGNY4FhTFhk+o9oFHGINQ/+vhlm8HFzi6znCI= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= -github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= -github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= -github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= -github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-ole/go-ole v1.2.5 h1:t4MGB5xEDZvXI+0rMjjsfBsD7yAgp/s9ZDkL1JndXwY= -github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/golang-jwt/jwt/v4 v4.3.0 h1:kHL1vqdqWNfATmA0FNMdmZNMyZI1U6O31X4rlIPoBog= -github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/net v0.0.0-20190415214537-1da14a5a36f2 h1:CeAmrMMyQagRyYFYClSHWQ+kh96qJ2F7IQijlikXulg= -github.com/golang/net v0.0.0-20190415214537-1da14a5a36f2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/sync v0.0.0-20190412183630-56d357773e84 h1:OHU3tnAMI+SYCUwR2ga5ovIEa1TKf4AVm2SU/dST1W8= -github.com/golang/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= -github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/graph-gophers/graphql-go v1.3.0 h1:Eb9x/q6MFpCLz7jBCiP/WTxjSDrYLR1QY41SORZyNJ0= -github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/go-bexpr v0.1.10 h1:9kuI5PFotCboP3dkDYFr/wi0gg0QVbSNz5oFRpxn4uE= -github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao= -github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= -github.com/holiman/uint256 v1.2.0 h1:gpSYcPLWGv4sG43I2mVLiDZCNDh/EpGjSk8tmtxitHM= -github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huin/goupnp v1.0.3 h1:N8No57ls+MnjlB+JPiCVSOyy/ot7MJTqlo7rn+NYSqQ= -github.com/huin/goupnp v1.0.3/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y= -github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/influxdata/flux v0.65.1/go.mod h1:J754/zds0vvpfwuq7Gc2wRdVwEodfpCFM7mYlOw2LqY= -github.com/influxdata/influxdb v1.8.3 h1:WEypI1BQFTT4teLM+1qkEcvUi0dAvopAI/ir0vAiBg8= -github.com/influxdata/influxdb v1.8.3/go.mod h1:JugdFhsvvI8gadxOI6noqNeeBHvWNTbfYGtiAn+2jhI= -github.com/influxdata/influxdb-client-go/v2 v2.4.0 h1:HGBfZYStlx3Kqvsv1h2pJixbCl/jhnFtxpKFAv9Tu5k= -github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= -github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385/go.mod h1:gHp9y86a/pxhjJ+zMjNXiQAA197Xk9wLxaz+fGG+kWk= -github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e/go.mod h1:4kt73NQhadE3daL3WhR5EJ/J2ocX0PZzwxQ0gXJ7oFE= -github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 h1:vilfsDSy7TDxedi9gyBkMvAirat/oRcL0lFdJBf6tdM= -github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19ybifQhZoQNF5D8= -github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= -github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= -github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= -github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= -github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= -github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -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= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= -github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= -github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A= -github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0 h1:2mOpI4JVVPBN+WQRa0WKH2eXR+Ey+uK4n7Zj0aYpIQA= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= -github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= -github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= -github.com/rjeczalik/notify v0.9.1 h1:CLCKso/QK1snAlnhNR/CNvNiFU2saUtjV0bx3EwNeCE= -github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= -github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= -github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 h1:Gb2Tyox57NRNuZ2d3rmvB3pcmbu7O1RS3m8WRx7ilrg= -github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= -github.com/tklauser/go-sysconf v0.3.5 h1:uu3Xl4nkLzQfXNsWn15rPc/HQCJKObbt1dKJeWp3vU4= -github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= -github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= -github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef h1:wHSqTBrZW24CsNJDfeh9Ex6Pm0Rcpc7qrgKBiL44vF4= -github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli/v2 v2.10.2 h1:x3p8awjp/2arX+Nl/G2040AZpOCHS/eMJJ1/a+mye4Y= -github.com/urfave/cli/v2 v2.10.2/go.mod h1:f8iq5LtQ/bLxafbdBSLPPNsgaW0l/2fYYEHhAyPlwvo= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= -github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -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= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -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-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba h1:O8mE0/t419eoIwhTFpKVkHiTs/Igowgfkj25AcZrtiE= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -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= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= -gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -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/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -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= -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/abi/COPYING b/v3/abi/COPYING similarity index 100% rename from abi/COPYING rename to v3/abi/COPYING diff --git a/abi/abi.go b/v3/abi/abi.go similarity index 100% rename from abi/abi.go rename to v3/abi/abi.go diff --git a/abi/argument.go b/v3/abi/argument.go similarity index 100% rename from abi/argument.go rename to v3/abi/argument.go diff --git a/abi/bind/auth.go b/v3/abi/bind/auth.go similarity index 97% rename from abi/bind/auth.go rename to v3/abi/bind/auth.go index 104a90c2..9c8323dd 100644 --- a/abi/bind/auth.go +++ b/v3/abi/bind/auth.go @@ -23,8 +23,8 @@ import ( "io" "io/ioutil" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/smcrypto" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/common" diff --git a/abi/bind/backend.go b/v3/abi/bind/backend.go similarity index 99% rename from abi/bind/backend.go rename to v3/abi/bind/backend.go index 9becfeb0..ee0da673 100644 --- a/abi/bind/backend.go +++ b/v3/abi/bind/backend.go @@ -21,7 +21,7 @@ import ( "errors" "math/big" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/abi/bind/base.go b/v3/abi/bind/base.go similarity index 99% rename from abi/bind/base.go rename to v3/abi/bind/base.go index 3fd188d4..53a8c4f6 100755 --- a/abi/bind/base.go +++ b/v3/abi/bind/base.go @@ -22,8 +22,8 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/abi/bind/bind.go b/v3/abi/bind/bind.go similarity index 99% rename from abi/bind/bind.go rename to v3/abi/bind/bind.go index 485b8cac..a07b60c2 100644 --- a/abi/bind/bind.go +++ b/v3/abi/bind/bind.go @@ -30,7 +30,7 @@ import ( "text/template" "unicode" - "github.com/FISCO-BCOS/go-sdk/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi" "github.com/ethereum/go-ethereum/log" ) diff --git a/abi/bind/template.go b/v3/abi/bind/template.go similarity index 99% rename from abi/bind/template.go rename to v3/abi/bind/template.go index b9e29d9d..e61138d6 100644 --- a/abi/bind/template.go +++ b/v3/abi/bind/template.go @@ -16,7 +16,7 @@ package bind -import "github.com/FISCO-BCOS/go-sdk/abi" +import "github.com/FISCO-BCOS/go-sdk/v3/abi" // tmplData is the data structure required to fill the binding template. type tmplData struct { @@ -90,9 +90,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/abi/bind/topics.go b/v3/abi/bind/topics.go similarity index 99% rename from abi/bind/topics.go rename to v3/abi/bind/topics.go index bca53037..d847fb24 100644 --- a/abi/bind/topics.go +++ b/v3/abi/bind/topics.go @@ -23,7 +23,7 @@ import ( "math/big" "reflect" - "github.com/FISCO-BCOS/go-sdk/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/abi/bind/util.go b/v3/abi/bind/util.go similarity index 98% rename from abi/bind/util.go rename to v3/abi/bind/util.go index 9d90a9b7..d3d5d505 100644 --- a/abi/bind/util.go +++ b/v3/abi/bind/util.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/log" ) diff --git a/abi/error.go b/v3/abi/error.go similarity index 100% rename from abi/error.go rename to v3/abi/error.go diff --git a/abi/event.go b/v3/abi/event.go similarity index 98% rename from abi/event.go rename to v3/abi/event.go index 552dd647..18d3b5df 100644 --- a/abi/event.go +++ b/v3/abi/event.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/FISCO-BCOS/go-sdk/smcrypto/sm3" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto/sm3" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/abi/flags/categories.go b/v3/abi/flags/categories.go similarity index 100% rename from abi/flags/categories.go rename to v3/abi/flags/categories.go diff --git a/abi/flags/flags.go b/v3/abi/flags/flags.go similarity index 100% rename from abi/flags/flags.go rename to v3/abi/flags/flags.go diff --git a/abi/flags/flags_test.go b/v3/abi/flags/flags_test.go similarity index 100% rename from abi/flags/flags_test.go rename to v3/abi/flags/flags_test.go diff --git a/abi/flags/helpers.go b/v3/abi/flags/helpers.go similarity index 100% rename from abi/flags/helpers.go rename to v3/abi/flags/helpers.go diff --git a/abi/method.go b/v3/abi/method.go similarity index 98% rename from abi/method.go rename to v3/abi/method.go index 1444efa8..51e985b6 100644 --- a/abi/method.go +++ b/v3/abi/method.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/FISCO-BCOS/go-sdk/smcrypto/sm3" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto/sm3" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/abi/numbers.go b/v3/abi/numbers.go similarity index 100% rename from abi/numbers.go rename to v3/abi/numbers.go diff --git a/abi/pack.go b/v3/abi/pack.go similarity index 100% rename from abi/pack.go rename to v3/abi/pack.go diff --git a/abi/reflect.go b/v3/abi/reflect.go similarity index 100% rename from abi/reflect.go rename to v3/abi/reflect.go diff --git a/abi/type.go b/v3/abi/type.go similarity index 100% rename from abi/type.go rename to v3/abi/type.go diff --git a/abi/unpack.go b/v3/abi/unpack.go similarity index 100% rename from abi/unpack.go rename to v3/abi/unpack.go diff --git a/client/config.go b/v3/client/config.go similarity index 100% rename from client/config.go rename to v3/client/config.go diff --git a/client/config_test.go b/v3/client/config_test.go similarity index 100% rename from client/config_test.go rename to v3/client/config_test.go diff --git a/client/connection.go b/v3/client/connection.go similarity index 99% rename from client/connection.go rename to v3/client/connection.go index 8ef736c8..fec66394 100644 --- a/client/connection.go +++ b/v3/client/connection.go @@ -26,7 +26,7 @@ import ( "time" "github.com/FISCO-BCOS/bcos-c-sdk/bindings/go/csdk" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/sirupsen/logrus" diff --git a/client/go_client.go b/v3/client/go_client.go similarity index 99% rename from client/go_client.go rename to v3/client/go_client.go index 1e484ea4..3aed2bfb 100644 --- a/client/go_client.go +++ b/v3/client/go_client.go @@ -25,8 +25,8 @@ import ( "strconv" "strings" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/client/go_client_test.go b/v3/client/go_client_test.go similarity index 99% rename from client/go_client_test.go rename to v3/client/go_client_test.go index 4971a29d..d1bbc338 100644 --- a/client/go_client_test.go +++ b/v3/client/go_client_test.go @@ -10,9 +10,9 @@ import ( "sync" "testing" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/client/json.go b/v3/client/json.go similarity index 100% rename from client/json.go rename to v3/client/json.go diff --git a/client/parse_pem.go b/v3/client/parse_pem.go similarity index 100% rename from client/parse_pem.go rename to v3/client/parse_pem.go diff --git a/client/parse_pem_test.go b/v3/client/parse_pem_test.go similarity index 54% rename from client/parse_pem_test.go rename to v3/client/parse_pem_test.go index bcfb2f7a..51758767 100644 --- a/client/parse_pem_test.go +++ b/v3/client/parse_pem_test.go @@ -2,6 +2,7 @@ package client import ( "fmt" + "os" "testing" ) @@ -10,11 +11,34 @@ const ( standardCurve = "secp256k1" standardSMKeyHex = "389bb3e29db735b5dc4f114923f1ac5136891efda282a18dc0768e34305c861b" standardSMCurve = "sm2p256v1" + pemFileContent = `-----BEGIN PRIVATE KEY----- +MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQguJ1C8SKQBw8jX7j7Ydz5 +bjsRUWxdT2Mz8m5Ju5Vfi2KhRANCAAQf+Lvzi2JmjS3R4rkA9+O4aVk/db7Hc7H+ +uzWl00qEH2Esk9fGeiCLuuQKGX3+TspTTvWA99FFi67RXgF+Sj15 +-----END PRIVATE KEY-----` + secp256k1PemPath = "./0x83309d045a19c44dc3722d15a6abd472f95866ac.pem" + sm2p256v1PemPath = "./sm2p256v1_0x791a0073e6dfd9dc5e5061aebc43ab4f7aa4ae8b.pem" + sm2p256v1FileContent = `-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBG0wawIBAQQgOJuz4p23NbXcTxFJ +I/GsUTaJHv2igqGNwHaONDBchhuhRANCAARPdpGofuy2PV77J2ydxWYBWu6p7Rl+ +6ExUKuJsBgI4p5/WkELL1+wtwvwQDI/0x2QqBarnAHp5FLxjFQqbVjVo +-----END PRIVATE KEY-----` ) -func TestParsepem(t *testing.T) { +func preparePem(t *testing.T) { + fmt.Println("init") + os.WriteFile(secp256k1PemPath, []byte(pemFileContent), 0666) + os.WriteFile(sm2p256v1PemPath, []byte(sm2p256v1FileContent), 0666) + t.Cleanup(func() { + os.Remove(secp256k1PemPath) + os.Remove(sm2p256v1PemPath) + }) +} + +func TestParsePem(t *testing.T) { + preparePem(t) // test nosm private - keyBytes, curve, err := LoadECPrivateKeyFromPEM("../.ci/0x83309d045a19c44dc3722d15a6abd472f95866ac.pem") + keyBytes, curve, err := LoadECPrivateKeyFromPEM(secp256k1PemPath) if err != nil { t.Fatalf("parse nosm private key failed, err: %v", err) } @@ -27,7 +51,7 @@ func TestParsepem(t *testing.T) { t.Logf("the output of parsing nosm private key, keyHex: %s\n curve: %s\n fileContent:\n %s", fmt.Sprintf("%064x", keyBytes), curve, fileContent) // test sm private - keyBytes, curve, err = LoadECPrivateKeyFromPEM("../.ci/sm2p256v1_0x791a0073e6dfd9dc5e5061aebc43ab4f7aa4ae8b.pem") + keyBytes, curve, err = LoadECPrivateKeyFromPEM(sm2p256v1PemPath) if err != nil { t.Fatalf("parse sm private key failed, err: %v", err) } diff --git a/cmd/abigen/AUTHORS b/v3/cmd/abigen/AUTHORS similarity index 100% rename from cmd/abigen/AUTHORS rename to v3/cmd/abigen/AUTHORS diff --git a/cmd/abigen/COPYING b/v3/cmd/abigen/COPYING similarity index 100% rename from cmd/abigen/COPYING rename to v3/cmd/abigen/COPYING diff --git a/cmd/abigen/main.go b/v3/cmd/abigen/main.go similarity index 98% rename from cmd/abigen/main.go rename to v3/cmd/abigen/main.go index 10fe6e50..e4972124 100644 --- a/cmd/abigen/main.go +++ b/v3/cmd/abigen/main.go @@ -24,8 +24,8 @@ import ( "regexp" "strings" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/abi/flags" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/abi/flags" "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/common/compiler" "github.com/ethereum/go-ethereum/crypto" diff --git a/cmd/commandline/auth_manager.go b/v3/cmd/commandline/auth_manager.go similarity index 99% rename from cmd/commandline/auth_manager.go rename to v3/cmd/commandline/auth_manager.go index fcef6a3e..e0dee7e3 100644 --- a/cmd/commandline/auth_manager.go +++ b/v3/cmd/commandline/auth_manager.go @@ -7,7 +7,7 @@ import ( "math/big" "strconv" - "github.com/FISCO-BCOS/go-sdk/precompiled/auth" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/auth" "github.com/ethereum/go-ethereum/common" "github.com/spf13/cobra" ) diff --git a/cmd/commandline/cns.go b/v3/cmd/commandline/cns.go similarity index 98% rename from cmd/commandline/cns.go rename to v3/cmd/commandline/cns.go index 184792d5..1cd25a70 100644 --- a/cmd/commandline/cns.go +++ b/v3/cmd/commandline/cns.go @@ -3,7 +3,7 @@ package commandline import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/precompiled/cns" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/cns" "github.com/spf13/cobra" ) diff --git a/cmd/commandline/commands.go b/v3/cmd/commandline/commands.go similarity index 100% rename from cmd/commandline/commands.go rename to v3/cmd/commandline/commands.go diff --git a/cmd/commandline/consensus.go b/v3/cmd/commandline/consensus.go similarity index 98% rename from cmd/commandline/consensus.go rename to v3/cmd/commandline/consensus.go index 3b3f732f..18fd6fc6 100644 --- a/cmd/commandline/consensus.go +++ b/v3/cmd/commandline/consensus.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/FISCO-BCOS/go-sdk/precompiled/consensus" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/consensus" "github.com/spf13/cobra" ) diff --git a/cmd/commandline/kvTable.go b/v3/cmd/commandline/kvTable.go similarity index 98% rename from cmd/commandline/kvTable.go rename to v3/cmd/commandline/kvTable.go index a666c3d7..cd67b66f 100644 --- a/cmd/commandline/kvTable.go +++ b/v3/cmd/commandline/kvTable.go @@ -3,7 +3,7 @@ package commandline import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/precompiled/crud" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/crud" "github.com/spf13/cobra" ) diff --git a/cmd/commandline/root.go b/v3/cmd/commandline/root.go similarity index 94% rename from cmd/commandline/root.go rename to v3/cmd/commandline/root.go index 47f7ac57..09e927b3 100644 --- a/cmd/commandline/root.go +++ b/v3/cmd/commandline/root.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/spf13/cobra" ) @@ -48,7 +48,7 @@ the import statement: import "github.com/FISCO-BCOS/go-sdk" or - import "github.com/FISCO-BCOS/go-sdk/client" # using the client package + import "github.com/FISCO-BCOS/go-sdk/v3/client" # using the client package Please access the github site for more details: https://github.com/FISCO-BCOS/go-sdk.`, diff --git a/cmd/commandline/system_config.go b/v3/cmd/commandline/system_config.go similarity index 97% rename from cmd/commandline/system_config.go rename to v3/cmd/commandline/system_config.go index 215174e5..312c678c 100644 --- a/cmd/commandline/system_config.go +++ b/v3/cmd/commandline/system_config.go @@ -3,7 +3,7 @@ package commandline import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/precompiled/config" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/config" "github.com/spf13/cobra" ) diff --git a/cmd/commandline/utils.go b/v3/cmd/commandline/utils.go similarity index 100% rename from cmd/commandline/utils.go rename to v3/cmd/commandline/utils.go diff --git a/cmd/console.go b/v3/cmd/console.go similarity index 100% rename from cmd/console.go rename to v3/cmd/console.go diff --git a/examples/KVTableTest.go b/v3/examples/KVTableTest.go similarity index 99% rename from examples/KVTableTest.go rename to v3/examples/KVTableTest.go index b549cd64..2b7d8cfa 100644 --- a/examples/KVTableTest.go +++ b/v3/examples/KVTableTest.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/examples/README.md b/v3/examples/README.md similarity index 100% rename from examples/README.md rename to v3/examples/README.md diff --git a/examples/amop/broadcast_pub/publisher.go b/v3/examples/amop/broadcast_pub/publisher.go similarity index 97% rename from examples/amop/broadcast_pub/publisher.go rename to v3/examples/amop/broadcast_pub/publisher.go index e286df59..551c700d 100644 --- a/examples/amop/broadcast_pub/publisher.go +++ b/v3/examples/amop/broadcast_pub/publisher.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/sirupsen/logrus" ) diff --git a/examples/amop/sub/subscriber.go b/v3/examples/amop/sub/subscriber.go similarity index 97% rename from examples/amop/sub/subscriber.go rename to v3/examples/amop/sub/subscriber.go index 39e20e5c..c70a910f 100644 --- a/examples/amop/sub/subscriber.go +++ b/v3/examples/amop/sub/subscriber.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/sirupsen/logrus" ) diff --git a/examples/amop/unicast_pub/publisher.go b/v3/examples/amop/unicast_pub/publisher.go similarity index 97% rename from examples/amop/unicast_pub/publisher.go rename to v3/examples/amop/unicast_pub/publisher.go index 53fd6c04..d7425d5c 100644 --- a/examples/amop/unicast_pub/publisher.go +++ b/v3/examples/amop/unicast_pub/publisher.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/sirupsen/logrus" ) diff --git a/examples/amop_auth/broadcast_pub/publisher.go b/v3/examples/amop_auth/broadcast_pub/publisher.go similarity index 100% rename from examples/amop_auth/broadcast_pub/publisher.go rename to v3/examples/amop_auth/broadcast_pub/publisher.go diff --git a/examples/amop_auth/sub/subscriber.go b/v3/examples/amop_auth/sub/subscriber.go similarity index 97% rename from examples/amop_auth/sub/subscriber.go rename to v3/examples/amop_auth/sub/subscriber.go index 777afb62..005594af 100644 --- a/examples/amop_auth/sub/subscriber.go +++ b/v3/examples/amop_auth/sub/subscriber.go @@ -1,7 +1,7 @@ package main import ( - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/sirupsen/logrus" ) diff --git a/examples/amop_auth/unicast_pub/publisher.go b/v3/examples/amop_auth/unicast_pub/publisher.go similarity index 100% rename from examples/amop_auth/unicast_pub/publisher.go rename to v3/examples/amop_auth/unicast_pub/publisher.go diff --git a/examples/blockNumberNotify/sub/subscriber.go b/v3/examples/blockNumberNotify/sub/subscriber.go similarity index 97% rename from examples/blockNumberNotify/sub/subscriber.go rename to v3/examples/blockNumberNotify/sub/subscriber.go index 9067de7a..04897073 100644 --- a/examples/blockNumberNotify/sub/subscriber.go +++ b/v3/examples/blockNumberNotify/sub/subscriber.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/sirupsen/logrus" ) diff --git a/examples/eventLog/sub/subscriber.go b/v3/examples/eventLog/sub/subscriber.go similarity index 97% rename from examples/eventLog/sub/subscriber.go rename to v3/examples/eventLog/sub/subscriber.go index bef01eb7..21bb82ce 100644 --- a/examples/eventLog/sub/subscriber.go +++ b/v3/examples/eventLog/sub/subscriber.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/sirupsen/logrus" diff --git a/examples/hello_world/HelloWorld.sol b/v3/examples/hello_world/HelloWorld.sol similarity index 100% rename from examples/hello_world/HelloWorld.sol rename to v3/examples/hello_world/HelloWorld.sol diff --git a/examples/hello_world/manual/main.go b/v3/examples/hello_world/manual/main.go similarity index 98% rename from examples/hello_world/manual/main.go rename to v3/examples/hello_world/manual/main.go index e1d33166..5d5aeba3 100644 --- a/examples/hello_world/manual/main.go +++ b/v3/examples/hello_world/manual/main.go @@ -10,10 +10,10 @@ import ( "sync" "time" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/examples/hello_world/wrapper/HelloWorld.go b/v3/examples/hello_world/wrapper/HelloWorld.go similarity index 99% rename from examples/hello_world/wrapper/HelloWorld.go rename to v3/examples/hello_world/wrapper/HelloWorld.go index ba3d97d9..f82b9118 100644 --- a/examples/hello_world/wrapper/HelloWorld.go +++ b/v3/examples/hello_world/wrapper/HelloWorld.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/examples/hello_world/wrapper/main.go b/v3/examples/hello_world/wrapper/main.go similarity index 96% rename from examples/hello_world/wrapper/main.go rename to v3/examples/hello_world/wrapper/main.go index 535c531a..015fd169 100644 --- a/examples/hello_world/wrapper/main.go +++ b/v3/examples/hello_world/wrapper/main.go @@ -6,8 +6,8 @@ import ( "fmt" "log" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" ) func main() { diff --git a/examples/kvtable_test_async/main.go b/v3/examples/kvtable_test_async/main.go similarity index 76% rename from examples/kvtable_test_async/main.go rename to v3/examples/kvtable_test_async/main.go index 2f311bec..02fb95db 100644 --- a/examples/kvtable_test_async/main.go +++ b/v3/examples/kvtable_test_async/main.go @@ -4,20 +4,17 @@ import ( "context" "encoding/hex" "fmt" - "math/big" - "strings" "github.com/ethereum/go-ethereum/common" "github.com/sirupsen/logrus" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - kvtable "github.com/FISCO-BCOS/go-sdk/examples" // import kvtabletest + "github.com/FISCO-BCOS/go-sdk/v3/client" + kvtable "github.com/FISCO-BCOS/go-sdk/v3/examples" // import kvtabletest + "github.com/FISCO-BCOS/go-sdk/v3/types" ) var ( - channel = make(chan int, 0) + channel = make(chan int) contractAddress common.Address ) @@ -86,19 +83,19 @@ func main() { fmt.Printf("id: %v, item_age: %v, item_name: %v \n", id, item_name, item_age) } -func parseOutput(abiStr, name string, receipt *types.Receipt) (*big.Int, error) { - parsed, err := abi.JSON(strings.NewReader(abiStr)) - if err != nil { - fmt.Printf("parse ABI failed, err: %v", err) - } - var ret *big.Int - b, err := hex.DecodeString(receipt.Output[2:]) - if err != nil { - return nil, fmt.Errorf("decode receipt.Output[2:] failed, err: %v", err) - } - err = parsed.Unpack(&ret, name, b) - if err != nil { - return nil, fmt.Errorf("unpack %v failed, err: %v", name, err) - } - return ret, nil -} +// func parseOutput(abiStr, name string, receipt *types.Receipt) (*big.Int, error) { +// parsed, err := abi.JSON(strings.NewReader(abiStr)) +// if err != nil { +// fmt.Printf("parse ABI failed, err: %v", err) +// } +// var ret *big.Int +// b, err := hex.DecodeString(receipt.Output[2:]) +// if err != nil { +// return nil, fmt.Errorf("decode receipt.Output[2:] failed, err: %v", err) +// } +// err = parsed.Unpack(&ret, name, b) +// if err != nil { +// return nil, fmt.Errorf("unpack %v failed, err: %v", name, err) +// } +// return ret, nil +// } diff --git a/examples/kvtable_test_sync/main.go b/v3/examples/kvtable_test_sync/main.go similarity index 92% rename from examples/kvtable_test_sync/main.go rename to v3/examples/kvtable_test_sync/main.go index daa2fe8a..20c71229 100644 --- a/examples/kvtable_test_sync/main.go +++ b/v3/examples/kvtable_test_sync/main.go @@ -7,10 +7,10 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - kvtable "github.com/FISCO-BCOS/go-sdk/examples" // import kvtabletest + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/client" + kvtable "github.com/FISCO-BCOS/go-sdk/v3/examples" // import kvtabletest + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/sirupsen/logrus" ) diff --git a/v3/go.mod b/v3/go.mod new file mode 100644 index 00000000..48de8502 --- /dev/null +++ b/v3/go.mod @@ -0,0 +1,95 @@ +module github.com/FISCO-BCOS/go-sdk/v3 + +go 1.21.5 + +replace ( + // github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec => ../../bcos-c-sdk + golang.org/x/net => github.com/golang/net v0.0.0-20190415214537-1da14a5a36f2 + golang.org/x/sync => github.com/golang/sync v0.0.0-20190412183630-56d357773e84 +) + +require ( + github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec + github.com/FISCO-BCOS/go-sdk v1.0.0 + github.com/ethereum/go-ethereum v1.10.21 + github.com/sirupsen/logrus v1.8.1 + github.com/spf13/cobra v1.0.0 + github.com/urfave/cli/v2 v2.10.2 + golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 +) + +require ( + github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1 // indirect + github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect + github.com/VictoriaMetrics/fastcache v1.6.0 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect + github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect + github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/deckarep/golang-set v1.8.0 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect + github.com/deepmap/oapi-codegen v1.8.2 // indirect + github.com/edsrzf/mmap-go v1.0.0 // indirect + github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect + github.com/fsnotify/fsnotify v1.4.9 // indirect + github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect + github.com/go-ole/go-ole v1.2.5 // indirect + github.com/go-stack/stack v1.8.0 // indirect + github.com/golang-jwt/jwt/v4 v4.3.0 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/go-cmp v0.5.5 // indirect + github.com/google/uuid v1.2.0 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/graph-gophers/graphql-go v1.3.0 // indirect + github.com/hashicorp/go-bexpr v0.1.10 // indirect + github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/holiman/bloomfilter/v2 v2.0.3 // indirect + github.com/holiman/uint256 v1.2.0 // indirect + github.com/huin/goupnp v1.0.3 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/influxdata/influxdb v1.8.3 // indirect + github.com/influxdata/influxdb-client-go/v2 v2.4.0 // indirect + github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // indirect + github.com/jackpal/go-nat-pmp v1.0.2 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/magiconair/properties v1.8.1 // indirect + github.com/mattn/go-colorable v0.1.8 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/mattn/go-runewidth v0.0.9 // indirect + github.com/mitchellh/mapstructure v1.4.1 // indirect + github.com/mitchellh/pointerstructure v1.2.0 // indirect + github.com/olekukonko/tablewriter v0.0.5 // indirect + github.com/opentracing/opentracing-go v1.1.0 // indirect + github.com/patrickmn/go-cache v2.1.0+incompatible // indirect + github.com/pelletier/go-toml v1.2.0 // indirect + github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/prometheus/tsdb v0.7.1 // indirect + github.com/rjeczalik/notify v0.9.1 // indirect + github.com/rs/cors v1.7.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect + github.com/spf13/afero v1.1.2 // indirect + github.com/spf13/cast v1.3.0 // indirect + github.com/spf13/jwalterweatherman v1.0.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/viper v1.6.2 // indirect + github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 // indirect + github.com/subosito/gotenv v1.2.0 // indirect + github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect + github.com/tklauser/go-sysconf v0.3.5 // indirect + github.com/tklauser/numcpus v0.2.2 // indirect + github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef // indirect + github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect + golang.org/x/net v0.2.0 // indirect + golang.org/x/sync v0.1.0 // indirect + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect + golang.org/x/text v0.3.7 // indirect + golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + gopkg.in/ini.v1 v1.51.0 // indirect + gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect +) diff --git a/v3/go.sum b/v3/go.sum new file mode 100644 index 00000000..afbb6f51 --- /dev/null +++ b/v3/go.sum @@ -0,0 +1,784 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= +github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= +github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= +github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= +github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= +github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= +github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= +github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= +github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= +github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= +github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I= +github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= +github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec h1:flo/0fBn5dYHy41gIPZNiiFVN/Fc5KfnfQStgYOuiCI= +github.com/FISCO-BCOS/bcos-c-sdk v0.0.0-20231221132830-c0cfb1d98eec/go.mod h1:7kTVptunvfx0JH/XIuFj0ybRq0MLAsK4daizrE9RvN0= +github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1 h1:ThPht4qK10+cMZC5COIjHPq0INm5HAMVYqrez5zEgFI= +github.com/FISCO-BCOS/crypto v0.0.0-20200202032121-bd8ab0b5d4f1/go.mod h1:UrLdwsFrjiaCsvdcPLcH6B7s/FUmym3qfM93u2ziR+4= +github.com/FISCO-BCOS/go-sdk v1.0.0 h1:dExEMsTuL/5IK9Gn4vLrXJ6tTp3ctcqsxDedhIpxoGo= +github.com/FISCO-BCOS/go-sdk v1.0.0/go.mod h1:cN9Q0KQI1siBtpGInl4DP9LijGIwUo2iaf+ogNhe07E= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/Shopify/sarama v1.26.1/go.mod h1:NbSGBSSndYaIhRcBtY9V0U7AyH+x71bG668AuWys/yU= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= +github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk= +github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= +github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= +github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o= +github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= +github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= +github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= +github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= +github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= +github.com/aristanetworks/fsnotify v1.4.2/go.mod h1:D/rtu7LpjYM8tRJphJ0hUBYpjai8SfX+aSNsWDTq/Ks= +github.com/aristanetworks/glog v0.0.0-20191112221043-67e8567f59f3/go.mod h1:KASm+qXFKs/xjSoWn30NrWBBvdTTQq+UjkhjEJHfSFA= +github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= +github.com/aristanetworks/goarista v0.0.0-20210107181124-fad53805024e/go.mod h1:Q4lsGfepQE823ePrSNr2CjCz1oeeMECJ6k1yBVujrZg= +github.com/aristanetworks/splunk-hec-go v0.3.3/go.mod h1:1VHO9r17b0K7WmOlLb9nTk/2YanvOEnLMUgsFrxBROc= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= +github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= +github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6/go.mod h1:Dmm/EzmjnCiweXmzRIAiUWCInVmPgjkzgv5k4tVyXiQ= +github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= +github.com/btcsuite/btcd v0.21.0-beta/go.mod h1:ZSWyehm27aAuS9bvkATT+Xte3hjHZ+MRgMY/8NJ7K94= +github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= +github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= +github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 h1:59Kx4K6lzOW5w6nFlA0v5+lk/6sjybR934QNHSJZPTQ= +github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= +github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= +github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= +github.com/btcsuite/btcutil v1.0.2/go.mod h1:j9HUFwoQRsZL3V4n+qG+CUnEGHOarIxfC3Le2Yhbcts= +github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= +github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= +github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= +github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= +github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= +github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= +github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= +github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= +github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= +github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= +github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= +github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= +github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= +github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= +github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= +github.com/deepmap/oapi-codegen v1.8.2 h1:SegyeYGcdi0jLLrpbCMoJxnUUn8GBXHsvr4rbzjuhfU= +github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= +github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v1.6.2 h1:HlFGsy+9/xrgMmhmN+NGhCc5SHGJ7I+kHosRR1xc/aI= +github.com/docker/docker v1.6.2/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/dop251/goja v0.0.0-20200219165308-d1232e640a87/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= +github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= +github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/ethereum/go-ethereum v1.9.16/go.mod h1:kihoiSg74VC4dZAXMkmoWp70oQabz48BJg1tuzricFc= +github.com/ethereum/go-ethereum v1.10.21 h1:5lqsEx92ZaZzRyOqBEXux4/UR06m296RGzN3ol3teJY= +github.com/ethereum/go-ethereum v1.10.21/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= +github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= +github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= +github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/frankban/quicktest v1.7.2/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/garyburd/redigo v1.6.0/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= +github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqGNY4FhTFhk+o9oFHGINQ/+vhlm8HFzi6znCI= +github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= +github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= +github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= +github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= +github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= +github.com/go-ole/go-ole v1.2.5 h1:t4MGB5xEDZvXI+0rMjjsfBsD7yAgp/s9ZDkL1JndXwY= +github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= +github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/golang-jwt/jwt/v4 v4.3.0 h1:kHL1vqdqWNfATmA0FNMdmZNMyZI1U6O31X4rlIPoBog= +github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/net v0.0.0-20190415214537-1da14a5a36f2 h1:CeAmrMMyQagRyYFYClSHWQ+kh96qJ2F7IQijlikXulg= +github.com/golang/net v0.0.0-20190415214537-1da14a5a36f2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2-0.20190517061210-b285ee9cfc6c/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.2-0.20200707131729-196ae77b8a26/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/sync v0.0.0-20190412183630-56d357773e84 h1:OHU3tnAMI+SYCUwR2ga5ovIEa1TKf4AVm2SU/dST1W8= +github.com/golang/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1-0.20190629185528-ae1634f6a989/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= +github.com/graph-gophers/graphql-go v1.3.0 h1:Eb9x/q6MFpCLz7jBCiP/WTxjSDrYLR1QY41SORZyNJ0= +github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/go-bexpr v0.1.10 h1:9kuI5PFotCboP3dkDYFr/wi0gg0QVbSNz5oFRpxn4uE= +github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao= +github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= +github.com/holiman/uint256 v1.1.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= +github.com/holiman/uint256 v1.1.1/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= +github.com/holiman/uint256 v1.2.0 h1:gpSYcPLWGv4sG43I2mVLiDZCNDh/EpGjSk8tmtxitHM= +github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= +github.com/huin/goupnp v1.0.3 h1:N8No57ls+MnjlB+JPiCVSOyy/ot7MJTqlo7rn+NYSqQ= +github.com/huin/goupnp v1.0.3/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y= +github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/flux v0.65.1/go.mod h1:J754/zds0vvpfwuq7Gc2wRdVwEodfpCFM7mYlOw2LqY= +github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= +github.com/influxdata/influxdb v1.8.3 h1:WEypI1BQFTT4teLM+1qkEcvUi0dAvopAI/ir0vAiBg8= +github.com/influxdata/influxdb v1.8.3/go.mod h1:JugdFhsvvI8gadxOI6noqNeeBHvWNTbfYGtiAn+2jhI= +github.com/influxdata/influxdb-client-go/v2 v2.4.0 h1:HGBfZYStlx3Kqvsv1h2pJixbCl/jhnFtxpKFAv9Tu5k= +github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385/go.mod h1:gHp9y86a/pxhjJ+zMjNXiQAA197Xk9wLxaz+fGG+kWk= +github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e/go.mod h1:4kt73NQhadE3daL3WhR5EJ/J2ocX0PZzwxQ0gXJ7oFE= +github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= +github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 h1:vilfsDSy7TDxedi9gyBkMvAirat/oRcL0lFdJBf6tdM= +github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= +github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19ybifQhZoQNF5D8= +github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= +github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= +github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= +github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= +github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= +github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= +github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= +github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.1.1-0.20170430222011-975b5c4c7c21/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= +github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= +github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/klauspost/compress v1.9.8/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/klauspost/compress v1.10.1/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= +github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= +github.com/klauspost/reedsolomon v1.9.3/go.mod h1:CwCi+NUr9pqSVktrkN+Ondf06rkhYZ/pcNv7fu+8Un4= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= +github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.0/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= +github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= +github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A= +github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= +github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= +github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0 h1:2mOpI4JVVPBN+WQRa0WKH2eXR+Ey+uK4n7Zj0aYpIQA= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c/go.mod h1:t+O9It+LKzfOAhKTT5O0ehDix+MTqbtT0T9t+7zzOvc= +github.com/openconfig/reference v0.0.0-20190727015836-8dfd928c9696/go.mod h1:ym2A+zigScwkSEb/cVQB0/ZMpU3rqiH6X7WRRsxgOGw= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= +github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= +github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= +github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= +github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= +github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= +github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= +github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4 v2.4.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.4.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/prometheus/procfs v0.0.10/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA= +github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= +github.com/rjeczalik/notify v0.9.1 h1:CLCKso/QK1snAlnhNR/CNvNiFU2saUtjV0bx3EwNeCE= +github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= +github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= +github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= +github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521/go.mod h1:RvLn4FgxWubrpZHtQLnOf6EwhN2hEMusxZOhcW9H3UQ= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= +github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shirou/gopsutil v2.20.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shirou/gopsutil v3.20.12+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= +github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= +github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/viper v1.6.2 h1:7aKfF+e8/k68gda3LOjo5RxiUqddoFxVq4BKBPrxk5E= +github.com/spf13/viper v1.6.2/go.mod h1:t3iDnF5Jlj76alVNuyFBk5oUMCvsrkbvZK0WQdfDi5k= +github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 h1:Gb2Tyox57NRNuZ2d3rmvB3pcmbu7O1RS3m8WRx7ilrg= +github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= +github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= +github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= +github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= +github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161/go.mod h1:wM7WEvslTq+iOEAMDLSzhVuOt5BRZ05WirO+b09GHQU= +github.com/templexxx/xor v0.0.0-20191217153810-f85b25db303b/go.mod h1:5XA7W9S6mni3h5uvOC75dA3m9CCCaS83lltmc0ukdi4= +github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= +github.com/tjfoc/gmsm v1.3.0/go.mod h1:HaUcFuY0auTiaHB9MHFGCPx5IaLhTUd2atbCFBQXn9w= +github.com/tklauser/go-sysconf v0.3.5 h1:uu3Xl4nkLzQfXNsWn15rPc/HQCJKObbt1dKJeWp3vU4= +github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= +github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= +github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef h1:wHSqTBrZW24CsNJDfeh9Ex6Pm0Rcpc7qrgKBiL44vF4= +github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= +github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/urfave/cli/v2 v2.10.2 h1:x3p8awjp/2arX+Nl/G2040AZpOCHS/eMJJ1/a+mye4Y= +github.com/urfave/cli/v2 v2.10.2/go.mod h1:f8iq5LtQ/bLxafbdBSLPPNsgaW0l/2fYYEHhAyPlwvo= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= +github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208/go.mod h1:IotVbo4F+mw0EzQ08zFqg7pK3FebNXpaMsRy2RT+Ees= +github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= +github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= +github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= +github.com/xtaci/kcp-go v5.4.20+incompatible/go.mod h1:bN6vIwHQbfHaHtFpEssmWsN45a+AZwO7eyRCmEIbtvE= +github.com/xtaci/lossyconn v0.0.0-20190602105132-8df528c0c9ae/go.mod h1:gXtu8J62kEgmN++bm9BVICuT/e8yiLI2KFobd/TRFsE= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191219195013-becbf705a915/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200204104054-c9f3fb736b72/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +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= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +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-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200219091948-cb0a6d8edb6c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba h1:O8mE0/t419eoIwhTFpKVkHiTs/Igowgfkj25AcZrtiE= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200221224223-e1da425f72fd/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +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= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= +gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/bsm/ratelimit.v1 v1.0.0-20160220154919-db14e161995a/go.mod h1:KF9sEfUPAXdG8Oev9e99iLGnl2uJMjc5B+4y3O7x610= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +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-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/ini.v1 v1.51.0 h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod h1:nsR8qBOg+OucoIW+WMhB3GspUQXq9XorLnQb9XtvcOo= +gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod h1:m3v+5svpVOhtFAP/wSz+yzh4Mc0Fg7eRhxkJMWSIz9Q= +gopkg.in/jcmturner/goidentity.v3 v3.0.0/go.mod h1:oG2kH0IvSYNIu80dVAyu/yoefjq1mNfM5bm88whjWx4= +gopkg.in/jcmturner/gokrb5.v7 v7.5.0/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= +gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8= +gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= +gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= +gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= +gopkg.in/redis.v4 v4.2.4/go.mod h1:8KREHdypkCEojGKQcjMqAODMICIVwZAONWq8RowTITA= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +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= +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/mobile/ios/README.md b/v3/ios/README.md similarity index 100% rename from mobile/ios/README.md rename to v3/ios/README.md diff --git a/mobile/ios/contract_proxy.go b/v3/ios/contract_proxy.go similarity index 98% rename from mobile/ios/contract_proxy.go rename to v3/ios/contract_proxy.go index f54a11b7..423fa128 100644 --- a/mobile/ios/contract_proxy.go +++ b/v3/ios/contract_proxy.go @@ -10,8 +10,8 @@ import ( "strconv" "sync/atomic" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" diff --git a/mobile/ios/fisco_bcos_ios_sdk.go b/v3/ios/fisco_bcos_ios_sdk.go similarity index 99% rename from mobile/ios/fisco_bcos_ios_sdk.go rename to v3/ios/fisco_bcos_ios_sdk.go index 59131b54..3dda79fb 100644 --- a/mobile/ios/fisco_bcos_ios_sdk.go +++ b/v3/ios/fisco_bcos_ios_sdk.go @@ -13,10 +13,10 @@ import ( "strings" "unsafe" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/mobile/ios/rpc_message.go b/v3/ios/rpc_message.go similarity index 100% rename from mobile/ios/rpc_message.go rename to v3/ios/rpc_message.go diff --git a/precompiled/auth/AccountManager.go b/v3/precompiled/auth/AccountManager.go similarity index 98% rename from precompiled/auth/AccountManager.go rename to v3/precompiled/auth/AccountManager.go index 62bfb795..9a5f4683 100644 --- a/precompiled/auth/AccountManager.go +++ b/v3/precompiled/auth/AccountManager.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/Committee.go b/v3/precompiled/auth/Committee.go similarity index 99% rename from precompiled/auth/Committee.go rename to v3/precompiled/auth/Committee.go index 8b08a515..3cc63dbe 100644 --- a/precompiled/auth/Committee.go +++ b/v3/precompiled/auth/Committee.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/CommitteeManager.go b/v3/precompiled/auth/CommitteeManager.go similarity index 99% rename from precompiled/auth/CommitteeManager.go rename to v3/precompiled/auth/CommitteeManager.go index f0fb2e14..cd038564 100644 --- a/precompiled/auth/CommitteeManager.go +++ b/v3/precompiled/auth/CommitteeManager.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/ContractAuth.go b/v3/precompiled/auth/ContractAuth.go similarity index 99% rename from precompiled/auth/ContractAuth.go rename to v3/precompiled/auth/ContractAuth.go index eff2bcb2..1c339587 100644 --- a/precompiled/auth/ContractAuth.go +++ b/v3/precompiled/auth/ContractAuth.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/ContractAuthPrecompiled.go b/v3/precompiled/auth/ContractAuthPrecompiled.go similarity index 99% rename from precompiled/auth/ContractAuthPrecompiled.go rename to v3/precompiled/auth/ContractAuthPrecompiled.go index 4da22ff9..3e30d5de 100644 --- a/precompiled/auth/ContractAuthPrecompiled.go +++ b/v3/precompiled/auth/ContractAuthPrecompiled.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/ProposalManager.go b/v3/precompiled/auth/ProposalManager.go similarity index 99% rename from precompiled/auth/ProposalManager.go rename to v3/precompiled/auth/ProposalManager.go index 0cf8692d..7d3609cb 100644 --- a/precompiled/auth/ProposalManager.go +++ b/v3/precompiled/auth/ProposalManager.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/auth/README.md b/v3/precompiled/auth/README.md similarity index 100% rename from precompiled/auth/README.md rename to v3/precompiled/auth/README.md diff --git a/precompiled/auth/auth_manager_service.go b/v3/precompiled/auth/auth_manager_service.go similarity index 95% rename from precompiled/auth/auth_manager_service.go rename to v3/precompiled/auth/auth_manager_service.go index f7f8d915..dbc24a16 100644 --- a/precompiled/auth/auth_manager_service.go +++ b/v3/precompiled/auth/auth_manager_service.go @@ -5,10 +5,10 @@ import ( "math/big" "reflect" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) @@ -30,13 +30,13 @@ type CommitteeInfo struct { } type AuthManagerService struct { - client *client.Client - authManagerAuth *bind.TransactOpts - contractAuth *ContractAuth - accountManager *AccountManager - committee *Committee - committeeManager *CommitteeManager - proposalManager *ProposalManager + client *client.Client + authManagerAuth *bind.TransactOpts + contractAuth *ContractAuth + accountManager *AccountManager + committee *Committee + committeeManager *CommitteeManager + proposalManager *ProposalManager } var committeeManagerAddress = common.HexToAddress("0000000000000000000000000000000000010001") @@ -65,7 +65,7 @@ func NewAuthManagerService(client *client.Client) (services *AuthManagerService, return nil, fmt.Errorf("NewContractAuth construct Service failed, err: %+v", err) } - opts := &bind.CallOpts{From: authManagerAuth.From} + opts := &bind.CallOpts{From: authManagerAuth.From} committeeCon, err := committeeManagerInstance.Committee(opts) committeeInstance, err := NewCommittee(committeeCon, client) if err != nil { @@ -79,12 +79,12 @@ func NewAuthManagerService(client *client.Client) (services *AuthManagerService, } s := &AuthManagerService{client: client, - authManagerAuth: authManagerAuth, - accountManager: accountManagerInstance, - committeeManager: committeeManagerInstance, - committee: committeeInstance, - contractAuth: contractAuthInstance, - proposalManager: proposalManagerInstance, + authManagerAuth: authManagerAuth, + accountManager: accountManagerInstance, + committeeManager: committeeManagerInstance, + committee: committeeInstance, + contractAuth: contractAuthInstance, + proposalManager: proposalManagerInstance, } return s, nil @@ -121,7 +121,7 @@ func (service *AuthManagerService) SetAccountStatus(addr common.Address, status } return int64(ret0), err } - + /** * ************************************************************************************************************** * Committee @@ -316,7 +316,6 @@ func (service *AuthManagerService) SetMethodAuth(contractAddr common.Address, fu } - /** * ************************************************************************************************************** * CommitteeManager @@ -412,7 +411,7 @@ func (service *AuthManagerService) ResetAdmin(newAdmin common.Address, contractA // revoke proposal, only governor can call it func (service *AuthManagerService) RevokeProposal(proposalId big.Int) (receipt *types.Receipt, err error) { - + _, receipt, err = service.committeeManager.RevokeProposal(service.client.GetTransactOpts(), &proposalId) if err != nil { diff --git a/precompiled/auth/auth_manager_service_test.go b/v3/precompiled/auth/auth_manager_service_test.go similarity index 83% rename from precompiled/auth/auth_manager_service_test.go rename to v3/precompiled/auth/auth_manager_service_test.go index 7d03fdde..7b33b6a1 100644 --- a/precompiled/auth/auth_manager_service_test.go +++ b/v3/precompiled/auth/auth_manager_service_test.go @@ -3,33 +3,35 @@ package auth import ( "context" "encoding/hex" - "strconv" "fmt" + "math/big" "os" + "strconv" "testing" - "math/big" - "github.com/FISCO-BCOS/go-sdk/client" - // "github.com/FISCO-BCOS/go-sdk/core/types" - // "github.com/FISCO-BCOS/go-sdk/precompiled" + + "github.com/FISCO-BCOS/go-sdk/v3/client" + + // "github.com/FISCO-BCOS/go-sdk/v3/types" + // "github.com/FISCO-BCOS/go-sdk/v3/precompiled" "github.com/ethereum/go-ethereum/common" ) const ( - accountAddress_string = "0xfe5625acd8b8effbf87ef65f9ed9ddc3390114f5" //治理委员,contractAddress的管理员 + accountAddress_string = "0xfe5625acd8b8effbf87ef65f9ed9ddc3390114f5" //治理委员,contractAddress的管理员 normalAccountAddress_string = "0x4fdc7f1e05e48b4b252df0e815dbe107935c8618" - funcSelector_string = "4ed3885e" //setWeight(address,uint32) - status = uint8(1) - authType = uint8(2) // 1:white_list. 2:black_list - isOpen = false - weight = 5 - participatesRate = uint8(50) - winRate = uint8(60) - openFlag = false + funcSelector_string = "4ed3885e" //setWeight(address,uint32) + status = uint8(1) + authType = uint8(2) // 1:white_list. 2:black_list + isOpen = false + weight = 5 + participatesRate = uint8(50) + winRate = uint8(60) + openFlag = false ) var ( - service *AuthManagerService - channel = make(chan int) + service *AuthManagerService + channel = make(chan int) deployedContract_string string ) @@ -49,7 +51,7 @@ func getClient(t *testing.T) *client.Client { weightList := []uint32{uint32(2)} address, _, _, err := DeployCommittee(c.GetTransactOpts(), c, governorList, weightList, participatesRate, winRate) deployedContract_string = address.String() - fmt.Println("deployedContract_string",deployedContract_string) + fmt.Println("deployedContract_string", deployedContract_string) return c } @@ -81,8 +83,6 @@ func TestMain(m *testing.M) { * ************************************************* **/ - - func TestGetAccountStatus(t *testing.T) { address_common := common.HexToAddress(accountAddress_string) @@ -103,7 +103,7 @@ func TestGetAccountStatus(t *testing.T) { func TestSetAccountStatus(t *testing.T) { address_common := common.HexToAddress(normalAccountAddress_string) ret0, err := service.SetAccountStatus(address_common, status) - + if err != nil { t.Fatalf("TestSetAccountStatus failed: %v", err) } @@ -199,7 +199,7 @@ func TestCheckMethodAuth(t *testing.T) { contractAddress_common := common.HexToAddress(deployedContract_string) funcSelector := StringToByteList_FuncSelector(funcSelector_string) - ret0, err := service.CheckMethodAuth(contractAddress_common,funcSelector,accountAddress_common) + ret0, err := service.CheckMethodAuth(contractAddress_common, funcSelector, accountAddress_common) if err != nil { t.Fatalf("TestCheckMethodAuth failed: %v", err) } @@ -217,7 +217,6 @@ func TestGetAdmin(t *testing.T) { t.Logf("ret0: %v\n", *ret0) } - /** * ************************************************* * 合约管理员账号专用接口 @@ -228,15 +227,15 @@ func TestSetMethodAuthType(t *testing.T) { // funcSelector_string: "4ed3885e" accountAddress_common := common.HexToAddress(accountAddress_string) contractAddress_common := common.HexToAddress(deployedContract_string) - fmt.Println("deployedContract_string",deployedContract_string) + fmt.Println("deployedContract_string", deployedContract_string) tempByte, err := hex.DecodeString(funcSelector_string) var funcSelector [4]byte - copy(funcSelector[:],tempByte) - fmt.Println("funcSelector",funcSelector) + copy(funcSelector[:], tempByte) + fmt.Println("funcSelector", funcSelector) ret0, err := service.SetMethodAuthType(contractAddress_common, funcSelector, authType) - + if err != nil { t.Fatalf("TestSetMethodAuthType failed: %v", err) } @@ -244,12 +243,12 @@ func TestSetMethodAuthType(t *testing.T) { t.Fatalf("TestSetMethodAuthType failed, the ret0 \"%v\" is inconsistent with \"0\"", ret0) } - tempBool:=true - if authType==1 { - tempBool=false + tempBool := true + if authType == 1 { + tempBool = false } - ret1, err := service.CheckMethodAuth(contractAddress_common,funcSelector,accountAddress_common) + ret1, err := service.CheckMethodAuth(contractAddress_common, funcSelector, accountAddress_common) if *ret1 != tempBool { t.Fatalf("TestSetMethodAuthType failed, the ret1 \"%v\" is inconsistent with the tempBool \"%v\"", *ret1, tempBool) } @@ -264,11 +263,11 @@ func TestSetMethodAuth(t *testing.T) { tempByte, err := hex.DecodeString(funcSelector_string) var funcSelector [4]byte - copy(funcSelector[:],tempByte) - fmt.Println("funcSelector",funcSelector) + copy(funcSelector[:], tempByte) + fmt.Println("funcSelector", funcSelector) ret0, err := service.SetMethodAuth(contractAddress_common, funcSelector, accountAddress_common, isOpen) - + if err != nil { t.Fatalf("TestSetMethodAuth failed: %v", err) } @@ -276,7 +275,7 @@ func TestSetMethodAuth(t *testing.T) { t.Fatalf("TestSetMethodAuth failed, the ret0 \"%v\" is inconsistent with \"0\"", ret0) } - ret1, err := service.CheckMethodAuth(contractAddress_common,funcSelector,accountAddress_common) + ret1, err := service.CheckMethodAuth(contractAddress_common, funcSelector, accountAddress_common) if *ret1 != isOpen { t.Fatalf("TestSetMethodAuthType failed, the ret1 \"%v\" is inconsistent with the isOpen \"%v\"", *ret1, isOpen) } @@ -287,10 +286,10 @@ func TestSetMethodAuth(t *testing.T) { func StringToByteList_FuncSelector(s string) [4]byte { byteList := [4]byte{} - index:=0 - for i := 0; i < len(s); i+=2 { - tempStr:=s[i:i+2] - byteList[index]=Hex2Dec(tempStr) + index := 0 + for i := 0; i < len(s); i += 2 { + tempStr := s[i : i+2] + byteList[index] = Hex2Dec(tempStr) index++ } return byteList @@ -320,7 +319,7 @@ func Hex2Dec(val string) uint8 { func TestUpdateGovernor(t *testing.T) { accountAddress_common := common.HexToAddress(accountAddress_string) ret0, err := service.UpdateGovernor(accountAddress_common, weight) - + if err != nil { t.Fatalf("TestUpdateGovernor failed: %v", err) } @@ -333,7 +332,7 @@ func TestUpdateGovernor(t *testing.T) { func TestSetRate(t *testing.T) { ret0, err := service.SetRate(participatesRate, winRate) - + if err != nil { t.Fatalf("TestSetRate failed: %v", err) } @@ -357,14 +356,14 @@ func TestSetDeployAuthType(t *testing.T) { // You need to set the deployAuthType to be different from before var deployAuthType uint8 - if uint8(ret0.Uint64()) == uint8(2){ - deployAuthType=uint8(1) - }else{ - deployAuthType=uint8(2) + if uint8(ret0.Uint64()) == uint8(2) { + deployAuthType = uint8(1) + } else { + deployAuthType = uint8(2) } ret1, err := service.SetDeployAuthType(deployAuthType) - + if err != nil { t.Fatalf("TestSetDeployAuthType failed: %v", err) } @@ -378,7 +377,7 @@ func TestSetDeployAuthType(t *testing.T) { func TestModifyDeployAuth(t *testing.T) { address_common := common.HexToAddress(normalAccountAddress_string) ret0, err := service.ModifyDeployAuth(address_common, openFlag) - + if err != nil { t.Fatalf("TestModifyDeployAuth failed: %v", err) } @@ -393,7 +392,7 @@ func TestResetAdmin(t *testing.T) { newAdmin_common := common.HexToAddress(normalAccountAddress_string) contractAddress_common := common.HexToAddress(deployedContract_string) ret0, err := service.ResetAdmin(newAdmin_common, contractAddress_common) - + if err != nil { t.Fatalf("TestResetAdmin failed: %v", err) } @@ -410,17 +409,17 @@ func TestRevokeProposal(t *testing.T) { // service.SetRate(participatesRate, winRate) lastProposalNum, _ := service.ProposalCount() - lastProposalStatus, _:= service.GetProposalStatus(lastProposalNum) + lastProposalStatus, _ := service.GetProposalStatus(lastProposalNum) _, err := service.RevokeProposal(*lastProposalNum) if err != nil { t.Fatalf("TestRevokeProposal failed: %v", err) } - lastProposalNewStatus, _:= service.GetProposalStatus(lastProposalNum) + lastProposalNewStatus, _ := service.GetProposalStatus(lastProposalNum) //0-not exist 1-created 2-passed 3-denied 4-revoked 5-outdated - if lastProposalStatus==uint8(1) && lastProposalNewStatus!=uint8(4){ + if lastProposalStatus == uint8(1) && lastProposalNewStatus != uint8(4) { t.Fatalf("TestRevokeProposal failed") } @@ -434,7 +433,7 @@ func TestVoteProposal(t *testing.T) { service.UpdateGovernor(accountAddress_common, weight) lastProposalNum, _ := service.ProposalCount() - lastProposalStatus, _:= service.GetProposalStatus(lastProposalNum) + lastProposalStatus, _ := service.GetProposalStatus(lastProposalNum) agree := false _, err := service.VoteProposal(*lastProposalNum, agree) @@ -445,10 +444,10 @@ func TestVoteProposal(t *testing.T) { proposalInfo, err := service.GetProposalInfo(lastProposalNum) againstVoters := proposalInfo.AgainstVoters - lastProposalNewStatus, _:= service.GetProposalStatus(lastProposalNum) + lastProposalNewStatus, _ := service.GetProposalStatus(lastProposalNum) t.Logf("lastProposalNum: %v\n", lastProposalNum) t.Logf("lastProposalStatus: %v\n", lastProposalStatus) t.Logf("againstVoters: %v\n", againstVoters) t.Logf("lastProposalNewStatus: %v\n", lastProposalNewStatus) -} \ No newline at end of file +} diff --git a/precompiled/bfs/bfs.go b/v3/precompiled/bfs/bfs.go similarity index 99% rename from precompiled/bfs/bfs.go rename to v3/precompiled/bfs/bfs.go index 7252728c..7b18b9ff 100644 --- a/precompiled/bfs/bfs.go +++ b/v3/precompiled/bfs/bfs.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/bfs/bfs_service.go b/v3/precompiled/bfs/bfs_service.go similarity index 96% rename from precompiled/bfs/bfs_service.go rename to v3/precompiled/bfs/bfs_service.go index 4124ca97..5755417c 100644 --- a/precompiled/bfs/bfs_service.go +++ b/v3/precompiled/bfs/bfs_service.go @@ -3,12 +3,13 @@ package bfs import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" - "github.com/ethereum/go-ethereum/common" "math/big" + + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" + "github.com/ethereum/go-ethereum/common" ) type Service struct { @@ -119,5 +120,3 @@ func (service *Service) Readlink(absolutePath string) (common.Address, error) { // opts := &bind.CallOpts{From: service.bfsAuth.From} // return service.bfs.AsyncRebuildBfs(handler, opts) // } - - diff --git a/precompiled/bfs/bfs_service_test.go b/v3/precompiled/bfs/bfs_service_test.go similarity index 80% rename from precompiled/bfs/bfs_service_test.go rename to v3/precompiled/bfs/bfs_service_test.go index df505362..651b8108 100644 --- a/precompiled/bfs/bfs_service_test.go +++ b/v3/precompiled/bfs/bfs_service_test.go @@ -3,27 +3,27 @@ package bfs import ( "context" "encoding/hex" - "os" - "testing" "fmt" "math/big" + "os" "reflect" - "time" "strings" + "testing" + "time" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" // "github.com/ethereum/go-ethereum/common" ) const ( - standardOutput = 0 - timeout = 1 * time.Second - name = "hello_v11" - version = "11.0" - address = "0xc92ad282ba7868b032341a3921b3635b0c45de74" - testABI = `[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"get","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"n","type":"string"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"}]` + standardOutput = 0 + timeout = 1 * time.Second + name = "hello_v11" + version = "11.0" + address = "0xc92ad282ba7868b032341a3921b3635b0c45de74" + testABI = `[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"get","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"n","type":"string"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"}]` absolutePath_link = "/testlink" ) @@ -60,14 +60,14 @@ func TestMain(m *testing.M) { func TestList0(t *testing.T) { absolutePath := "/sys/bfs" - testInfo := BfsInfo{"bfs", "link", []string{"000000000000000000000000000000000000100e"} } + testInfo := BfsInfo{"bfs", "link", []string{"000000000000000000000000000000000000100e"}} ret0, ret1, err := service.List0(absolutePath) if err != nil { t.Fatalf("Service List0 failed: %+v\n", err) } - if ret0!=standardOutput || ret1[0].FileName != testInfo.FileName || ret1[0].FileType != testInfo.FileType || reflect.DeepEqual(ret1[0].Ext[:len(testInfo.Ext)], testInfo.Ext)==false{ + if ret0 != standardOutput || ret1[0].FileName != testInfo.FileName || ret1[0].FileType != testInfo.FileType || reflect.DeepEqual(ret1[0].Ext[:len(testInfo.Ext)], testInfo.Ext) == false { t.Fatalf("TestList0 failed, the ret1 %v is inconsistent with \"%v\"", ret1, testInfo) } @@ -78,14 +78,14 @@ func TestList(t *testing.T) { absolutePath := "/sys" offset := big.NewInt(2) limit := big.NewInt(1) - testInfo := BfsInfo{"bfs", "link", []string{"0","0"} } + testInfo := BfsInfo{"bfs", "link", []string{"0", "0"}} - ret0, ret1, err := service.List(absolutePath,offset,limit) + ret0, ret1, err := service.List(absolutePath, offset, limit) if err != nil { t.Fatalf("Service List failed: %+v\n", err) } - if ret1[0].FileName != testInfo.FileName || ret1[0].FileType != testInfo.FileType || reflect.DeepEqual(ret1[0].Ext[:len(testInfo.Ext)], testInfo.Ext)==false{ + if ret1[0].FileName != testInfo.FileName || ret1[0].FileType != testInfo.FileType || reflect.DeepEqual(ret1[0].Ext[:len(testInfo.Ext)], testInfo.Ext) == false { t.Fatalf("TestList failed, the ret1 %v is inconsistent with \"%v\"", ret1, testInfo) } @@ -143,7 +143,7 @@ func TestAsyncMkdir(t *testing.T) { } func TestLink(t *testing.T) { - ret0, err := service.Link(absolutePath_link,address, testABI) + ret0, err := service.Link(absolutePath_link, address, testABI) if err != nil { t.Fatalf("Service Link failed: %+v\n", err) } @@ -176,7 +176,7 @@ func TestAsyncLink(t *testing.T) { channel <- 0 } - _, err := service.AsyncLink(handler,absolutePath_link,address, testABI) + _, err := service.AsyncLink(handler, absolutePath_link, address, testABI) if err != nil { t.Fatalf("remove data failed: %v", err) } @@ -235,11 +235,11 @@ func TestAsyncLink0(t *testing.T) { } func TestReadlink(t *testing.T) { - ret0, err := service.Readlink("/apps"+absolutePath_link) + ret0, err := service.Readlink("/apps" + absolutePath_link) if err != nil { t.Fatalf("Service Link0 failed: %+v\n", err) } - fmt.Println("ret0",ret0) + fmt.Println("ret0", ret0) if strings.ToLower(ret0.Hex()) != address { t.Fatalf("TestLink0 failed, the ret0 %v is inconsistent with \"%v\"", ret0, address) @@ -262,4 +262,4 @@ func TestReadlink(t *testing.T) { // } // t.Logf("TestTouch ret0:%v", ret0) -// } \ No newline at end of file +// } diff --git a/precompiled/cns/cns.go b/v3/precompiled/cns/cns.go similarity index 99% rename from precompiled/cns/cns.go rename to v3/precompiled/cns/cns.go index 036d2e4e..9f7dc15f 100644 --- a/precompiled/cns/cns.go +++ b/v3/precompiled/cns/cns.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/cns/cns_service.go b/v3/precompiled/cns/cns_service.go similarity index 96% rename from precompiled/cns/cns_service.go rename to v3/precompiled/cns/cns_service.go index 1b4d3b73..8f4813e2 100644 --- a/precompiled/cns/cns_service.go +++ b/v3/precompiled/cns/cns_service.go @@ -4,10 +4,10 @@ import ( "encoding/json" "fmt" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/cns/cns_service_test.go b/v3/precompiled/cns/cns_service_test.go similarity index 98% rename from precompiled/cns/cns_service_test.go rename to v3/precompiled/cns/cns_service_test.go index 9e79d385..f61cb756 100644 --- a/precompiled/cns/cns_service_test.go +++ b/v3/precompiled/cns/cns_service_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/config/system_config.go b/v3/precompiled/config/system_config.go similarity index 99% rename from precompiled/config/system_config.go rename to v3/precompiled/config/system_config.go index 3605051c..1c340f2f 100644 --- a/precompiled/config/system_config.go +++ b/v3/precompiled/config/system_config.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/config/system_config_service.go b/v3/precompiled/config/system_config_service.go similarity index 92% rename from precompiled/config/system_config_service.go rename to v3/precompiled/config/system_config_service.go index 6e179e21..5e90f92d 100644 --- a/precompiled/config/system_config_service.go +++ b/v3/precompiled/config/system_config_service.go @@ -3,11 +3,11 @@ package config import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" - "github.com/FISCO-BCOS/go-sdk/abi/bind" ) // SystemConfigService is a precompile contract service. @@ -58,7 +58,7 @@ func NewSystemConfigService(client *client.Client) (*SystemConfigService, error) return nil, fmt.Errorf("construct SystemConfigService failed: %+v", err) } auth := client.GetTransactOpts() - return &SystemConfigService{systemConfig: instance, systemConfigAuth:auth, client: client}, nil + return &SystemConfigService{systemConfig: instance, systemConfigAuth: auth, client: client}, nil } // SetValueByKey returns nil if there is no error occurred. @@ -84,7 +84,7 @@ func (s *SystemConfigService) SetValueByKey(key string, value string) (int64, er func (s *SystemConfigService) GetValueByKey(key string) (string, int64, error) { opts := &bind.CallOpts{From: s.systemConfigAuth.From} - fmt.Println("opts",opts) + fmt.Println("opts", opts) ret0, ret1, err := s.systemConfig.GetValueByKey(opts, key) if err != nil { return "", precompiled.DefaultErrorCode, fmt.Errorf("systemConfigService getValueByKey failed: %+v", err) diff --git a/precompiled/config/system_config_service_test.go b/v3/precompiled/config/system_config_service_test.go similarity index 97% rename from precompiled/config/system_config_service_test.go rename to v3/precompiled/config/system_config_service_test.go index e353e194..dcf61d37 100644 --- a/precompiled/config/system_config_service_test.go +++ b/v3/precompiled/config/system_config_service_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" ) const ( diff --git a/precompiled/consensus/consensus.go b/v3/precompiled/consensus/consensus.go similarity index 99% rename from precompiled/consensus/consensus.go rename to v3/precompiled/consensus/consensus.go index c5d818f3..c4478f2a 100644 --- a/precompiled/consensus/consensus.go +++ b/v3/precompiled/consensus/consensus.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/consensus/consensus_service.go b/v3/precompiled/consensus/consensus_service.go similarity index 97% rename from precompiled/consensus/consensus_service.go rename to v3/precompiled/consensus/consensus_service.go index 59df4223..2091caad 100644 --- a/precompiled/consensus/consensus_service.go +++ b/v3/precompiled/consensus/consensus_service.go @@ -6,10 +6,10 @@ import ( "fmt" "math/big" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/consensus/consensus_service_test.go b/v3/precompiled/consensus/consensus_service_test.go similarity index 98% rename from precompiled/consensus/consensus_service_test.go rename to v3/precompiled/consensus/consensus_service_test.go index 48854947..7722f0df 100644 --- a/precompiled/consensus/consensus_service_test.go +++ b/v3/precompiled/consensus/consensus_service_test.go @@ -7,7 +7,7 @@ import ( "regexp" "testing" - "github.com/FISCO-BCOS/go-sdk/client" + "github.com/FISCO-BCOS/go-sdk/v3/client" ) const ( @@ -16,7 +16,7 @@ const ( var ( nodeID = "" - weight = 100 + weight = 100 service *Service ) diff --git a/precompiled/crud/KVTable.go b/v3/precompiled/crud/KVTable.go similarity index 98% rename from precompiled/crud/KVTable.go rename to v3/precompiled/crud/KVTable.go index df316b8c..d15ae395 100644 --- a/precompiled/crud/KVTable.go +++ b/v3/precompiled/crud/KVTable.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/crud/table.go b/v3/precompiled/crud/table.go similarity index 99% rename from precompiled/crud/table.go rename to v3/precompiled/crud/table.go index d323d70b..64e15b51 100644 --- a/precompiled/crud/table.go +++ b/v3/precompiled/crud/table.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/crud/tableManager.go b/v3/precompiled/crud/tableManager.go similarity index 99% rename from precompiled/crud/tableManager.go rename to v3/precompiled/crud/tableManager.go index b96de145..644250cf 100644 --- a/precompiled/crud/tableManager.go +++ b/v3/precompiled/crud/tableManager.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/crud/tableManager_service.go b/v3/precompiled/crud/tableManager_service.go similarity index 95% rename from precompiled/crud/tableManager_service.go rename to v3/precompiled/crud/tableManager_service.go index ed7234f8..0ecd93d3 100644 --- a/precompiled/crud/tableManager_service.go +++ b/v3/precompiled/crud/tableManager_service.go @@ -5,10 +5,10 @@ import ( "fmt" "math/big" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) @@ -52,12 +52,12 @@ func errorCodeToError(errorCode int64) error { } type Service struct { - table *Table - tableManager *TableManager - KVTable *KVTable - tableManagerAuth *bind.TransactOpts - CallOpts *bind.CallOpts - client *client.Client + table *Table + tableManager *TableManager + KVTable *KVTable + tableManagerAuth *bind.TransactOpts + CallOpts *bind.CallOpts + client *client.Client } var TableManagerAddress = common.HexToAddress("0x1002") @@ -187,7 +187,7 @@ func (service *Service) DescWithKeyOrder(tableName string) (TableInfo, error) { **/ func (service *Service) Insert(tableName string, entry Entry) (int64, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } if len(entry.Key) > TableKeyMaxLength { @@ -202,7 +202,7 @@ func (service *Service) Insert(tableName string, entry Entry) (int64, error) { func (service *Service) AsyncInsert(handler func(*types.Receipt, error), tableName string, entry Entry) (*types.Transaction, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } if len(entry.Key) > TableKeyMaxLength { @@ -213,7 +213,7 @@ func (service *Service) AsyncInsert(handler func(*types.Receipt, error), tableNa func (service *Service) Select0(tableName string, key string) (Entry, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return Entry{}, fmt.Errorf("the table does not exist") } if len(key) > TableKeyMaxLength { @@ -228,7 +228,7 @@ func (service *Service) Select0(tableName string, key string) (Entry, error) { func (service *Service) Select(tableName string, conditions []Condition, limit Limit) ([]Entry, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } entries, err := service.table.Select(service.CallOpts, conditions, limit) @@ -240,7 +240,7 @@ func (service *Service) Select(tableName string, conditions []Condition, limit L func (service *Service) Update(tableName string, key string, updateFields []UpdateField) (int64, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } if len(key) > TableKeyMaxLength { @@ -255,7 +255,7 @@ func (service *Service) Update(tableName string, key string, updateFields []Upda func (service *Service) Update0(tableName string, conditions []Condition, limit Limit, updateFields []UpdateField) (int64, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } _, _, receipt, err := service.table.Update0(service.tableManagerAuth, conditions, limit, updateFields) @@ -267,7 +267,7 @@ func (service *Service) Update0(tableName string, conditions []Condition, limit func (service *Service) AsyncUpdate(handler func(*types.Receipt, error), tableName string, key string, updateFields []UpdateField) (*types.Transaction, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } if len(key) > TableKeyMaxLength { @@ -278,7 +278,7 @@ func (service *Service) AsyncUpdate(handler func(*types.Receipt, error), tableNa func (service *Service) AsyncUpdate0(handler func(*types.Receipt, error), tableName string, conditions []Condition, limit Limit, updateFields []UpdateField) (*types.Transaction, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } return service.table.AsyncUpdate0(handler, service.tableManagerAuth, conditions, limit, updateFields) @@ -286,7 +286,7 @@ func (service *Service) AsyncUpdate0(handler func(*types.Receipt, error), tableN func (service *Service) Remove(tableName string, key string) (int64, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } if len(key) > TableKeyMaxLength { @@ -301,7 +301,7 @@ func (service *Service) Remove(tableName string, key string) (int64, error) { func (service *Service) Remove0(tableName string, conditions []Condition, limit Limit) (int64, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } _, _, receipt, err := service.table.Remove0(service.tableManagerAuth, conditions, limit) @@ -313,7 +313,7 @@ func (service *Service) Remove0(tableName string, conditions []Condition, limit func (service *Service) AsyncRemove(handler func(*types.Receipt, error), tableName string, key string) (*types.Transaction, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } if len(key) > TableKeyMaxLength { @@ -324,7 +324,7 @@ func (service *Service) AsyncRemove(handler func(*types.Receipt, error), tableNa func (service *Service) AsyncRemove0(handler func(*types.Receipt, error), tableName string, conditions []Condition, limit Limit) (*types.Transaction, error) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { return nil, fmt.Errorf("the table does not exist") } return service.table.AsyncRemove0(handler, service.tableManagerAuth, conditions, limit) @@ -337,7 +337,7 @@ func (service *Service) AsyncRemove0(handler func(*types.Receipt, error), tableN **/ func (service *Service) Set(tableName string, key string, value string) (int64, error) { _, err := service.OpenKVTable(tableName) - if err !=nil{ + if err != nil { return -1, fmt.Errorf("the table does not exist") } _, _, receipt, err := service.KVTable.Set(service.tableManagerAuth, key, value) @@ -349,7 +349,7 @@ func (service *Service) Set(tableName string, key string, value string) (int64, func (service *Service) Get(tableName string, key string) (bool, string, error) { _, err := service.OpenKVTable(tableName) - if err !=nil{ + if err != nil { return false, "", fmt.Errorf("the table does not exist") } ret0, ret1, err := service.KVTable.Get(service.CallOpts, key) @@ -379,4 +379,4 @@ func parseReturnValue(receipt *types.Receipt, name string) (int64, error) { return precompiled.DefaultErrorCode, fmt.Errorf("parseReturnValue failed, err: %v", err) } return errorCode, errorCodeToError(errorCode) -} \ No newline at end of file +} diff --git a/precompiled/crud/tableManager_service_test.go b/v3/precompiled/crud/tableManager_service_test.go similarity index 90% rename from precompiled/crud/tableManager_service_test.go rename to v3/precompiled/crud/tableManager_service_test.go index adf7f4c9..9d39c2c7 100644 --- a/precompiled/crud/tableManager_service_test.go +++ b/v3/precompiled/crud/tableManager_service_test.go @@ -7,34 +7,36 @@ import ( "os" "testing" "time" + // "fmt" - "math/rand" + "math/rand" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" ) const ( - tableName = "tableName" - tableNameForAsync = "tableName_async" - KVTableName = "kvtableName" + tableName = "tableName" + tableNameForAsync = "tableName_async" + KVTableName = "kvtableName" KVTableNameForAsync = "kvtableName_async" - tablePath = "/tables/tableName" - key = "keyName" - timeout = 1 * time.Second + tablePath = "/tables/tableName" + key = "keyName" + timeout = 1 * time.Second ) + var columnValue = "columnValue" -var columnName = "columnName" +var columnName = "columnName" var columnNames = []string{"columnName"} var condition = Condition{ - Op: uint8(4), //EQ - Field: "columnName", - Value: "columnValue", + Op: uint8(4), //EQ + Field: "columnName", + Value: "columnValue", } var limit = Limit{ - Offset: uint32(0), - Count: uint32(4), + Offset: uint32(0), + Count: uint32(4), } var columnNames_update = []string{"columnName_update"} var conditions = []Condition{condition} @@ -159,7 +161,7 @@ func TestAsyncCreateKVTable(t *testing.T) { } func TestAppendColumns(t *testing.T) { - newColumns:=[]string{"columnName_0","columnName_1"} + newColumns := []string{"columnName_0", "columnName_1"} result, err := service.AppendColumns(tablePath, newColumns) if err != nil { @@ -172,7 +174,7 @@ func TestAppendColumns(t *testing.T) { } func TestAsyncAppendColumns(t *testing.T) { - newColumns:=[]string{"columnName_2","columnName_3"} + newColumns := []string{"columnName_2", "columnName_3"} handler := func(receipt *types.Receipt, err error) { if err != nil { @@ -223,15 +225,15 @@ func TestDescWithKeyOrder(t *testing.T) { func TestInsert(t *testing.T) { _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { service.CreateTable(tableName, key, columnNames) } // tempColumnValues's length needs to be the same as the number of columns tempColumnValues := []string{} tableInfo, err := service.DescWithKeyOrder(tableName) for i := 0; i < len(tableInfo.ValueColumns); i++ { - tempColumnValues=append(tempColumnValues,"columnValue") - } + tempColumnValues = append(tempColumnValues, "columnValue") + } key := randStringBytes(10) t.Logf("key: %v\n", key) entry := Entry{ @@ -239,7 +241,7 @@ func TestInsert(t *testing.T) { Fields: tempColumnValues, } - ret0, err := service.Insert(tableName,entry) + ret0, err := service.Insert(tableName, entry) t.Logf("ret0: %v\n", ret0) if err != nil { t.Fatalf("insert table failed: %v", err) @@ -273,15 +275,15 @@ func TestAsyncInsert(t *testing.T) { } _, err := service.OpenTable(tableName) - if err !=nil{ + if err != nil { service.CreateTable(tableName, key, columnNames) } // columnNames's length needs to be the same as the number of columns tempColumnValues := []string{} tableInfo, err := service.DescWithKeyOrder(tableName) for i := 0; i < len(tableInfo.ValueColumns); i++ { - tempColumnValues=append(tempColumnValues,"columnValue") - } + tempColumnValues = append(tempColumnValues, "columnValue") + } key := randStringBytes(10) t.Logf("key: %v\n", key) entry := Entry{ @@ -330,7 +332,7 @@ func TestSelect(t *testing.T) { t.Fatalf("TestSelect failed, the result of resultSelect \"%v\" is not inconsistent", resultSelects[i].Fields[0]) } } - t.Logf("resultSelects %v:",resultSelects) + t.Logf("resultSelects %v:", resultSelects) } func TestUpdate(t *testing.T) { @@ -370,35 +372,35 @@ func TestUpdate0(t *testing.T) { updateFields = append(updateFields, updateField) condition := Condition{ - Op: uint8(4), //EQ - Field: columnName, - Value: "columnValue", + Op: uint8(4), //EQ + Field: columnName, + Value: "columnValue", } conditions := []Condition{} - conditions=append(conditions,condition) + conditions = append(conditions, condition) limit := Limit{ - Offset: uint32(0), - Count: uint32(4), + Offset: uint32(0), + Count: uint32(4), } newCondition := Condition{ - Op: uint8(4), //EQ - Field: columnName, - Value: newValue, + Op: uint8(4), //EQ + Field: columnName, + Value: newValue, } newConditions := []Condition{} - newConditions=append(newConditions,newCondition) + newConditions = append(newConditions, newCondition) // key origin results originResultSelects, _ := service.Select(tableName, conditions, limit) - t.Logf("originResultSelects %v:",originResultSelects) + t.Logf("originResultSelects %v:", originResultSelects) // perform update _, err := service.Update0(tableName, conditions, limit, updateFields) if err != nil { t.Fatalf("update table failed: %v", err) } - + // check update results afterResultSelects := []Entry{} for i := 0; i < len(originResultSelects); i++ { @@ -407,9 +409,9 @@ func TestUpdate0(t *testing.T) { if tempResultSelect.Fields[0] != newValue { t.Fatalf("TestSelect failed, the result of resultSelect \"%v\" is not inconsistent", tempResultSelect.Fields[0]) } - afterResultSelects=append(afterResultSelects,tempResultSelect) + afterResultSelects = append(afterResultSelects, tempResultSelect) } - t.Logf("afterResultSelects %v:",afterResultSelects) + t.Logf("afterResultSelects %v:", afterResultSelects) } func TestAsyncUpdate(t *testing.T) { @@ -596,14 +598,14 @@ func TestAsyncRemove0(t *testing.T) { func TestSet(t *testing.T) { _, err := service.OpenKVTable(KVTableName) - if err !=nil{ + if err != nil { service.CreateKVTable(KVTableName, key, columnName) } key := randStringBytes(10) value := randStringBytes(10) - ret0, err := service.Set(KVTableName,key,value) + ret0, err := service.Set(KVTableName, key, value) if err != nil { t.Fatalf("KVTable set failed: %v", err) } @@ -611,7 +613,7 @@ func TestSet(t *testing.T) { t.Fatalf("TestSet failed, the ret0 \"%v\" is inconsistent with \"1\"", ret0) } - _, tempValue, _ := service.Get(KVTableName,key) + _, tempValue, _ := service.Get(KVTableName, key) if value != tempValue { t.Fatalf("TestSet failed, the value \"%v\" is inconsistent with the tempValue \"%v\"", value, tempValue) } @@ -624,23 +626,23 @@ func insertForTest() string { tempColumnValues := []string{} tableInfo, _ := service.DescWithKeyOrder(tableName) for i := 0; i < len(tableInfo.ValueColumns); i++ { - tempColumnValues=append(tempColumnValues,"columnValue") - } + tempColumnValues = append(tempColumnValues, "columnValue") + } key := randStringBytes(10) entry := Entry{ Key: key, Fields: tempColumnValues, } - service.Insert(tableName,entry) + service.Insert(tableName, entry) return key } func randStringBytes(n int) string { rand.Seed(time.Now().UnixNano()) const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" - b := make([]byte, n) - for i := range b { - b[i] = letterBytes[rand.Intn(len(letterBytes))] - } - return string(b) -} \ No newline at end of file + b := make([]byte, n) + for i := range b { + b[i] = letterBytes[rand.Intn(len(letterBytes))] + } + return string(b) +} diff --git a/precompiled/sharding/sharding.go b/v3/precompiled/sharding/sharding.go similarity index 99% rename from precompiled/sharding/sharding.go rename to v3/precompiled/sharding/sharding.go index 5b46083a..1f95a241 100644 --- a/precompiled/sharding/sharding.go +++ b/v3/precompiled/sharding/sharding.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/precompiled/sharding/sharding_service.go b/v3/precompiled/sharding/sharding_service.go similarity index 89% rename from precompiled/sharding/sharding_service.go rename to v3/precompiled/sharding/sharding_service.go index a3e02238..d8b91910 100644 --- a/precompiled/sharding/sharding_service.go +++ b/v3/precompiled/sharding/sharding_service.go @@ -3,17 +3,17 @@ package sharding import ( "fmt" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) type Service struct { sharding *Sharding shardingAuth *bind.TransactOpts - client *client.Client + client *client.Client } // contract address @@ -60,4 +60,4 @@ func (service *Service) LinkShard(shardName string, _address string) (int64, *ty func (service *Service) AsyncLinkShard(handler func(*types.Receipt, error), shardName string, _address string) (*types.Transaction, error) { return service.sharding.AsyncLinkShard(handler, service.shardingAuth, shardName, _address) -} \ No newline at end of file +} diff --git a/precompiled/sharding/sharding_service_test.go b/v3/precompiled/sharding/sharding_service_test.go similarity index 90% rename from precompiled/sharding/sharding_service_test.go rename to v3/precompiled/sharding/sharding_service_test.go index 00d95c88..898fa229 100644 --- a/precompiled/sharding/sharding_service_test.go +++ b/v3/precompiled/sharding/sharding_service_test.go @@ -5,12 +5,14 @@ import ( "encoding/hex" "os" "testing" + // "fmt" - "time" "math/big" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/core/types" - "github.com/FISCO-BCOS/go-sdk/precompiled" + "time" + + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled" + "github.com/FISCO-BCOS/go-sdk/v3/types" // "github.com/ethereum/go-ethereum/common" ) @@ -62,7 +64,7 @@ func TestMakeShard(t *testing.T) { t.Fatalf("Service MakeShard failed: %+v\n", err) } - if ret0 != standardOutput{ + if ret0 != standardOutput { t.Fatalf("TestMakeShard failed, the ret0 %v is inconsistent with \"%v\"", ret0, standardOutput) } @@ -108,7 +110,7 @@ func TestLinkShard(t *testing.T) { t.Fatalf("Service LinkShard failed: %+v\n", err) } - if ret0 != standardOutput{ + if ret0 != standardOutput { t.Fatalf("TestLinkShard failed, the ret0 %v is inconsistent with \"%v\"", ret0, standardOutput) } @@ -154,9 +156,9 @@ func TestGetContractShard(t *testing.T) { t.Fatalf("Service GetContractShard failed: %+v\n", err) } - if ret0 != standardOutput{ + if ret0 != standardOutput { t.Fatalf("TestGetContractShard failed, the ret0 %v is inconsistent with \"%v\"", ret0, standardOutput) } t.Logf("TestGetContractShard ret0:%v, ret0:%v", ret0, ret1) -} \ No newline at end of file +} diff --git a/precompiled/solidity/auth/Account.sol b/v3/precompiled/solidity/auth/Account.sol similarity index 100% rename from precompiled/solidity/auth/Account.sol rename to v3/precompiled/solidity/auth/Account.sol diff --git a/precompiled/solidity/auth/BasicAuth.sol b/v3/precompiled/solidity/auth/BasicAuth.sol similarity index 100% rename from precompiled/solidity/auth/BasicAuth.sol rename to v3/precompiled/solidity/auth/BasicAuth.sol diff --git a/precompiled/solidity/auth/Committee.sol b/v3/precompiled/solidity/auth/Committee.sol similarity index 100% rename from precompiled/solidity/auth/Committee.sol rename to v3/precompiled/solidity/auth/Committee.sol diff --git a/precompiled/solidity/auth/CommitteeManager.sol b/v3/precompiled/solidity/auth/CommitteeManager.sol similarity index 100% rename from precompiled/solidity/auth/CommitteeManager.sol rename to v3/precompiled/solidity/auth/CommitteeManager.sol diff --git a/precompiled/solidity/auth/ConsensusPrecompiled.sol b/v3/precompiled/solidity/auth/ConsensusPrecompiled.sol similarity index 100% rename from precompiled/solidity/auth/ConsensusPrecompiled.sol rename to v3/precompiled/solidity/auth/ConsensusPrecompiled.sol diff --git a/precompiled/solidity/auth/ContractAuthPrecompiled.sol b/v3/precompiled/solidity/auth/ContractAuthPrecompiled.sol similarity index 100% rename from precompiled/solidity/auth/ContractAuthPrecompiled.sol rename to v3/precompiled/solidity/auth/ContractAuthPrecompiled.sol diff --git a/precompiled/solidity/auth/ProposalManager.sol b/v3/precompiled/solidity/auth/ProposalManager.sol similarity index 100% rename from precompiled/solidity/auth/ProposalManager.sol rename to v3/precompiled/solidity/auth/ProposalManager.sol diff --git a/precompiled/solidity/auth/README.md b/v3/precompiled/solidity/auth/README.md similarity index 100% rename from precompiled/solidity/auth/README.md rename to v3/precompiled/solidity/auth/README.md diff --git a/precompiled/solidity/auth/SystemConfigPrecompiled.sol b/v3/precompiled/solidity/auth/SystemConfigPrecompiled.sol similarity index 100% rename from precompiled/solidity/auth/SystemConfigPrecompiled.sol rename to v3/precompiled/solidity/auth/SystemConfigPrecompiled.sol diff --git a/precompiled/solidity/auth/VoteComputerTemplate.sol b/v3/precompiled/solidity/auth/VoteComputerTemplate.sol similarity index 100% rename from precompiled/solidity/auth/VoteComputerTemplate.sol rename to v3/precompiled/solidity/auth/VoteComputerTemplate.sol diff --git a/precompiled/solidity/bfs/BfsPrecompiled.sol b/v3/precompiled/solidity/bfs/BfsPrecompiled.sol similarity index 100% rename from precompiled/solidity/bfs/BfsPrecompiled.sol rename to v3/precompiled/solidity/bfs/BfsPrecompiled.sol diff --git a/precompiled/solidity/cns/CNS.sol b/v3/precompiled/solidity/cns/CNS.sol similarity index 100% rename from precompiled/solidity/cns/CNS.sol rename to v3/precompiled/solidity/cns/CNS.sol diff --git a/precompiled/solidity/config/SystemConfig.sol b/v3/precompiled/solidity/config/SystemConfig.sol similarity index 100% rename from precompiled/solidity/config/SystemConfig.sol rename to v3/precompiled/solidity/config/SystemConfig.sol diff --git a/precompiled/solidity/consensus/Consensus.sol b/v3/precompiled/solidity/consensus/Consensus.sol similarity index 100% rename from precompiled/solidity/consensus/Consensus.sol rename to v3/precompiled/solidity/consensus/Consensus.sol diff --git a/precompiled/solidity/crud/Cast.sol b/v3/precompiled/solidity/crud/Cast.sol similarity index 100% rename from precompiled/solidity/crud/Cast.sol rename to v3/precompiled/solidity/crud/Cast.sol diff --git a/precompiled/solidity/crud/EntryWrapper.sol b/v3/precompiled/solidity/crud/EntryWrapper.sol similarity index 100% rename from precompiled/solidity/crud/EntryWrapper.sol rename to v3/precompiled/solidity/crud/EntryWrapper.sol diff --git a/precompiled/solidity/crud/Table.sol b/v3/precompiled/solidity/crud/Table.sol similarity index 100% rename from precompiled/solidity/crud/Table.sol rename to v3/precompiled/solidity/crud/Table.sol diff --git a/precompiled/solidity/sharding/ShardingPrecompiled.sol b/v3/precompiled/solidity/sharding/ShardingPrecompiled.sol similarity index 100% rename from precompiled/solidity/sharding/ShardingPrecompiled.sol rename to v3/precompiled/solidity/sharding/ShardingPrecompiled.sol diff --git a/precompiled/utils.go b/v3/precompiled/utils.go similarity index 97% rename from precompiled/utils.go rename to v3/precompiled/utils.go index 4df05773..21804166 100644 --- a/precompiled/utils.go +++ b/v3/precompiled/utils.go @@ -5,7 +5,7 @@ import ( "math" "math/big" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/smcrypto/sm2.go b/v3/smcrypto/sm2.go similarity index 97% rename from smcrypto/sm2.go rename to v3/smcrypto/sm2.go index fd844df4..067922db 100644 --- a/smcrypto/sm2.go +++ b/v3/smcrypto/sm2.go @@ -8,7 +8,7 @@ import ( "github.com/FISCO-BCOS/crypto/ecdsa" "github.com/FISCO-BCOS/crypto/elliptic" - "github.com/FISCO-BCOS/go-sdk/smcrypto/sm3" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto/sm3" ) const defaultSM2ID = "1234567812345678" diff --git a/smcrypto/sm3/sm3.go b/v3/smcrypto/sm3/sm3.go similarity index 100% rename from smcrypto/sm3/sm3.go rename to v3/smcrypto/sm3/sm3.go diff --git a/smcrypto/sm3/sm3_test.go b/v3/smcrypto/sm3/sm3_test.go similarity index 100% rename from smcrypto/sm3/sm3_test.go rename to v3/smcrypto/sm3/sm3_test.go diff --git a/smcrypto/sm_crypto.go b/v3/smcrypto/sm_crypto.go similarity index 98% rename from smcrypto/sm_crypto.go rename to v3/smcrypto/sm_crypto.go index d8511e4d..361fcba8 100644 --- a/smcrypto/sm_crypto.go +++ b/v3/smcrypto/sm_crypto.go @@ -12,7 +12,7 @@ import ( "github.com/FISCO-BCOS/crypto/ecdsa" "github.com/FISCO-BCOS/crypto/elliptic" "github.com/FISCO-BCOS/crypto/x509" - "github.com/FISCO-BCOS/go-sdk/smcrypto/sm3" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto/sm3" "github.com/ethereum/go-ethereum/common" ) diff --git a/smcrypto/sm_crypto_test.go b/v3/smcrypto/sm_crypto_test.go similarity index 100% rename from smcrypto/sm_crypto_test.go rename to v3/smcrypto/sm_crypto_test.go diff --git a/test/authTest/main.go b/v3/test/authTest/main.go similarity index 98% rename from test/authTest/main.go rename to v3/test/authTest/main.go index 5b3af57d..e0e8701b 100644 --- a/test/authTest/main.go +++ b/v3/test/authTest/main.go @@ -7,8 +7,8 @@ import ( "log" "math/big" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/precompiled/auth" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/precompiled/auth" "github.com/ethereum/go-ethereum/common" ) diff --git a/test/performanceTest/contract/kvTableTest/KVTableTest.go b/v3/test/performanceTest/contract/kvTableTest/KVTableTest.go similarity index 99% rename from test/performanceTest/contract/kvTableTest/KVTableTest.go rename to v3/test/performanceTest/contract/kvTableTest/KVTableTest.go index 2248d878..ef37d54d 100644 --- a/test/performanceTest/contract/kvTableTest/KVTableTest.go +++ b/v3/test/performanceTest/contract/kvTableTest/KVTableTest.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/test/performanceTest/contract/parallelOk/ParallelOk.go b/v3/test/performanceTest/contract/parallelOk/ParallelOk.go similarity index 99% rename from test/performanceTest/contract/parallelOk/ParallelOk.go rename to v3/test/performanceTest/contract/parallelOk/ParallelOk.go index 15efa650..30e35af2 100644 --- a/test/performanceTest/contract/parallelOk/ParallelOk.go +++ b/v3/test/performanceTest/contract/parallelOk/ParallelOk.go @@ -7,9 +7,9 @@ import ( "math/big" "strings" - "github.com/FISCO-BCOS/go-sdk/abi" - "github.com/FISCO-BCOS/go-sdk/abi/bind" - "github.com/FISCO-BCOS/go-sdk/core/types" + "github.com/FISCO-BCOS/go-sdk/v3/abi" + "github.com/FISCO-BCOS/go-sdk/v3/abi/bind" + "github.com/FISCO-BCOS/go-sdk/v3/types" ethereum "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" ) diff --git a/test/performanceTest/contract/sol/KVTableTest.sol b/v3/test/performanceTest/contract/sol/KVTableTest.sol similarity index 100% rename from test/performanceTest/contract/sol/KVTableTest.sol rename to v3/test/performanceTest/contract/sol/KVTableTest.sol diff --git a/test/performanceTest/contract/sol/ParallelOk.sol b/v3/test/performanceTest/contract/sol/ParallelOk.sol similarity index 100% rename from test/performanceTest/contract/sol/ParallelOk.sol rename to v3/test/performanceTest/contract/sol/ParallelOk.sol diff --git a/test/performanceTest/helper/helper.go b/v3/test/performanceTest/helper/helper.go similarity index 100% rename from test/performanceTest/helper/helper.go rename to v3/test/performanceTest/helper/helper.go diff --git a/test/performanceTest/main.go b/v3/test/performanceTest/main.go similarity index 91% rename from test/performanceTest/main.go rename to v3/test/performanceTest/main.go index 7b91110d..7fcf1fd3 100644 --- a/test/performanceTest/main.go +++ b/v3/test/performanceTest/main.go @@ -8,11 +8,11 @@ import ( "runtime" "time" - "github.com/FISCO-BCOS/go-sdk/client" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/kvTableTest" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/parallelOk" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/server" + "github.com/FISCO-BCOS/go-sdk/v3/client" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/kvTableTest" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/parallelOk" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/server" "github.com/sirupsen/logrus" ) diff --git a/test/performanceTest/model/request_model.go b/v3/test/performanceTest/model/request_model.go similarity index 100% rename from test/performanceTest/model/request_model.go rename to v3/test/performanceTest/model/request_model.go diff --git a/test/performanceTest/server/dispose.go b/v3/test/performanceTest/server/dispose.go similarity index 76% rename from test/performanceTest/server/dispose.go rename to v3/test/performanceTest/server/dispose.go index a59d801f..49e97c77 100644 --- a/test/performanceTest/server/dispose.go +++ b/v3/test/performanceTest/server/dispose.go @@ -5,11 +5,11 @@ import ( "sync" "time" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/kvTableTest" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/parallelOk" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/server/golink" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/server/statistics" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/kvTableTest" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/parallelOk" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/server/golink" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/server/statistics" ) // Dispose diff --git a/test/performanceTest/server/golink/http_link_many.go b/v3/test/performanceTest/server/golink/http_link_many.go similarity index 98% rename from test/performanceTest/server/golink/http_link_many.go rename to v3/test/performanceTest/server/golink/http_link_many.go index 9b838050..d9458e71 100644 --- a/test/performanceTest/server/golink/http_link_many.go +++ b/v3/test/performanceTest/server/golink/http_link_many.go @@ -3,7 +3,7 @@ package golink import ( "time" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" ) // ReqListMany Step pressure test for the interface diff --git a/test/performanceTest/server/golink/kvtable_link.go b/v3/test/performanceTest/server/golink/kvtable_link.go similarity index 93% rename from test/performanceTest/server/golink/kvtable_link.go rename to v3/test/performanceTest/server/golink/kvtable_link.go index c2245acd..1cc7eb37 100644 --- a/test/performanceTest/server/golink/kvtable_link.go +++ b/v3/test/performanceTest/server/golink/kvtable_link.go @@ -6,9 +6,9 @@ import ( "sync" "time" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/kvTableTest" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/helper" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/kvTableTest" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/helper" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" "github.com/sirupsen/logrus" ) diff --git a/test/performanceTest/server/golink/parallelOk_link.go b/v3/test/performanceTest/server/golink/parallelOk_link.go similarity index 92% rename from test/performanceTest/server/golink/parallelOk_link.go rename to v3/test/performanceTest/server/golink/parallelOk_link.go index 2cee529c..944e4130 100644 --- a/test/performanceTest/server/golink/parallelOk_link.go +++ b/v3/test/performanceTest/server/golink/parallelOk_link.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/contract/parallelOk" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/helper" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/contract/parallelOk" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/helper" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" "github.com/sirupsen/logrus" ) diff --git a/test/performanceTest/server/statistics/statistics.go b/v3/test/performanceTest/server/statistics/statistics.go similarity index 98% rename from test/performanceTest/server/statistics/statistics.go rename to v3/test/performanceTest/server/statistics/statistics.go index c7cfc287..79109fe1 100644 --- a/test/performanceTest/server/statistics/statistics.go +++ b/v3/test/performanceTest/server/statistics/statistics.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/model" - "github.com/FISCO-BCOS/go-sdk/test/performanceTest/tools" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/model" + "github.com/FISCO-BCOS/go-sdk/v3/test/performanceTest/tools" ) var ( diff --git a/test/performanceTest/tools/sort.go b/v3/test/performanceTest/tools/sort.go similarity index 100% rename from test/performanceTest/tools/sort.go rename to v3/test/performanceTest/tools/sort.go diff --git a/core/types/block.go b/v3/types/block.go similarity index 100% rename from core/types/block.go rename to v3/types/block.go diff --git a/core/types/log.go b/v3/types/log.go similarity index 100% rename from core/types/log.go rename to v3/types/log.go diff --git a/core/types/receipt.go b/v3/types/receipt.go similarity index 100% rename from core/types/receipt.go rename to v3/types/receipt.go diff --git a/core/types/sync_status.go b/v3/types/sync_status.go similarity index 100% rename from core/types/sync_status.go rename to v3/types/sync_status.go diff --git a/core/types/system_config.go b/v3/types/system_config.go similarity index 100% rename from core/types/system_config.go rename to v3/types/system_config.go diff --git a/core/types/transaction.go b/v3/types/transaction.go similarity index 99% rename from core/types/transaction.go rename to v3/types/transaction.go index 774a2fbd..ea7a66f1 100644 --- a/core/types/transaction.go +++ b/v3/types/transaction.go @@ -8,7 +8,7 @@ import ( "math/big" "sync/atomic" - "github.com/FISCO-BCOS/go-sdk/smcrypto/sm3" + "github.com/FISCO-BCOS/go-sdk/v3/smcrypto/sm3" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/rlp" diff --git a/core/types/transaction_count.go b/v3/types/transaction_count.go similarity index 100% rename from core/types/transaction_count.go rename to v3/types/transaction_count.go diff --git a/core/types/transaction_detail.go b/v3/types/transaction_detail.go similarity index 100% rename from core/types/transaction_detail.go rename to v3/types/transaction_detail.go diff --git a/core/types/transaction_signing.go b/v3/types/transaction_signing.go similarity index 100% rename from core/types/transaction_signing.go rename to v3/types/transaction_signing.go