From ef1adb0022ddd1ef35c136886db51513b4b95edb Mon Sep 17 00:00:00 2001 From: Zach Kelling Date: Tue, 2 Jan 2024 20:55:14 +0100 Subject: [PATCH] Rollback to 1.6.0 --- .github/workflows/issues.yml | 2 +- .github/workflows/release.yml | 4 +- .goreleaser.yml | 10 +- LICENSE | 3 +- LICENSE.header | 2 +- README.md | 286 ++++----- api/api_client.go | 22 +- api/client.go | 18 +- api/eth_client.go | 10 +- api/mocks/EthClient.go | 6 +- api/mocks/client.go | 20 +- client/client.go | 8 +- cmd/control/control.go | 52 +- cmd/ping/ping.go | 10 +- cmd/root.go | 14 +- cmd/server/server.go | 10 +- examples/local/fivenodenetwork/main.go | 12 +- examples/local/indepth/main.go | 18 +- go.mod | 126 ---- go.sum | 831 ------------------------- local/blockchain.go | 58 +- local/helpers.go | 8 +- local/mocks/health/client.go | 4 +- local/mocks/node_process.go | 2 +- local/network.go | 60 +- local/network_test.go | 38 +- local/node.go | 40 +- local/node_process.go | 14 +- local/node_test.go | 22 +- local/snapshot.go | 26 +- local/test_message.go | 2 +- main.go | 4 +- network/config.go | 24 +- network/config_test.go | 4 +- network/default/genesis.json | 6 +- network/genesis.go | 4 +- network/network.go | 6 +- network/node/node.go | 20 +- rpcpb/rpc.pb.go | 2 +- rpcpb/rpc.proto | 4 +- scripts/build.sh | 2 +- scripts/install.sh | 8 +- scripts/tests.e2e.sh | 74 +-- server/network.go | 28 +- server/server.go | 22 +- server/utils.go | 2 +- tests/e2e/e2e_test.go | 38 +- utils/color.go | 2 +- utils/color_test.go | 2 +- utils/constants/constants.go | 2 +- utils/json.go | 2 +- utils/json_test.go | 4 +- utils/utils.go | 14 +- utils/utils_test.go | 2 +- ux/output.go | 4 +- 55 files changed, 530 insertions(+), 1488 deletions(-) delete mode 100644 go.mod delete mode 100644 go.sum diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 926d9746..e7f74895 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -16,5 +16,5 @@ jobs: steps: - uses: actions/add-to-project@v0.3.0 with: - project-url: https://github.com/orgs/ava-labs/projects/3 + project-url: https://github.com/orgs/luxdefi/projects/1 github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f5066de..4eb509e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - path: avalanche-network-runner + path: netrunner - name: Set up Go uses: actions/setup-go@v3 with: @@ -47,7 +47,7 @@ jobs: distribution: goreleaser version: latest args: release --rm-dist - workdir: ./avalanche-network-runner/ + workdir: ./netrunner/ env: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index de36933b..e6e0cbd3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,12 +1,12 @@ # ref. https://goreleaser.com/customization/build/ builds: - - id: avalanche-network-runner + - id: netrunner main: ./main.go - binary: avalanche-network-runner + binary: netrunner flags: - -v ldflags: - - -X 'github.com/ava-labs/avalanche-network-runner/cmd.Version={{.Version}}' + - -X 'github.com/luxdefi/netrunner/cmd.Version={{.Version}}' goos: - linux - darwin @@ -34,5 +34,5 @@ release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. github: - owner: ava-labs - name: avalanche-network-runner + owner: luxdefi + name: netrunner diff --git a/LICENSE b/LICENSE index 8f8011a9..991d0b5a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,6 @@ BSD 3-Clause License -Copyright (c) 2021, Ava Labs -All rights reserved. +Copyright (c) 2024, Lux Partners Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/LICENSE.header b/LICENSE.header index 0fd2e796..79662fc3 100644 --- a/LICENSE.header +++ b/LICENSE.header @@ -1,2 +1,2 @@ -Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms. \ No newline at end of file diff --git a/README.md b/README.md index e63467d1..8a48dd35 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Avalanche Network Runner +# Lux Network Runner ## Note @@ -6,7 +6,7 @@ This tool is under heavy development and the documentation/code snippets below m ## Overview -This is a tool to run and interact with a local Avalanche network. +This is a tool to run and interact with a local Lux network. This tool may be especially useful for development and testing. ## Installation @@ -14,13 +14,13 @@ This tool may be especially useful for development and testing. To download a binary for the latest release, run: ```sh -curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-network-runner/main/scripts/install.sh | sh -s +curl -sSfL https://raw.githubusercontent.com/luxdefi/netrunner/main/scripts/install.sh | sh -s ``` To install a specific version, just append the desired version to the command (must be an existing github tag like v1.3.1) ```sh -curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-network-runner/main/scripts/install.sh | sh -s v1.3.1 +curl -sSfL https://raw.githubusercontent.com/luxdefi/netrunner/main/scripts/install.sh | sh -s v1.3.1 ``` The binary will be installed inside the `~/bin` directory. @@ -35,14 +35,14 @@ To add it to your path permanently, add an export command to your shell initiali ## Build from source code -This is only needed by advanced users who want to modify or test Avalanche Network Runner in specific ways. +This is only needed by advanced users who want to modify or test Lux Network Runner in specific ways. Requires golang to be installed on the system ([https://go.dev/doc/install](https://go.dev/doc/install)). ### Download ```sh -git clone https://github.com/ava-labs/avalanche-network-runner.git +git clone https://github.com/luxdefi/netrunner.git ``` ### Build @@ -71,7 +71,7 @@ go test ./... ### Run E2E tests -The E2E test checks `avalanche-network-runner` RPC communication and control. It starts a network against a fresh RPC +The E2E test checks `netrunner` RPC communication and control. It starts a network against a fresh RPC server and executes a set of query and control operations on it. To start it, execute inside the cloned directory: @@ -80,11 +80,11 @@ To start it, execute inside the cloned directory: ./scripts/tests.e2e.sh ``` -## Using `avalanche-network-runner` +## Using `netrunner` -You can import this repository as a library in your Go program, but we recommend running `avalanche-network-runner` as a binary. This creates an RPC server that you can send requests to in order to start a network, add nodes to the network, remove nodes from the network, restart nodes, etc.. You can make requests through the `avalanche-network-runner` command or by making API calls. Requests are "translated" into gRPC and sent to the server. +You can import this repository as a library in your Go program, but we recommend running `netrunner` as a binary. This creates an RPC server that you can send requests to in order to start a network, add nodes to the network, remove nodes from the network, restart nodes, etc.. You can make requests through the `netrunner` command or by making API calls. Requests are "translated" into gRPC and sent to the server. -**Why does `avalanche-network-runner` need an RPC server?** `avalanche-network-runner` needs to provide complex workflows such as replacing nodes, restarting nodes, injecting fail points, etc.. The RPC server exposes basic operations to enable a separation of concerns such that one team develops a test framework, and the other writes test cases and controlling logic. +**Why does `netrunner` need an RPC server?** `netrunner` needs to provide complex workflows such as replacing nodes, restarting nodes, injecting fail points, etc.. The RPC server exposes basic operations to enable a separation of concerns such that one team develops a test framework, and the other writes test cases and controlling logic. **Why gRPC?** The RPC server leads to more modular test components, and gRPC enables greater flexibility. The protocol buffer increases flexibility as we develop more complicated test cases. And gRPC opens up a variety of different approaches for how to write test controller (e.g., Rust). See [`rpcpb/rpc.proto`](./rpcpb/rpc.proto) for service definition. @@ -95,7 +95,7 @@ You can import this repository as a library in your Go program, but we recommend To start the server: ```bash -avalanche-network-runner server \ +netrunner server \ --log-level debug \ --port=":8080" \ --grpc-gateway-port=":8081" @@ -111,54 +111,54 @@ To ping the server: curl -X POST -k http://localhost:8081/v1/ping -d '' # or -avalanche-network-runner ping \ +netrunner ping \ --log-level debug \ --endpoint="0.0.0.0:8080" ``` -To start a new Avalanche network with five nodes (a cluster): +To start a new Lux network with five nodes (a cluster): ```bash -# replace execPath with the path to AvalancheGo on your machine -# e.g., ${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego -AVALANCHEGO_EXEC_PATH="avalanchego" +# replace execPath with the path to Lux on your machine +# e.g., ${HOME}/go/src/github.com/luxdefi/node/build/node +LUXD_EXEC_PATH="node" -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO"}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO"}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ --number-of-nodes=5 \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} +--node-path ${LUXD_EXEC_PATH} ``` Additional optional parameters which can be passed to the start command: ```bash ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name": "subnetevm", "genesis": "/tmp/subnet-evm.genesis.json"}]' --global-node-config '{"index-enabled":false, "api-admin-enabled":true,"network-peer-list-gossip-frequency":"300ms"}' --custom-node-configs" '{"node1":{"log-level":"debug","api-admin-enabled":false},"node2":{...},...}' ``` -For example, to set `avalanchego --http-host` flag for all nodes: +For example, to set `node --http-host` flag for all nodes: ```bash # to expose local RPC server to all traffic # (e.g., run network runner within cloud instance) -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","globalNodeConfig":"{\"http-host\":\"0.0.0.0\"}"}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","globalNodeConfig":"{\"http-host\":\"0.0.0.0\"}"}' # or -avalanche-network-runner control start \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ +netrunner control start \ +--node-path ${LUXD_EXEC_PATH} \ --global-node-config '{"http-host":"0.0.0.0"}' ``` `--plugin-dir` and `--blockchain-specs` are parameters relevant to subnet operation. See the [subnet](#network-runner-rpc-server-subnet-evm-example) section for details about how to run subnets. -The network-runner supports avalanchego node configuration at different levels. +The network-runner supports node node configuration at different levels. 1. If neither `--global-node-config` nor `--custom-node-configs` is supplied, all nodes get a standard set of config options. Currently this set contains: @@ -174,7 +174,7 @@ The network-runner supports avalanchego node configuration at different levels. } ``` -2. `--global-node-config` is a JSON string representing a _single_ avalanchego config, which will be applied to **all nodes**. This makes it easy to define common properties to all nodes. Whatever is set here will be _combined_ with the standard set above. +2. `--global-node-config` is a JSON string representing a _single_ node config, which will be applied to **all nodes**. This makes it easy to define common properties to all nodes. Whatever is set here will be _combined_ with the standard set above. 3. `--custom-node-configs` is a map of JSON strings representing the _complete_ network with individual configs. This allows to configure each node independently. If set, `--number-of-nodes` will be **ignored** to avoid conflicts. 4. The configs can be combined and will be merged, i.e. one could set global `--global-node-config` entries applied to each node, and also set `--custom-node-configs` for additional entries. 5. Common `--custom-node-configs` entries override `--global-node-config` entries which override the standard set. @@ -183,7 +183,7 @@ Example usage of `--custom-node-configs` to get deterministic API port numbers: ```bash curl -X POST -k http://localhost:8081/v1/control/start -d\ -'{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","customNodeConfigs": +'{"execPath":"'${LUXD_EXEC_PATH}'","customNodeConfigs": { "node1":"{\"http-port\":9650}", "node2":"{\"http-port\":9652}", @@ -194,8 +194,8 @@ curl -X POST -k http://localhost:8081/v1/control/start -d\ }' # or -avalanche-network-runner control start \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ +netrunner control start \ +--node-path ${LUXD_EXEC_PATH} \ --custom-node-configs \ '{ "node1":"{\"http-port\":9650}", @@ -214,7 +214,7 @@ To wait for all the nodes in the cluster to become healthy: curl -X POST -k http://localhost:8081/v1/control/health -d '' # or -avalanche-network-runner control health \ +netrunner control health \ --log-level debug \ --endpoint="0.0.0.0:8080" ``` @@ -225,7 +225,7 @@ To get the API endpoints of all nodes in the cluster: curl -X POST -k http://localhost:8081/v1/control/uris -d '' # or -avalanche-network-runner control uris \ +netrunner control uris \ --log-level debug \ --endpoint="0.0.0.0:8080" ``` @@ -236,7 +236,7 @@ To query the cluster status from the server: curl -X POST -k http://localhost:8081/v1/control/status -d '' # or -avalanche-network-runner control status \ +netrunner control status \ --log-level debug \ --endpoint="0.0.0.0:8080" ``` @@ -244,7 +244,7 @@ avalanche-network-runner control status \ To stream cluster status: ```bash -avalanche-network-runner control \ +netrunner control \ --request-timeout=3m \ stream-status \ --push-interval=5s \ @@ -258,7 +258,7 @@ To save the network to a snapshot: curl -X POST -k http://localhost:8081/v1/control/savesnapshot -d '{"snapshot_name":"node5"}' # or -avalanche-network-runner control save-snapshot snapshotName +netrunner control save-snapshot snapshotName ``` To load a network from a snapshot: @@ -267,17 +267,17 @@ To load a network from a snapshot: curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshot_name":"node5"}' # or -avalanche-network-runner control load-snapshot snapshotName +netrunner control load-snapshot snapshotName ``` -An avalanchego binary path and/or plugin dir can be specified when loading the snapshot. This is +An node binary path and/or plugin dir can be specified when loading the snapshot. This is optional. If not specified, will use the paths saved with the snapshot: ```bash -curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshot_name":"node5","execPath":"'${AVALANCHEGO_EXEC_PATH}'","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'"}' +curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshot_name":"node5","execPath":"'${LUXD_EXEC_PATH}'","pluginDir":"'${LUXD_PLUGIN_PATH}'"}' # or -avalanche-network-runner control load-snapshot snapshotName --avalanchego-path ${AVALANCHEGO_EXEC_PATH} --plugin-dir ${AVALANCHEGO_PLUGIN_PATH} +netrunner control load-snapshot snapshotName --node-path ${LUXD_EXEC_PATH} --plugin-dir ${LUXD_PLUGIN_PATH} ``` To get the list of snapshots: @@ -286,7 +286,7 @@ To get the list of snapshots: curl -X POST -k http://localhost:8081/v1/control/getsnapshotnames # or -avalanche-network-runner control get-snapshot-names +netrunner control get-snapshot-names ``` To remove a snapshot: @@ -295,7 +295,7 @@ To remove a snapshot: curl -X POST -k http://localhost:8081/v1/control/removesnapshot -d '{"snapshot_name":"node5"}' # or -avalanche-network-runner control remove-snapshot snapshotName +netrunner control remove-snapshot snapshotName ``` To create 1 validated subnet, with all existing nodes as participants (requires network restart): @@ -304,7 +304,7 @@ To create 1 validated subnet, with all existing nodes as participants (requires curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{}]' # or -avalanche-network-runner control create-subnets '[{}]' +netrunner control create-subnets '[{}]' ``` To create 1 validated subnet, with some of existing nodes as participants (requires network restart): @@ -313,7 +313,7 @@ To create 1 validated subnet, with some of existing nodes as participants (requi curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{"participants": ["node1", "node2"]}]' # or -avalanche-network-runner control create-subnets '[{"participants": ["node1", "node2"]}]' +netrunner control create-subnets '[{"participants": ["node1", "node2"]}]' ``` To create 1 validated subnet, with some of existing nodes and another new node as participants (requires network restart): @@ -322,7 +322,7 @@ To create 1 validated subnet, with some of existing nodes and another new node a curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{"participants": ["node1", "node2", "testNode"]}]' # or -avalanche-network-runner control create-subnets '[{"participants": ["node1", "node2", "testNode"]}]' +netrunner control create-subnets '[{"participants": ["node1", "node2", "testNode"]}]' ``` @@ -332,7 +332,7 @@ To create N validated subnets (requires network restart): curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]' # or -avalanche-network-runner control create-subnets '[{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]' +netrunner control create-subnets '[{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]' ``` @@ -342,7 +342,7 @@ To create a blockchain without a subnet id (requires network restart): curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]' --plugin-dir $PLUGIN_DIR ``` Genesis can be given either as file path or file contents: @@ -351,7 +351,7 @@ Genesis can be given either as file path or file contents: curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]' --plugin-dir $PLUGIN_DIR ``` To create a blockchain with a subnet id (does not require restart): @@ -360,7 +360,7 @@ To create a blockchain with a subnet id (does not require restart): curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'"}]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'"}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'"}]' --plugin-dir $PLUGIN_DIR ``` To create a blockchain with a subnet id, and chain config, network upgrade and subnet config file paths (requires network restart): @@ -369,7 +369,7 @@ To create a blockchain with a subnet id, and chain config, network upgrade and s curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' --plugin-dir $PLUGIN_DIR ``` To create a blockchain with a new subnet id with select nodes as participants (requires network restart): @@ -379,7 +379,7 @@ To create a blockchain with a new subnet id with select nodes as participants (r curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": "{"participants": ["node1", "node2", "testNode"]}"]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": "{"participants": ["node1", "node2", "testNode"]}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": "{"participants": ["node1", "node2", "testNode"]}]' --plugin-dir $PLUGIN_DIR ``` To create two blockchains in two disjoint subnets (not shared validators), and where all validators have bls keys (parcipants new to the network): @@ -409,7 +409,7 @@ Then a blockchain with different chain configs per node can be created with this curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "per_node_chain_config": "'$PER_NODE_CHAIN_CONFIG'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]}' # or -avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "per_node_chain_config": "'$PER_NODE_CHAIN_CONFIG'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' --plugin-dir $PLUGIN_DIR +netrunner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "per_node_chain_config": "'$PER_NODE_CHAIN_CONFIG'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' --plugin-dir $PLUGIN_DIR ``` To remove (stop) a node: @@ -418,7 +418,7 @@ To remove (stop) a node: curl -X POST -k http://localhost:8081/v1/control/removenode -d '{"name":"node5"}' # or -avalanche-network-runner control remove-node \ +netrunner control remove-node \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ @@ -428,51 +428,51 @@ node5 To restart a node (in this case, the one named `node1`): ```bash -# e.g., ${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego -AVALANCHEGO_EXEC_PATH="avalanchego" +# e.g., ${HOME}/go/src/github.com/luxdefi/node/build/node +LUXD_EXEC_PATH="node" # Note that you can restart the node with a different binary by providing # a different execPath -curl -X POST -k http://localhost:8081/v1/control/restartnode -d '{"name":"node1","execPath":"'${AVALANCHEGO_EXEC_PATH}'","logLevel":"INFO"}' +curl -X POST -k http://localhost:8081/v1/control/restartnode -d '{"name":"node1","execPath":"'${LUXD_EXEC_PATH}'","logLevel":"INFO"}' # or -avalanche-network-runner control restart-node \ +netrunner control restart-node \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ node1 ``` To add a node (in this case, a new node named `node99`): ```bash -# e.g., ${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego -AVALANCHEGO_EXEC_PATH="avalanchego" +# e.g., ${HOME}/go/src/github.com/luxdefi/node/build/node +LUXD_EXEC_PATH="node" # Note that you can add the new node with a different binary by providing # a different execPath -curl -X POST -k http://localhost:8081/v1/control/addnode -d '{"name":"node99","execPath":"'${AVALANCHEGO_EXEC_PATH}'","logLevel":"INFO"}' +curl -X POST -k http://localhost:8081/v1/control/addnode -d '{"name":"node99","execPath":"'${LUXD_EXEC_PATH}'","logLevel":"INFO"}' # or -avalanche-network-runner control add-node \ +netrunner control add-node \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ node99 ``` To pause a node (in this case, node named `node99`): ```bash -# e.g., ${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego -AVALANCHEGO_EXEC_PATH="avalanchego" +# e.g., ${HOME}/go/src/github.com/luxdefi/node/build/node +LUXD_EXEC_PATH="node" curl -X POST -k http://localhost:8081/v1/control/pausenode -d '{"name":"node99","logLevel":"INFO"}' # or -avalanche-network-runner control pause-node \ +netrunner control pause-node \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ @@ -481,14 +481,14 @@ node99 To resume a paused node (in this case, node named `node99`): ```bash -# e.g., ${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego -AVALANCHEGO_EXEC_PATH="avalanchego" +# e.g., ${HOME}/go/src/github.com/luxdefi/node/build/node +LUXD_EXEC_PATH="node" curl -X POST -k http://localhost:8081/v1/control/resumenode -d '{"name":"node99","logLevel":"INFO"}' # or -avalanche-network-runner control resume-node \ +netrunner control resume-node \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ @@ -501,14 +501,14 @@ You can also provide additional flags that specify the node's config: --node-config '{"index-enabled":false, "api-admin-enabled":true,"network-peer-list-gossip-frequency":"300ms"}' ``` -`--node-config` allows to specify specific avalanchego config parameters to the new node. See [here](https://docs.avax.network/build/references/avalanchego-config-flags) for the reference of supported flags. +`--node-config` allows to specify specific node config parameters to the new node. See [here](https://docs.lux.network/build/references/node-config-flags) for the reference of supported flags. **Note**: The following parameters will be _ignored_ if set in `--node-config`, because the network runner needs to set its own in order to function properly: `--log-dir` `--db-dir` -AvalancheGo exposes a "test peer", which you can attach to a node. -(See [here](https://github.com/ava-labs/avalanchego/blob/master/network/peer/test_peer.go) for more information.) +Lux exposes a "test peer", which you can attach to a node. +(See [here](https://github.com/luxdefi/node/blob/master/network/peer/test_peer.go) for more information.) You can send messages through the test peer to the node it is attached to. To attach a test peer to a node (in this case, `node1`): @@ -517,7 +517,7 @@ To attach a test peer to a node (in this case, `node1`): curl -X POST -k http://localhost:8081/v1/control/attachpeer -d '{"nodeName":"node1"}' # or -avalanche-network-runner control attach-peer \ +netrunner control attach-peer \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ @@ -530,7 +530,7 @@ To send a chit message to the node through the test peer: curl -X POST -k http://localhost:8081/v1/control/sendoutboundmessage -d '{"nodeName":"node1","peerId":"7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg","op":16,"bytes":"EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKgAAAAPpAqmoZkC/2xzQ42wMyYK4Pldl+tX2u+ar3M57WufXx0oXcgXfXCmSnQbbnZQfg9XqmF3jAgFemSUtFkaaZhDbX6Ke1DVpA9rCNkcTxg9X2EcsfdpKXgjYioitjqca7WA="}' # or -avalanche-network-runner control send-outbound-message \ +netrunner control send-outbound-message \ --request-timeout=3m \ --log-level debug \ --endpoint="0.0.0.0:8080" \ @@ -546,7 +546,7 @@ To terminate the cluster: curl -X POST -k http://localhost:8081/v1/control/stop -d '' # or -avalanche-network-runner control stop \ +netrunner control stop \ --log-level debug \ --endpoint="0.0.0.0:8080" ``` @@ -556,7 +556,7 @@ avalanche-network-runner control stop \ To start the server: ```bash -avalanche-network-runner server \ +netrunner server \ --log-level debug \ --port=":8080" \ --grpc-gateway-port=":8081" @@ -568,32 +568,32 @@ curl -X POST -k http://localhost:8081/v1/ping -d '' To start the cluster with custom chains: ```bash -# or download from https://github.com/ava-labs/subnet-cli/releases -cd ${HOME}/go/src/github.com/ava-labs/subnet-cli +# or download from https://github.com/luxdefi/subnet-cli/releases +cd ${HOME}/go/src/github.com/luxdefi/subnet-cli go install -v . subnet-cli create VMID subnetevm # srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy -# download from https://github.com/ava-labs/avalanchego/releases +# download from https://github.com/luxdefi/node/releases # or build -rm -rf ${HOME}/go/src/github.com/ava-labs/avalanchego/build -cd ${HOME}/go/src/github.com/ava-labs/avalanchego +rm -rf ${HOME}/go/src/github.com/luxdefi/node/build +cd ${HOME}/go/src/github.com/luxdefi/node ./scripts/build.sh -# ref. https://github.com/ava-labs/subnet-evm/blob/b69e47e0398b5237cda0422f6a32969e64bde346/scripts/run.sh -cd ${HOME}/go/src/github.com/ava-labs/subnet-evm +# ref. https://github.com/luxdefi/subnet-evm/blob/b69e47e0398b5237cda0422f6a32969e64bde346/scripts/run.sh +cd ${HOME}/go/src/github.com/luxdefi/subnet-evm go build -v \ --o ${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy \ +-o ${HOME}/go/src/github.com/luxdefi/node/build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy \ ./plugin # make sure binaries are built -find ${HOME}/go/src/github.com/ava-labs/avalanchego/build +find ${HOME}/go/src/github.com/luxdefi/node/build # for example # .../build # .../build/plugins # .../build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy # .../build/plugins/evm -# .../build/avalanchego +# .../build/node # generate the genesis for the custom chain export CHAIN_ID=99999 @@ -645,18 +645,18 @@ cat /tmp/subnet-evm.genesis.json ``` ```bash -# replace execPath with the path to AvalancheGo on your machine -AVALANCHEGO_EXEC_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego" -AVALANCHEGO_PLUGIN_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins" +# replace execPath with the path to Lux on your machine +LUXD_EXEC_PATH="${HOME}/go/src/github.com/luxdefi/node/build/node" +LUXD_PLUGIN_PATH="${HOME}/go/src/github.com/luxdefi/node/build/plugins" -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json"}]}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${LUXD_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json"}]}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name": "subnetevm", "genesis": "/tmp/subnet-evm.genesis.json"}]' ``` @@ -668,14 +668,14 @@ curl -X POST -k http://localhost:8081/v1/control/status -d '' Blockchain config file, network upgrade file, and subnet config file paths can be optionally specified at network start, eg: ```bash -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${LUXD_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name": "subnetevm", "genesis": "/tmp/subnet-evm.genesis.json", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' ``` @@ -684,7 +684,7 @@ avalanche-network-runner control start \ To start the server: ```bash -avalanche-network-runner server \ +netrunner server \ --log-level debug \ --port=":8080" \ --grpc-gateway-port=":8081" @@ -696,34 +696,34 @@ curl -X POST -k http://localhost:8081/v1/ping -d '' To start the cluster with custom chains: ```bash -# or download from https://github.com/ava-labs/subnet-cli/releases -cd ${HOME}/go/src/github.com/ava-labs/subnet-cli +# or download from https://github.com/luxdefi/subnet-cli/releases +cd ${HOME}/go/src/github.com/luxdefi/subnet-cli go install -v . subnet-cli create VMID blobvm # kM6h4LYe3AcEU1MB2UNg6ubzAiDAALZzpVrbX8zn3hXF6Avd8 -# download from https://github.com/ava-labs/avalanchego/releases +# download from https://github.com/luxdefi/node/releases # or build -rm -rf ${HOME}/go/src/github.com/ava-labs/avalanchego/build -cd ${HOME}/go/src/github.com/ava-labs/avalanchego +rm -rf ${HOME}/go/src/github.com/luxdefi/node/build +cd ${HOME}/go/src/github.com/luxdefi/node ./scripts/build.sh -cd ${HOME}/go/src/github.com/ava-labs/blobvm +cd ${HOME}/go/src/github.com/luxdefi/blobvm go build -v \ --o ${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins/kM6h4LYe3AcEU1MB2UNg6ubzAiDAALZzpVrbX8zn3hXF6Avd8 \ +-o ${HOME}/go/src/github.com/luxdefi/node/build/plugins/kM6h4LYe3AcEU1MB2UNg6ubzAiDAALZzpVrbX8zn3hXF6Avd8 \ ./cmd/blobvm # make sure binaries are built -find ${HOME}/go/src/github.com/ava-labs/avalanchego/build +find ${HOME}/go/src/github.com/luxdefi/node/build # for example # .../build # .../build/plugins # .../build/plugins/kM6h4LYe3AcEU1MB2UNg6ubzAiDAALZzpVrbX8zn3hXF6Avd8 # .../build/plugins/evm -# .../build/avalanchego +# .../build/node # generate the genesis for the custom chain -cd ${HOME}/go/src/github.com/ava-labs/blobvm +cd ${HOME}/go/src/github.com/luxdefi/blobvm go install -v ./cmd/blob-cli echo "[]" > /tmp/alloc.json blob-cli genesis 1 /tmp/alloc.json --genesis-file /tmp/blobvm.genesis.json @@ -731,18 +731,18 @@ cat /tmp/blobvm.genesis.json ``` ```bash -# replace execPath with the path to AvalancheGo on your machine -AVALANCHEGO_EXEC_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego" -AVALANCHEGO_PLUGIN_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins" +# replace execPath with the path to Lux on your machine +LUXD_EXEC_PATH="${HOME}/go/src/github.com/luxdefi/node/build/node" +LUXD_PLUGIN_PATH="${HOME}/go/src/github.com/luxdefi/node/build/plugins" -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.genesis.json"}]}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${LUXD_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.genesis.json"}]}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name": "blobvm", "genesis": "/tmp/blobvm.genesis.json"}]' ``` @@ -754,14 +754,14 @@ curl -X POST -k http://localhost:8081/v1/control/status -d '' Blockchain config file and network upgrade file paths can be optionally specified at network start, eg: ```bash -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${LUXD_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name": "blobvm", "genesis": "/tmp/blobvm.genesis.json", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]' ``` @@ -770,7 +770,7 @@ avalanche-network-runner control start \ To start the server: ```bash -avalanche-network-runner server \ +netrunner server \ --log-level debug \ --port=":8080" \ --grpc-gateway-port=":8081" @@ -782,34 +782,34 @@ curl -X POST -k http://localhost:8081/v1/ping -d '' To start the cluster with custom chains: ```bash -# or download from https://github.com/ava-labs/subnet-cli/releases -cd ${HOME}/go/src/github.com/ava-labs/subnet-cli +# or download from https://github.com/luxdefi/subnet-cli/releases +cd ${HOME}/go/src/github.com/luxdefi/subnet-cli go install -v . subnet-cli create VMID timestampvm # tGas3T58KzdjcJ2iKSyiYsWiqYctRXaPTqBCA11BqEkNg8kPc -# download from https://github.com/ava-labs/avalanchego/releases +# download from https://github.com/luxdefi/node/releases # or build -rm -rf ${HOME}/go/src/github.com/ava-labs/avalanchego/build -cd ${HOME}/go/src/github.com/ava-labs/avalanchego +rm -rf ${HOME}/go/src/github.com/luxdefi/node/build +cd ${HOME}/go/src/github.com/luxdefi/node ./scripts/build.sh -# or download from https://github.com/ava-labs/timestampvm/releases -# cd ${HOME}/go/src/github.com/ava-labs/timestampvm +# or download from https://github.com/luxdefi/timestampvm/releases +# cd ${HOME}/go/src/github.com/luxdefi/timestampvm # ./scripts/build.sh -cd ${HOME}/go/src/github.com/ava-labs/timestampvm +cd ${HOME}/go/src/github.com/luxdefi/timestampvm go build -v \ --o ${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins/tGas3T58KzdjcJ2iKSyiYsWiqYctRXaPTqBCA11BqEkNg8kPc \ +-o ${HOME}/go/src/github.com/luxdefi/node/build/plugins/tGas3T58KzdjcJ2iKSyiYsWiqYctRXaPTqBCA11BqEkNg8kPc \ ./main # make sure binaries are built -find ${HOME}/go/src/github.com/ava-labs/avalanchego/build +find ${HOME}/go/src/github.com/luxdefi/node/build # for example # .../build # .../build/plugins # .../build/plugins/tGas3T58KzdjcJ2iKSyiYsWiqYctRXaPTqBCA11BqEkNg8kPc # .../build/plugins/evm -# .../build/avalanchego +# .../build/node # generate the genesis for the custom chain # NOTE: timestampvm takes arbitrary data for its genesis @@ -817,18 +817,18 @@ echo hello > /tmp/timestampvm.genesis.json ``` ```bash -# replace execPath with the path to AvalancheGo on your machine -AVALANCHEGO_EXEC_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego" -AVALANCHEGO_PLUGIN_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins" +# replace execPath with the path to Lux on your machine +LUXD_EXEC_PATH="${HOME}/go/src/github.com/luxdefi/node/build/node" +LUXD_PLUGIN_PATH="${HOME}/go/src/github.com/luxdefi/node/build/plugins" -curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vmName":"timestampvm","genesis":"/tmp/timestampvm.genesis.json","blockchain_alias":"timestamp"}]}' +curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${LUXD_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${LUXD_PLUGIN_PATH}'","blockchainSpecs":[{"vmName":"timestampvm","genesis":"/tmp/timestampvm.genesis.json","blockchain_alias":"timestamp"}]}' # or -avalanche-network-runner control start \ +netrunner control start \ --log-level debug \ --endpoint="0.0.0.0:8080" \ ---avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ ---plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ +--node-path ${LUXD_EXEC_PATH} \ +--plugin-dir ${LUXD_PLUGIN_PATH} \ --blockchain-specs '[{"vm_name":"timestampvm","genesis":"/tmp/timestampvm.genesis.json","blockchain_alias":"timestamp"}]' ``` @@ -924,7 +924,7 @@ As you can see, some fields of the config must be set, while others will be auto ## Genesis Generation -You can create a custom AvalancheGo genesis with function `network.NewAvalancheGoGenesis`: +You can create a custom Lux genesis with function `network.NewLuxGenesis`: ```go // Return a genesis JSON where: @@ -933,7 +933,7 @@ You can create a custom AvalancheGo genesis with function `network.NewAvalancheG // [cChainBalances] and [xChainBalances]. // Note that many of the genesis fields (i.e. reward addresses) // are randomly generated or hard-coded. -func NewAvalancheGoGenesis( +func NewLuxGenesis( log logging.Logger, networkID uint32, xChainBalances []AddrAndBalance, @@ -1025,10 +1025,10 @@ To create a new network from a snapshot, the function `NewNetworkFromSnapshot` i ## Network Interaction -The network runner allows users to interact with an AvalancheGo network using the `network.Network` interface: +The network runner allows users to interact with an Lux network using the `network.Network` interface: ```go -// Network is an abstraction of an Avalanche network +// Network is an abstraction of an Lux network type Network interface { // Returns nil if all the nodes in the network are healthy. // A stopped network is considered unhealthy. @@ -1067,12 +1067,12 @@ type Network interface { and allows users to interact with a node using the `node.Node` interface: ```go -// Node represents an AvalancheGo node +// Node represents an Lux node type Node interface { // Return this node's name, which is unique // across all the nodes in its network. GetName() string - // Return this node's Avalanche node ID. + // Return this node's Lux node ID. GetNodeID() ids.ShortID // Return a client that can be used to make API calls. GetAPIClient() api.Client @@ -1088,7 +1088,7 @@ type Node interface { // It's left to the caller to maintain a reference to the returned peer. // The caller should call StartClose() on the peer when they're done with it. AttachPeer(ctx context.Context, handler router.InboundHandler) (peer.Peer, error) - // Return this node's avalanchego binary path + // Return this node's node binary path GetBinaryPath() string // Return this node's db dir GetDbDir() string diff --git a/api/api_client.go b/api/api_client.go index a9604fdf..840fb59d 100644 --- a/api/api_client.go +++ b/api/api_client.go @@ -3,15 +3,15 @@ package api import ( "fmt" - "github.com/ava-labs/avalanchego/api/admin" - "github.com/ava-labs/avalanchego/api/health" - "github.com/ava-labs/avalanchego/api/info" - "github.com/ava-labs/avalanchego/api/ipcs" - "github.com/ava-labs/avalanchego/api/keystore" - "github.com/ava-labs/avalanchego/indexer" - "github.com/ava-labs/avalanchego/vms/avm" - "github.com/ava-labs/avalanchego/vms/platformvm" - "github.com/ava-labs/coreth/plugin/evm" + "github.com/luxdefi/node/api/admin" + "github.com/luxdefi/node/api/health" + "github.com/luxdefi/node/api/info" + "github.com/luxdefi/node/api/ipcs" + "github.com/luxdefi/node/api/keystore" + "github.com/luxdefi/node/indexer" + "github.com/luxdefi/node/vms/avm" + "github.com/luxdefi/node/vms/platformvm" + "github.com/luxdefi/coreth/plugin/evm" ) // interface compliance @@ -20,7 +20,7 @@ var ( _ NewAPIClientF = NewAPIClient ) -// APIClient gives access to most avalanchego apis (or suitable wrappers) +// APIClient gives access to most node apis (or suitable wrappers) type APIClient struct { platform platformvm.Client xChain avm.Client @@ -39,7 +39,7 @@ type APIClient struct { // Returns a new API client for a node at [ipAddr]:[port]. type NewAPIClientF func(ipAddr string, port uint16) Client -// NewAPIClient initialize most of avalanchego apis +// NewAPIClient initialize most of node apis func NewAPIClient(ipAddr string, port uint16) Client { uri := fmt.Sprintf("http://%s:%d", ipAddr, port) return &APIClient{ diff --git a/api/client.go b/api/client.go index 7dfc5673..fe45a7ad 100644 --- a/api/client.go +++ b/api/client.go @@ -1,15 +1,15 @@ package api import ( - "github.com/ava-labs/avalanchego/api/admin" - "github.com/ava-labs/avalanchego/api/health" - "github.com/ava-labs/avalanchego/api/info" - "github.com/ava-labs/avalanchego/api/ipcs" - "github.com/ava-labs/avalanchego/api/keystore" - "github.com/ava-labs/avalanchego/indexer" - "github.com/ava-labs/avalanchego/vms/avm" - "github.com/ava-labs/avalanchego/vms/platformvm" - "github.com/ava-labs/coreth/plugin/evm" + "github.com/luxdefi/node/api/admin" + "github.com/luxdefi/node/api/health" + "github.com/luxdefi/node/api/info" + "github.com/luxdefi/node/api/ipcs" + "github.com/luxdefi/node/api/keystore" + "github.com/luxdefi/node/indexer" + "github.com/luxdefi/node/vms/avm" + "github.com/luxdefi/node/vms/platformvm" + "github.com/luxdefi/coreth/plugin/evm" ) // Issues API calls to a node diff --git a/api/eth_client.go b/api/eth_client.go index 101057a8..ef352f3c 100644 --- a/api/eth_client.go +++ b/api/eth_client.go @@ -6,10 +6,10 @@ import ( "math/big" "sync" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/coreth/core/types" - "github.com/ava-labs/coreth/ethclient" - "github.com/ava-labs/coreth/interfaces" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/coreth/core/types" + "github.com/luxdefi/coreth/ethclient" + "github.com/luxdefi/coreth/interfaces" "github.com/ethereum/go-ethereum/common" ) @@ -51,7 +51,7 @@ type ethClient struct { // NewEthClient mainly takes ip/port info for usage in future calls // Connection can't be initialized in constructor because node is not ready when the constructor is called -// It follows convention of most avalanchego api constructors that can be called without having a ready node +// It follows convention of most node api constructors that can be called without having a ready node func NewEthClient(ipAddr string, port uint) EthClient { // default to using the C chain return NewEthClientWithChainID(ipAddr, port, "C") diff --git a/api/mocks/EthClient.go b/api/mocks/EthClient.go index ddfef46b..2f5a7d6c 100644 --- a/api/mocks/EthClient.go +++ b/api/mocks/EthClient.go @@ -8,13 +8,13 @@ import ( common "github.com/ethereum/go-ethereum/common" - ids "github.com/ava-labs/avalanchego/ids" + ids "github.com/luxdefi/node/ids" - interfaces "github.com/ava-labs/coreth/interfaces" + interfaces "github.com/luxdefi/coreth/interfaces" mock "github.com/stretchr/testify/mock" - types "github.com/ava-labs/coreth/core/types" + types "github.com/luxdefi/coreth/core/types" ) // EthClient is an autogenerated mock type for the EthClient type diff --git a/api/mocks/client.go b/api/mocks/client.go index cb58d705..a833820d 100644 --- a/api/mocks/client.go +++ b/api/mocks/client.go @@ -3,26 +3,26 @@ package mocks import ( - api "github.com/ava-labs/avalanche-network-runner/api" - admin "github.com/ava-labs/avalanchego/api/admin" + api "github.com/luxdefi/netrunner/api" + admin "github.com/luxdefi/node/api/admin" - avm "github.com/ava-labs/avalanchego/vms/avm" + avm "github.com/luxdefi/node/vms/avm" - evm "github.com/ava-labs/coreth/plugin/evm" + evm "github.com/luxdefi/coreth/plugin/evm" - health "github.com/ava-labs/avalanchego/api/health" + health "github.com/luxdefi/node/api/health" - indexer "github.com/ava-labs/avalanchego/indexer" + indexer "github.com/luxdefi/node/indexer" - info "github.com/ava-labs/avalanchego/api/info" + info "github.com/luxdefi/node/api/info" - ipcs "github.com/ava-labs/avalanchego/api/ipcs" + ipcs "github.com/luxdefi/node/api/ipcs" - keystore "github.com/ava-labs/avalanchego/api/keystore" + keystore "github.com/luxdefi/node/api/keystore" mock "github.com/stretchr/testify/mock" - platformvm "github.com/ava-labs/avalanchego/vms/platformvm" + platformvm "github.com/luxdefi/node/vms/platformvm" ) // Client is an autogenerated mock type for the Client type diff --git a/client/client.go b/client/client.go index b7f4a014..ff33221b 100644 --- a/client/client.go +++ b/client/client.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. // Package client implements client. @@ -12,9 +12,9 @@ import ( "sync" "time" - "github.com/ava-labs/avalanche-network-runner/local" - "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/local" + "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/node/utils/logging" "go.uber.org/zap" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/cmd/control/control.go b/cmd/control/control.go index bcd30e6f..46d02f16 100644 --- a/cmd/control/control.go +++ b/cmd/control/control.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package control @@ -14,13 +14,13 @@ import ( "syscall" "time" - "github.com/ava-labs/avalanche-network-runner/client" - "github.com/ava-labs/avalanche-network-runner/local" - "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanche-network-runner/ux" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/client" + "github.com/luxdefi/netrunner/local" + "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/netrunner/ux" + "github.com/luxdefi/node/utils/logging" "github.com/spf13/cobra" "go.uber.org/zap" ) @@ -86,7 +86,7 @@ func NewCommand() *cobra.Command { } var ( - avalancheGoBinPath string + luxdBinPath string numNodes uint32 pluginDir string globalNodeConfig string @@ -166,10 +166,10 @@ func newStartCommand() *cobra.Command { Args: cobra.ExactArgs(0), } cmd.PersistentFlags().StringVar( - &avalancheGoBinPath, - "avalanchego-path", + &luxdBinPath, + "node-path", "", - "avalanchego binary path", + "node binary path", ) cmd.PersistentFlags().Uint32Var( &numNodes, @@ -243,7 +243,7 @@ func newStartCommand() *cobra.Command { false, "true to assign dynamic ports", ) - if err := cmd.MarkPersistentFlagRequired("avalanchego-path"); err != nil { + if err := cmd.MarkPersistentFlagRequired("node-path"); err != nil { panic(err) } return cmd @@ -317,7 +317,7 @@ func startFunc(*cobra.Command, []string) error { info, err := cli.Start( ctx, - avalancheGoBinPath, + luxdBinPath, opts..., ) if err != nil { @@ -781,10 +781,10 @@ func newAddNodeCommand() *cobra.Command { Args: cobra.ExactArgs(1), } cmd.PersistentFlags().StringVar( - &avalancheGoBinPath, - "avalanchego-path", + &luxdBinPath, + "node-path", "", - "avalanchego binary path", + "node binary path", ) cmd.PersistentFlags().StringVar( &addNodeConfig, @@ -868,7 +868,7 @@ func addNodeFunc(_ *cobra.Command, args []string) error { info, err := cli.AddNode( ctx, nodeName, - avalancheGoBinPath, + luxdBinPath, opts..., ) cancel() @@ -888,10 +888,10 @@ func newRestartNodeCommand() *cobra.Command { Args: cobra.ExactArgs(1), } cmd.PersistentFlags().StringVar( - &avalancheGoBinPath, - "avalanchego-path", + &luxdBinPath, + "node-path", "", - "avalanchego binary path", + "node binary path", ) cmd.PersistentFlags().StringVar( &trackSubnets, @@ -936,7 +936,7 @@ func restartNodeFunc(_ *cobra.Command, args []string) error { defer cli.Close() opts := []client.OpOption{ - client.WithExecPath(avalancheGoBinPath), + client.WithExecPath(luxdBinPath), client.WithPluginDir(pluginDir), client.WithTrackSubnets(trackSubnets), } @@ -1141,10 +1141,10 @@ func newLoadSnapshotCommand() *cobra.Command { Args: cobra.ExactArgs(1), } cmd.PersistentFlags().StringVar( - &avalancheGoBinPath, - "avalanchego-path", + &luxdBinPath, + "node-path", "", - "avalanchego binary path", + "node binary path", ) cmd.PersistentFlags().StringVar( &pluginDir, @@ -1199,7 +1199,7 @@ func loadSnapshotFunc(_ *cobra.Command, args []string) error { defer cli.Close() opts := []client.OpOption{ - client.WithExecPath(avalancheGoBinPath), + client.WithExecPath(luxdBinPath), client.WithPluginDir(pluginDir), client.WithRootDataDir(rootDataDir), client.WithReassignPortsIfUsed(reassignPortsIfUsed), diff --git a/cmd/ping/ping.go b/cmd/ping/ping.go index 2050105f..8f059a37 100644 --- a/cmd/ping/ping.go +++ b/cmd/ping/ping.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package ping @@ -7,10 +7,10 @@ import ( "context" "time" - "github.com/ava-labs/avalanche-network-runner/client" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanche-network-runner/ux" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/client" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/netrunner/ux" + "github.com/luxdefi/node/utils/logging" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 722a1476..5d640b6b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package cmd @@ -7,17 +7,17 @@ import ( "fmt" "os" - "github.com/ava-labs/avalanche-network-runner/cmd/control" - "github.com/ava-labs/avalanche-network-runner/cmd/ping" - "github.com/ava-labs/avalanche-network-runner/cmd/server" + "github.com/luxdefi/netrunner/cmd/control" + "github.com/luxdefi/netrunner/cmd/ping" + "github.com/luxdefi/netrunner/cmd/server" "github.com/spf13/cobra" ) var Version = "" var rootCmd = &cobra.Command{ - Use: "avalanche-network-runner", - Short: "avalanche-network-runner commands", + Use: "netrunner", + Short: "netrunner commands", SuggestFor: []string{"network-runner"}, Version: Version, } @@ -36,7 +36,7 @@ func init() { func Execute() { if err := rootCmd.Execute(); err != nil { - fmt.Fprintf(os.Stderr, "avalanche-network-runner failed %v\n", err) + fmt.Fprintf(os.Stderr, "netrunner failed %v\n", err) os.Exit(1) } os.Exit(0) diff --git a/cmd/server/server.go b/cmd/server/server.go index ed88cc13..16811b22 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package server @@ -11,10 +11,10 @@ import ( "syscall" "time" - "github.com/ava-labs/avalanche-network-runner/server" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/server" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/node/utils/logging" "github.com/spf13/cobra" "go.uber.org/zap" ) diff --git a/examples/local/fivenodenetwork/main.go b/examples/local/fivenodenetwork/main.go index bccc866b..3525218f 100644 --- a/examples/local/fivenodenetwork/main.go +++ b/examples/local/fivenodenetwork/main.go @@ -9,9 +9,9 @@ import ( "syscall" "time" - "github.com/ava-labs/avalanche-network-runner/local" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/local" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/node/utils/logging" "go.uber.org/zap" ) @@ -41,8 +41,8 @@ func shutdownOnSignal( close(closedOnShutdownChan) } -// Shows example usage of the Avalanche Network Runner. -// Creates a local five node Avalanche network +// Shows example usage of the Lux Network Runner. +// Creates a local five node Lux network // and waits for all nodes to become healthy. // The network runs until the user provides a SIGINT or SIGTERM. func main() { @@ -59,7 +59,7 @@ func main() { if goPath == "" { goPath = build.Default.GOPATH } - binaryPath := fmt.Sprintf("%s%s", goPath, "/src/github.com/ava-labs/avalanchego/build/avalanchego") + binaryPath := fmt.Sprintf("%s%s", goPath, "/src/github.com/luxdefi/node/build/node") if err := run(log, binaryPath); err != nil { log.Fatal("fatal error", zap.Error(err)) os.Exit(1) diff --git a/examples/local/indepth/main.go b/examples/local/indepth/main.go index 3b74b1cf..aee83b0e 100644 --- a/examples/local/indepth/main.go +++ b/examples/local/indepth/main.go @@ -8,12 +8,12 @@ import ( "syscall" "time" - "github.com/ava-labs/avalanche-network-runner/local" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/staking" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/local" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/staking" + "github.com/luxdefi/node/utils/logging" "go.uber.org/zap" ) @@ -44,8 +44,8 @@ func shutdownOnSignal( close(closedOnShutdownChan) } -// Shows example usage of the Avalanche Network Runner. -// Creates a local five node Avalanche network +// Shows example usage of the Lux Network Runner. +// Creates a local five node Lux network // and waits for all nodes to become healthy. // Then, we: // * print the names of the nodes @@ -64,7 +64,7 @@ func main() { fmt.Println(err) os.Exit(1) } - binaryPath := fmt.Sprintf("%s%s", goPath, "/src/github.com/ava-labs/avalanchego/build/avalanchego") + binaryPath := fmt.Sprintf("%s%s", goPath, "/src/github.com/luxdefi/node/build/node") if err := run(log, binaryPath); err != nil { log.Fatal("fatal error", zap.Error(err)) os.Exit(1) diff --git a/go.mod b/go.mod deleted file mode 100644 index a333d5c6..00000000 --- a/go.mod +++ /dev/null @@ -1,126 +0,0 @@ -module github.com/ava-labs/avalanche-network-runner - -go 1.19 - -require ( - github.com/ava-labs/avalanchego v1.10.1 - github.com/ava-labs/coreth v0.12.1 - github.com/ethereum/go-ethereum v1.10.26 - github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 - github.com/onsi/ginkgo/v2 v2.8.1 - github.com/onsi/gomega v1.26.0 - github.com/otiai10/copy v1.11.0 - github.com/prometheus/client_golang v1.15.1 - github.com/shirou/gopsutil v3.21.11+incompatible - github.com/spf13/cobra v1.7.0 - github.com/stretchr/testify v1.8.3 - go.uber.org/multierr v1.11.0 - go.uber.org/zap v1.24.0 - golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5 - golang.org/x/mod v0.10.0 - golang.org/x/sync v0.2.0 - google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 - google.golang.org/grpc v1.56.0-dev - google.golang.org/protobuf v1.30.0 -) - -require ( - github.com/DataDog/zstd v1.5.2 // indirect - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/NYTimes/gziphandler v1.1.1 // indirect - github.com/VictoriaMetrics/fastcache v1.10.0 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect - github.com/btcsuite/btcd/btcutil v1.1.3 // indirect - github.com/cenkalti/backoff/v4 v4.1.3 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // 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.1.0 // indirect - github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 // indirect - github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf // indirect - github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-ole/go-ole v1.2.6 // indirect - github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect - github.com/go-stack/stack v1.8.0 // indirect - github.com/golang-jwt/jwt/v4 v4.3.0 // indirect - github.com/golang/mock v1.6.0 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/golang/snappy v0.0.4 // indirect - github.com/google/btree v1.1.2 // indirect - github.com/google/go-cmp v0.5.9 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/gorilla/mux v1.8.0 // indirect - github.com/gorilla/rpc v1.2.0 // indirect - github.com/gorilla/websocket v1.4.2 // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.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/big v0.0.0-20221017200358-a027dc42d04e // 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.1.0 // indirect - github.com/jackpal/gateway v1.0.6 // indirect - github.com/jackpal/go-nat-pmp v1.0.2 // indirect - github.com/magiconair/properties v1.8.6 // indirect - github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-isatty v0.0.14 // indirect - github.com/mattn/go-runewidth v0.0.9 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/mitchellh/pointerstructure v1.2.0 // indirect - github.com/mr-tron/base58 v1.2.0 // indirect - github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect - github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/pelletier/go-toml v1.9.5 // indirect - github.com/pelletier/go-toml/v2 v2.0.1 // indirect - github.com/pires/go-proxyproto v0.6.2 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.42.0 // indirect - github.com/prometheus/procfs v0.9.0 // indirect - github.com/rjeczalik/notify v0.9.3 // indirect - github.com/rs/cors v1.7.0 // indirect - github.com/spaolacci/murmur3 v1.1.0 // indirect - github.com/spf13/afero v1.8.2 // indirect - github.com/spf13/cast v1.5.0 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/spf13/viper v1.12.0 // indirect - github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 // indirect - github.com/stretchr/objx v0.5.0 // indirect - github.com/subosito/gotenv v1.3.0 // indirect - github.com/supranational/blst v0.3.11-0.20220920110316-f72618070295 // indirect - github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // 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.2 // indirect - github.com/yusufpapurcu/wmi v1.2.2 // indirect - go.opentelemetry.io/otel v1.11.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.11.0 // indirect - go.opentelemetry.io/otel/sdk v1.11.0 // indirect - go.opentelemetry.io/otel/trace v1.11.0 // indirect - go.opentelemetry.io/proto/otlp v0.19.0 // indirect - go.uber.org/atomic v1.10.0 // indirect - golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect - golang.org/x/net v0.8.0 // indirect - golang.org/x/sys v0.6.0 // indirect - golang.org/x/term v0.6.0 // indirect - golang.org/x/text v0.8.0 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect - gonum.org/v1/gonum v0.11.0 // indirect - gopkg.in/ini.v1 v1.66.4 // indirect - gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect - gopkg.in/urfave/cli.v1 v1.20.0 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) diff --git a/go.sum b/go.sum deleted file mode 100644 index c0f3ae03..00000000 --- a/go.sum +++ /dev/null @@ -1,831 +0,0 @@ -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.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.44.3/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.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -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/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -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/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -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= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= -github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= -github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/VictoriaMetrics/fastcache v1.10.0 h1:5hDJnLsKLpnUEToub7ETuRu8RCkb40woBZAUiKonXzY= -github.com/VictoriaMetrics/fastcache v1.10.0/go.mod h1:tjiYeEfYXCqacuvYw/7UoDIeJaNxq6132xHICNP77w8= -github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= -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/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/ava-labs/avalanchego v1.10.1 h1:lBeamJ1iNq+p2oKg2nAs+A65m8vhSDjkiTDbwzQW7kY= -github.com/ava-labs/avalanchego v1.10.1/go.mod h1:ZvSXWlbkUKlbk3BsWx29a+8eVHe/WBsOxh55BSGoeRk= -github.com/ava-labs/coreth v0.12.1 h1:EWSkFGHGVUxmu1pnSK/2pdcxaAVHbGspHqO3Ag+i7sA= -github.com/ava-labs/coreth v0.12.1/go.mod h1:/5x54QlIKjlPebkdzTA5ic9wXdejbWOnQosztkv9jxo= -github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= -github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c/go.mod h1:tjmYdS6MLJ5/s0Fj4DbLgSbDHbEqLJrtnHecBFkdz5M= -github.com/btcsuite/btcd v0.23.0 h1:V2/ZgjfDFIygAX3ZapeigkVBoVUtOJKSwrhZdlpSvaA= -github.com/btcsuite/btcd v0.23.0/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY= -github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA= -github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= -github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= -github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= -github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9UrLwaeswfjfdF0A= -github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE= -github.com/btcsuite/btcd/btcutil v1.1.3 h1:xfbtw8lwpp0G6NwSHb+UE67ryTFHJAiNuipusjXSohQ= -github.com/btcsuite/btcd/btcutil v1.1.3/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= -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/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/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/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4= -github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -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/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/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/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -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/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 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/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc= -github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 h1:Izz0+t1Z5nI16/II7vuEo/nHjodOg0p7+OiDpjX5t1E= -github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= -github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf h1:Yt+4K30SdjOkRoRRm3vYNQgR+/ZIy0RmeUDZo7Y8zeQ= -github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= -github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.10.26 h1:i/7d9RBBwiXCEuyduBQzJw/mKmnvzsN14jqBmytw72s= -github.com/ethereum/go-ethereum v1.10.26/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/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 h1:f6D9Hr8xV8uYKlyuj8XIruxlh9WjVjdh1gIicAS7ays= -github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -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-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-sourcemap/sourcemap v2.1.3+incompatible h1:W1iEw64niKVGogNgBN3ePyLFfuisuzeidWPMPWmECqU= -github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= -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/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -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/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -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/groupcache v0.0.0-20200121045136-8c9f03a8e57e/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/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -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.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -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/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -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/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= -github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -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.4.1/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.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -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/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.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/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/rpc v1.2.0 h1:WvvdC2lNeT1SP32zrIce5l0ECBfbAlmrmSBsuc57wfk= -github.com/gorilla/rpc v1.2.0/go.mod h1:V4h9r+4sF5HnzqbwIez0fKSpANP0zlYd3qR7p36jkTQ= -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/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 h1:gDLXvp5S9izjldquuoAhDzccbskOL6tDC5jMSyx3zxE= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2/go.mod h1:7pdNwVWBBHGiCxa9lAszqCJMbfTISJ7oMftp8+UGV08= -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 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/holiman/big v0.0.0-20221017200358-a027dc42d04e h1:pIYdhNkDh+YENVNi3gto8n9hAmRxKxoar0iE6BLucjw= -github.com/holiman/big v0.0.0-20221017200358-a027dc42d04e/go.mod h1:j9cQbcqHQujT0oKJ38PylVfqohClLr3CvDC+Qcg+lhU= -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/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/jackpal/gateway v1.0.6 h1:/MJORKvJEwNVldtGVJC2p2cwCnsSoLn3hl3zxmZT7tk= -github.com/jackpal/gateway v1.0.6/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA= -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/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/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -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/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/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -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/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -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/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/mapstructure v1.5.0/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/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= -github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d h1:AREM5mwr4u1ORQBMvzfzBgpsctsbQikCVpvC+tX285E= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -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.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.8.1 h1:xFTEVwOFa1D/Ty24Ws1npBWkDYEV9BqZrsDxVrVkrrU= -github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= -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.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.26.0 h1:03cDLK28U6hWvCAns6NeydX3zIm4SF3ci69ulidS32Q= -github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= -github.com/otiai10/copy v1.11.0 h1:OKBD80J/mLBrwnzXqGtFCzprFSGioo30JcmR4APsNwc= -github.com/otiai10/copy v1.11.0/go.mod h1:rSaLseMUsZFFbsFGc7wCJnnkTAvdc5L6VWxPE4308Ww= -github.com/otiai10/mint v1.5.1 h1:XaPLeE+9vGbuyEHem1JNk3bYc7KKqyI/na0/mLd/Kks= -github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= -github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.1 h1:8e3L2cCQzLFi2CR4g7vGFuFxX7Jl1kKX8gW+iV0GUKU= -github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pires/go-proxyproto v0.6.2 h1:KAZ7UteSOt6urjme6ZldyFm4wDe/z0ZUP0Yv0Dos0d8= -github.com/pires/go-proxyproto v0.6.2/go.mod h1:Odh9VFOZJCf9G8cLW5o435Xf1J95Jw9Gw5rnCjcwzAY= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -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 v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI= -github.com/prometheus/client_golang v1.15.1/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= -github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= -github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI= -github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= -github.com/rjeczalik/notify v0.9.3 h1:6rJAzHTGKXGj76sbRgDiDcYj/HniypXmSJo1SWakZeY= -github.com/rjeczalik/notify v0.9.3/go.mod h1:gF3zSOrafR9DQEWSE8TjfI9NkooDxbyT4UgRGKZA0lc= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= -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.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sanity-io/litter v1.5.1 h1:dwnrSypP6q56o3lFxTU+t2fwQ9A+U5qrXVO4Qg9KwVU= -github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI= -github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= -github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= -github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -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.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= -github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= -github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 h1:Oo2KZNP70KE0+IUJSidPj/BFS/RXNHmKIJOdckzml2E= -github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969/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.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -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.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.3.0 h1:mjC+YW8QpAdXibNi+vNWgzmgBH4+5l5dCXv8cNysBLI= -github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= -github.com/supranational/blst v0.3.11-0.20220920110316-f72618070295 h1:rVKS9JjtqE4/PscoIsP46sRnJhfq8YFbjlk0fUJTRnY= -github.com/supranational/blst v0.3.11-0.20220920110316-f72618070295/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a h1:1ur3QoCqvE5fl+nylMaIr9PVV1w343YRDtsy+Rwu7XI= -github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48= -github.com/thepudds/fzgen v0.4.2 h1:HlEHl5hk2/cqEomf2uK5SA/FeJc12s/vIHmOG+FbACw= -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/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= -github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg= -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -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.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opentelemetry.io/otel v1.11.0 h1:kfToEGMDq6TrVrJ9Vht84Y8y9enykSZzDDZglV0kIEk= -go.opentelemetry.io/otel v1.11.0/go.mod h1:H2KtuEphyMvlhZ+F7tg9GRhAOe60moNx61Ex+WmiKkk= -go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.0 h1:0dly5et1i/6Th3WHn0M6kYiJfFNzhhxanrJ0bOfnjEo= -go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.0/go.mod h1:+Lq4/WkdCkjbGcBMVHHg2apTbv8oMBf29QCnyCCJjNQ= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.0 h1:eyJ6njZmH16h9dOKCi7lMswAnGsSOwgTqWzfxqcuNr8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.0/go.mod h1:FnDp7XemjN3oZ3xGunnfOUTVwd2XcvLbtRAuOSU3oc8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.0 h1:j2RFV0Qdt38XQ2Jvi4WIsQ56w8T7eSirYbMw19VXRDg= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.0/go.mod h1:pILgiTEtrqvZpoiuGdblDgS5dbIaTgDrkIuKfEFkt+A= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.11.0 h1:v29I/NbVp7LXQYMFZhU6q17D0jSEbYOAVONlrO1oH5s= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.11.0/go.mod h1:/RpLsmbQLDO1XCbWAM4S6TSwj8FKwwgyKKyqtvVfAnw= -go.opentelemetry.io/otel/sdk v1.11.0 h1:ZnKIL9V9Ztaq+ME43IUi/eo22mNsb6a7tGfzaOWB5fo= -go.opentelemetry.io/otel/sdk v1.11.0/go.mod h1:REusa8RsyKaq0OlyangWXaw97t2VogoO4SSEeKkSTAk= -go.opentelemetry.io/otel/trace v1.11.0 h1:20U/Vj42SX+mASlXLmSGBg6jpI1jQtv682lZtTAOVFI= -go.opentelemetry.io/otel/trace v1.11.0/go.mod h1:nyYjis9jy0gytE9LXGU+/m1sHTKbRY0fX0hulNNDP1U= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.19.0 h1:IVN6GR+mhC4s5yfcTbmzHYODqvWAp3ZedA2SJPI1Nnw= -go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= -go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= -go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/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-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d h1:sK3txAijHtOK88l68nt020reeT1ZdKLIYetKl95FzVY= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/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/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5 h1:rxKZ2gOnYxjfmakvUUqh9Gyb6KXfrj7JWTxORTYqb0E= -golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE= -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/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/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/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -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/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/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-20180926160741-c2ed4eda69e7/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-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-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-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-20191001151750-bb3f8db39f24/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-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220405052023-b1e9470b6e64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -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.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -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-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/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-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-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-20191119224855-298f0cb1881e/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-20191130070609-6e064ea0cf2d/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-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -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/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gonum.org/v1/gonum v0.11.0 h1:f1IJhK4Km5tBJmaiJXtk/PkL4cdVX6J+tGiM187uT5E= -gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= -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/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -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/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/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-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-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 h1:DdoeryqhaXp1LtT/emMP1BRJPHHKFi5akj/nbx/zNTA= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -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.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -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/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.56.0-dev h1:3XdSkn+E4E0OxKEID50paHDwVA7cqZVolkHtMFaoQJA= -google.golang.org/grpc v1.56.0-dev/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= -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.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -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/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= -gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= -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 h1:NdAVW6RYxDif9DhDHaAortIu956m2c0v+09AZBPTbE0= -gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= -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.3/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= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/local/blockchain.go b/local/blockchain.go index fcd4df9f..84bf827d 100644 --- a/local/blockchain.go +++ b/local/blockchain.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package local @@ -14,31 +14,31 @@ import ( "strings" "time" - "github.com/ava-labs/avalanchego/vms/platformvm/reward" + "github.com/luxdefi/node/vms/platformvm/reward" - "github.com/ava-labs/avalanchego/vms/avm" - "github.com/ava-labs/avalanchego/vms/components/avax" - "github.com/ava-labs/avalanchego/vms/components/verify" - "github.com/ava-labs/avalanchego/wallet/chain/x" + "github.com/luxdefi/node/vms/avm" + "github.com/luxdefi/node/vms/components/lux" + "github.com/luxdefi/node/vms/components/verify" + "github.com/luxdefi/node/wallet/chain/x" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanchego/api/admin" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/genesis" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/crypto/bls" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/set" - "github.com/ava-labs/avalanchego/vms/platformvm" - "github.com/ava-labs/avalanchego/vms/platformvm/signer" - "github.com/ava-labs/avalanchego/vms/platformvm/txs" - "github.com/ava-labs/avalanchego/vms/secp256k1fx" - "github.com/ava-labs/avalanchego/wallet/chain/p" - "github.com/ava-labs/avalanchego/wallet/subnet/primary" - "github.com/ava-labs/avalanchego/wallet/subnet/primary/common" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/node/api/admin" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/genesis" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/crypto/bls" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/set" + "github.com/luxdefi/node/vms/platformvm" + "github.com/luxdefi/node/vms/platformvm/signer" + "github.com/luxdefi/node/vms/platformvm/txs" + "github.com/luxdefi/node/vms/secp256k1fx" + "github.com/luxdefi/node/wallet/chain/p" + "github.com/luxdefi/node/wallet/subnet/primary" + "github.com/luxdefi/node/wallet/subnet/primary/common" "go.uber.org/zap" "golang.org/x/exp/maps" ) @@ -691,14 +691,14 @@ func (w *wallet) reload(uri string) { // add all nodes as validators of the primary network, in case they are not // the validation starts as soon as possible and its duration is as long as possible, that is, -// it is set to max accepted duration by avalanchego +// it is set to max accepted duration by node func (ln *localNetwork) addPrimaryValidators( ctx context.Context, platformCli platformvm.Client, w *wallet, ) error { ln.log.Info(logging.Green.Wrap("adding the nodes as primary network validators")) - // ref. https://docs.avax.network/build/avalanchego-apis/p-chain/#platformgetcurrentvalidators + // ref. https://docs.lux.network/build/node-apis/p-chain/#platformgetcurrentvalidators cctx, cancel := createDefaultCtx(ctx) vdrs, err := platformCli.GetCurrentValidators(cctx, constants.PrimaryNetworkID, nil) cancel() @@ -740,7 +740,7 @@ func (ln *localNetwork) addPrimaryValidators( Subnet: ids.Empty, }, proofOfPossession, - w.pWallet.AVAXAssetID(), + w.pWallet.LUXAssetID(), &secp256k1fx.OutputOwners{ Threshold: 1, Addrs: []ids.ShortID{w.addr}, @@ -792,9 +792,9 @@ func exportXChainToPChain(ctx context.Context, w *wallet, owner *secp256k1fx.Out defer cancel() _, err := w.xWallet.IssueExportTx( ids.Empty, - []*avax.TransferableOutput{ + []*lux.TransferableOutput{ { - Asset: avax.Asset{ + Asset: lux.Asset{ ID: subnetAssetID, }, Out: &secp256k1fx.TransferOutput{ diff --git a/local/helpers.go b/local/helpers.go index 41d407aa..ee9d72ac 100644 --- a/local/helpers.go +++ b/local/helpers.go @@ -11,10 +11,10 @@ import ( "path/filepath" "time" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/logging" "go.uber.org/zap" ) diff --git a/local/mocks/health/client.go b/local/mocks/health/client.go index 76d54463..d9d89e5b 100644 --- a/local/mocks/health/client.go +++ b/local/mocks/health/client.go @@ -5,10 +5,10 @@ package mocks import ( context "context" - health "github.com/ava-labs/avalanchego/api/health" + health "github.com/luxdefi/node/api/health" mock "github.com/stretchr/testify/mock" - rpc "github.com/ava-labs/avalanchego/utils/rpc" + rpc "github.com/luxdefi/node/utils/rpc" ) // Client is an autogenerated mock type for the Client type diff --git a/local/mocks/node_process.go b/local/mocks/node_process.go index 520fe1b7..99f3ad4e 100644 --- a/local/mocks/node_process.go +++ b/local/mocks/node_process.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - status "github.com/ava-labs/avalanche-network-runner/network/node/status" + status "github.com/luxdefi/netrunner/network/node/status" testing "testing" ) diff --git a/local/network.go b/local/network.go index aedfc49f..083fc1b9 100644 --- a/local/network.go +++ b/local/network.go @@ -18,22 +18,22 @@ import ( "syscall" "time" - "github.com/ava-labs/avalanche-network-runner/api" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/network/node/status" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/network/peer" - "github.com/ava-labs/avalanchego/staking" - "github.com/ava-labs/avalanchego/utils/beacon" - "github.com/ava-labs/avalanchego/utils/crypto/bls" - "github.com/ava-labs/avalanchego/utils/ips" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/set" - "github.com/ava-labs/avalanchego/utils/wrappers" + "github.com/luxdefi/netrunner/api" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/network/node/status" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/network/peer" + "github.com/luxdefi/node/staking" + "github.com/luxdefi/node/utils/beacon" + "github.com/luxdefi/node/utils/crypto/bls" + "github.com/luxdefi/node/utils/ips" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/set" + "github.com/luxdefi/node/utils/wrappers" "go.uber.org/zap" "golang.org/x/exp/maps" "golang.org/x/mod/semver" @@ -72,7 +72,7 @@ var ( chainConfigSubDir = "chainConfigs" subnetConfigSubDir = "subnetConfigs" - snapshotsRelPath = filepath.Join(".avalanche-network-runner", "snapshots") + snapshotsRelPath = filepath.Join(".netrunner", "snapshots") ErrSnapshotNotFound = errors.New("snapshot not found") ) @@ -149,7 +149,7 @@ func init() { if err != nil { panic(err) } - // load deprecated avago flags support information + // load deprecated luxd flags support information if err = json.Unmarshal(deprecatedFlagsSupportBytes, &deprecatedFlagsSupport); err != nil { panic(err) } @@ -288,7 +288,7 @@ func NewNetwork( // See NewNetwork. // [newAPIClientF] is used to create new API clients. -// [nodeProcessCreator] is used to launch new avalanchego processes. +// [nodeProcessCreator] is used to launch new node processes. func newNetwork( log logging.Logger, newAPIClientF api.NewAPIClientF, @@ -586,7 +586,7 @@ func (ln *localNetwork) addNode(nodeConfig node.Config) (node.Node, error) { return nil, fmt.Errorf("couldn't get node ID: %w", err) } - // Start the AvalancheGo node and pass it the flags defined above + // Start the Lux node and pass it the flags defined above nodeProcess, err := ln.nodeProcessCreator.NewNodeProcess(nodeConfig, nodeData.args...) if err != nil { return nil, fmt.Errorf( @@ -1024,7 +1024,7 @@ type buildArgsReturn struct { } // buildArgs returns the: -// 1) Args for avago execution +// 1) Args for luxd execution // 2) API port // 3) P2P port // of the node being added with config [nodeConfig], config file [configFile], @@ -1079,7 +1079,7 @@ func (ln *localNetwork) buildArgs( return buildArgsReturn{}, err } - // Flags for AvalancheGo + // Flags for Lux flags := map[string]string{ config.NetworkNameKey: fmt.Sprintf("%d", ln.networkID), config.DataDirKey: dataDir, @@ -1119,13 +1119,13 @@ func (ln *localNetwork) buildArgs( flags[flagName] = fmt.Sprintf("%v", flagVal) } - // map input flags to the corresponding avago version, making sure that latest flags don't break - // old avago versions - flagsForAvagoVersion := getFlagsForAvagoVersion(nodeSemVer, flags) + // map input flags to the corresponding luxd version, making sure that latest flags don't break + // old luxd versions + flagsForLuxdVersion := getFlagsForLuxdVersion(nodeSemVer, flags) // create args args := []string{} - for k, v := range flagsForAvagoVersion { + for k, v := range flagsForLuxdVersion { args = append(args, fmt.Sprintf("--%s=%s", k, v)) } @@ -1141,7 +1141,7 @@ func (ln *localNetwork) buildArgs( }, nil } -// Get AvalancheGo version +// Get Lux version func (ln *localNetwork) getNodeSemVer(nodeConfig node.Config) (string, error) { nodeVersionOutput, err := ln.nodeProcessCreator.GetNodeVersion(nodeConfig) if err != nil { @@ -1162,11 +1162,11 @@ func (ln *localNetwork) getNodeSemVer(nodeConfig node.Config) (string, error) { return nodeSemVer, nil } -// ensure flags are compatible with the running avalanchego version -func getFlagsForAvagoVersion(avagoVersion string, givenFlags map[string]string) map[string]string { +// ensure flags are compatible with the running node version +func getFlagsForLuxdVersion(luxdVersion string, givenFlags map[string]string) map[string]string { flags := maps.Clone(givenFlags) for _, deprecatedFlagInfo := range deprecatedFlagsSupport { - if semver.Compare(avagoVersion, deprecatedFlagInfo.Version) < 0 { + if semver.Compare(luxdVersion, deprecatedFlagInfo.Version) < 0 { if v, ok := flags[deprecatedFlagInfo.NewName]; ok { if v != "" { if deprecatedFlagInfo.ValueMap == "parent-dir" { diff --git a/local/network_test.go b/local/network_test.go index 1b074cdc..10618cc1 100644 --- a/local/network_test.go +++ b/local/network_test.go @@ -13,28 +13,28 @@ import ( "testing" "time" - "github.com/ava-labs/avalanche-network-runner/api" - apimocks "github.com/ava-labs/avalanche-network-runner/api/mocks" - "github.com/ava-labs/avalanche-network-runner/local/mocks" - healthmocks "github.com/ava-labs/avalanche-network-runner/local/mocks/health" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/network/node/status" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanchego/api/health" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/message" - "github.com/ava-labs/avalanchego/snow/networking/router" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/rpc" + "github.com/luxdefi/netrunner/api" + apimocks "github.com/luxdefi/netrunner/api/mocks" + "github.com/luxdefi/netrunner/local/mocks" + healthmocks "github.com/luxdefi/netrunner/local/mocks/health" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/network/node/status" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/node/api/health" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/message" + "github.com/luxdefi/node/snow/networking/router" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/rpc" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" ) const ( defaultHealthyTimeout = 5 * time.Second - nodeVersion = "avalanche/1.9.5 extra" + nodeVersion = "lux/1.9.5 extra" ) var ( @@ -520,7 +520,7 @@ func TestGeneratedNodesNames(t *testing.T) { } // TestGenerateDefaultNetwork create a default network with config from NewDefaultConfig and -// check expected number of nodes, node names, and avalanchego node ids +// check expected number of nodes, node names, and node node ids func TestGenerateDefaultNetwork(t *testing.T) { t.Parallel() require := require.New(t) @@ -925,7 +925,7 @@ func checkNetwork(t *testing.T, net network.Network, runningNodes map[string]str func emptyNetworkConfig() (network.Config, error) { networkID := uint32(1337) // Use a dummy genesis - genesis, err := network.NewAvalancheGoGenesis( + genesis, err := network.NewLuxGenesis( networkID, []network.AddrAndBalance{ { @@ -1148,7 +1148,7 @@ func TestWriteFiles(t *testing.T) { chainConfigFiles := map[string]string{ "C": "c-chain config file", } - tmpDir, err := os.MkdirTemp("", "avalanche-network-runner-tests-*") + tmpDir, err := os.MkdirTemp("", "netrunner-tests-*") if err != nil { t.Fatal(err) } diff --git a/local/node.go b/local/node.go index 041c8c26..271e94c7 100644 --- a/local/node.go +++ b/local/node.go @@ -8,24 +8,24 @@ import ( "net" "time" - "github.com/ava-labs/avalanche-network-runner/api" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/network/node/status" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/message" - "github.com/ava-labs/avalanchego/network/peer" - "github.com/ava-labs/avalanchego/network/throttling" - "github.com/ava-labs/avalanchego/snow/networking/router" - "github.com/ava-labs/avalanchego/snow/networking/tracker" - "github.com/ava-labs/avalanchego/snow/validators" - "github.com/ava-labs/avalanchego/staking" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/ips" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/math/meter" - "github.com/ava-labs/avalanchego/utils/resource" - "github.com/ava-labs/avalanchego/utils/set" - "github.com/ava-labs/avalanchego/version" + "github.com/luxdefi/netrunner/api" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/network/node/status" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/message" + "github.com/luxdefi/node/network/peer" + "github.com/luxdefi/node/network/throttling" + "github.com/luxdefi/node/snow/networking/router" + "github.com/luxdefi/node/snow/networking/tracker" + "github.com/luxdefi/node/snow/validators" + "github.com/luxdefi/node/staking" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/ips" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/math/meter" + "github.com/luxdefi/node/utils/resource" + "github.com/luxdefi/node/utils/set" + "github.com/luxdefi/node/version" "github.com/prometheus/client_golang/prometheus" ) @@ -42,11 +42,11 @@ const ( peerStartWaitTimeout = 30 * time.Second ) -// Gives access to basic node info, and to most avalanchego apis +// Gives access to basic node info, and to most node apis type localNode struct { // Must be unique across all nodes in this network. name string - // [nodeID] is this node's Avalannche Node ID. + // [nodeID] is this node's Lux Node ID. // Set in network.AddNode nodeID ids.NodeID // The ID of the network this node exists in diff --git a/local/node_process.go b/local/node_process.go index b6865ff0..4be3ef17 100644 --- a/local/node_process.go +++ b/local/node_process.go @@ -8,10 +8,10 @@ import ( "os/exec" "sync" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/network/node/status" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/network/node/status" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/node/utils/logging" "github.com/shirou/gopsutil/process" "go.uber.org/zap" ) @@ -19,7 +19,7 @@ import ( var _ NodeProcess = (*nodeProcess)(nil) // NodeProcess as an interface so we can mock running -// AvalancheGo binaries in tests +// Lux binaries in tests type NodeProcess interface { // Sends a SIGINT to this process and returns the process's // exit code. @@ -54,7 +54,7 @@ type nodeProcessCreator struct { // If the config has redirection set to `true` for either StdErr or StdOut, // the output will be redirected and colored func (npc *nodeProcessCreator) NewNodeProcess(config node.Config, args ...string) (NodeProcess, error) { - // Start the AvalancheGo node and pass it the flags defined above + // Start the Lux node and pass it the flags defined above cmd := exec.Command(config.BinaryPath, args...) //nolint // assign a new color to this process (might not be used if the config isn't set for it) color := npc.colorPicker.NextColor() @@ -211,7 +211,7 @@ func killDescendants(pid int32, log logging.Logger) { // GetNodeVersion gets the version of the executable as per --version flag func (*nodeProcessCreator) GetNodeVersion(config node.Config) (string, error) { - // Start the AvalancheGo node and pass it the --version flag + // Start the Lux node and pass it the --version flag out, err := exec.Command(config.BinaryPath, "--version").Output() //nolint if err != nil { return "", err diff --git a/local/node_test.go b/local/node_test.go index b9685981..d23c67c9 100644 --- a/local/node_test.go +++ b/local/node_test.go @@ -11,16 +11,16 @@ import ( "testing" "time" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/message" - "github.com/ava-labs/avalanchego/network/peer" - "github.com/ava-labs/avalanchego/staking" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/ips" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/wrappers" - "github.com/ava-labs/avalanchego/version" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/message" + "github.com/luxdefi/node/network/peer" + "github.com/luxdefi/node/staking" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/ips" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/wrappers" + "github.com/luxdefi/node/version" "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" ) @@ -151,7 +151,7 @@ func readMessage(nodeConn net.Conn, errCh chan error) (*bytes.Buffer, error) { return msgBytes, nil } -// sendMessage sends a protocol message to the avalanchego peer +// sendMessage sends a protocol message to the node peer func sendMessage(nodeConn net.Conn, msgBytes []byte, errCh chan error) error { // buffer for message length msgLenBytes := make([]byte, wrappers.IntLen) diff --git a/local/snapshot.go b/local/snapshot.go index 8808f4a1..71627aee 100644 --- a/local/snapshot.go +++ b/local/snapshot.go @@ -10,14 +10,14 @@ import ( "strings" "syscall" - "github.com/ava-labs/avalanche-network-runner/api" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/api" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/logging" dircopy "github.com/otiai10/copy" "golang.org/x/exp/maps" ) @@ -33,8 +33,8 @@ type NetworkState struct { SubnetID2ElasticSubnetID map[string]string `json:"subnetID2ElasticSubnetID"` } -// snapshots generated using older ANR versions may contain deprecated avago flags -func fixDeprecatedAvagoFlags(flags map[string]interface{}) error { +// snapshots generated using older ANR versions may contain deprecated luxd flags +func fixDeprecatedLuxdFlags(flags map[string]interface{}) error { if vIntf, ok := flags[deprecatedWhitelistedSubnetsKey]; ok { v, ok := vIntf.(string) if !ok { @@ -245,12 +245,12 @@ func (ln *localNetwork) loadSnapshot( if err := json.Unmarshal(networkConfigJSON, &networkConfig); err != nil { return fmt.Errorf("failure unmarshaling network config from snapshot: %w", err) } - // fix deprecated avago flags - if err := fixDeprecatedAvagoFlags(networkConfig.Flags); err != nil { + // fix deprecated luxd flags + if err := fixDeprecatedLuxdFlags(networkConfig.Flags); err != nil { return err } for i := range networkConfig.NodeConfigs { - if err := fixDeprecatedAvagoFlags(networkConfig.NodeConfigs[i].Flags); err != nil { + if err := fixDeprecatedLuxdFlags(networkConfig.NodeConfigs[i].Flags); err != nil { return err } } diff --git a/local/test_message.go b/local/test_message.go index b4cc4c9b..8c30aad4 100644 --- a/local/test_message.go +++ b/local/test_message.go @@ -1,6 +1,6 @@ package local -import "github.com/ava-labs/avalanchego/message" +import "github.com/luxdefi/node/message" var _ message.OutboundMessage = &TestMsg{} diff --git a/main.go b/main.go index 692ea058..e3f290d4 100644 --- a/main.go +++ b/main.go @@ -1,9 +1,9 @@ -// Copyright (C) 2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package main import ( - "github.com/ava-labs/avalanche-network-runner/cmd" + "github.com/luxdefi/netrunner/cmd" ) func main() { diff --git a/network/config.go b/network/config.go index 4883b1ea..d0b0fa35 100644 --- a/network/config.go +++ b/network/config.go @@ -8,20 +8,20 @@ import ( "strconv" "time" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanchego/genesis" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/formatting/address" - "github.com/ava-labs/avalanchego/utils/units" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/node/genesis" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/formatting/address" + "github.com/luxdefi/node/utils/units" "golang.org/x/exp/maps" ) var cChainConfig map[string]interface{} const ( - validatorStake = units.MegaAvax + validatorStake = units.MegaLux ) func init() { @@ -115,7 +115,7 @@ func (c *Config) Validate() error { // [cChainBalances] and [xChainBalances]. // Note that many of the genesis fields (i.e. reward addresses) // are randomly generated or hard-coded. -func NewAvalancheGoGenesis( +func NewLuxGenesis( networkID uint32, xChainBalances []AddrAndBalance, cChainBalances []AddrAndBalance, @@ -143,7 +143,7 @@ func NewAvalancheGoGenesis( Allocations: []genesis.UnparsedAllocation{ { ETHAddr: "0x0000000000000000000000000000000000000000", - AVAXAddr: genesisVdrStakeAddr, // Owner doesn't matter + LUXAddr: genesisVdrStakeAddr, // Owner doesn't matter InitialAmount: 0, UnlockSchedule: []genesis.LockedAmount{ // Provides stake to validators { @@ -165,7 +165,7 @@ func NewAvalancheGoGenesis( config.Allocations, genesis.UnparsedAllocation{ ETHAddr: "0x0000000000000000000000000000000000000000", - AVAXAddr: xChainAddr, + LUXAddr: xChainAddr, InitialAmount: xChainBal.Balance.Uint64(), UnlockSchedule: []genesis.LockedAmount{ { @@ -206,6 +206,6 @@ func NewAvalancheGoGenesis( ) } - // TODO add validation (from AvalancheGo's function validateConfig?) + // TODO add validation (from Lux's function validateConfig?) return json.Marshal(config) } diff --git a/network/config_test.go b/network/config_test.go index 1ed49c52..0d6e0c17 100644 --- a/network/config_test.go +++ b/network/config_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" "github.com/stretchr/testify/require" ) diff --git a/network/default/genesis.json b/network/default/genesis.json index c4b4b3c0..1cbd2117 100644 --- a/network/default/genesis.json +++ b/network/default/genesis.json @@ -3,7 +3,7 @@ "allocations": [ { "ethAddr": "0xb3d82b1367d362de99ab59a658165aff520cbd4d", - "avaxAddr": "X-custom1g65uqn6t77p656w64023nh8nd9updzmxwd59gh", + "luxAddr": "X-custom1g65uqn6t77p656w64023nh8nd9updzmxwd59gh", "initialAmount": 0, "unlockSchedule": [ { @@ -14,7 +14,7 @@ }, { "ethAddr": "0xb3d82b1367d362de99ab59a658165aff520cbd4d", - "avaxAddr": "X-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p", + "luxAddr": "X-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p", "initialAmount": 300000000000000000, "unlockSchedule": [ { @@ -28,7 +28,7 @@ }, { "ethAddr": "0xb3d82b1367d362de99ab59a658165aff520cbd4d", - "avaxAddr": "X-custom16045mxr3s2cjycqe2xfluk304xv3ezhkhsvkpr", + "luxAddr": "X-custom16045mxr3s2cjycqe2xfluk304xv3ezhkhsvkpr", "initialAmount": 10000000000000000, "unlockSchedule": [ { diff --git a/network/genesis.go b/network/genesis.go index 1816690d..0ff383a4 100644 --- a/network/genesis.go +++ b/network/genesis.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - coreth_params "github.com/ava-labs/coreth/params" + coreth_params "github.com/luxdefi/coreth/params" ) //go:embed default/genesis.json @@ -25,7 +25,7 @@ func LoadLocalGenesis() (map[string]interface{}, error) { cChainGenesis := genesisMap["cChainGenesis"] // set the cchain genesis directly from coreth // the whole of `cChainGenesis` should be set as a string, not a json object... - corethCChainGenesis := coreth_params.AvalancheLocalChainConfig + corethCChainGenesis := coreth_params.LuxLocalChainConfig // but the part in coreth is only the "config" part. // In order to set it easily, first we get the cChainGenesis item // convert it to a map diff --git a/network/network.go b/network/network.go index 8a6337bb..7acb7ac3 100644 --- a/network/network.go +++ b/network/network.go @@ -5,8 +5,8 @@ import ( "errors" "time" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanchego/ids" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/node/ids" ) var ( @@ -63,7 +63,7 @@ type BlockchainSpec struct { PerNodeChainConfig map[string][]byte } -// Network is an abstraction of an Avalanche network +// Network is an abstraction of an Lux network type Network interface { // Returns nil if all the nodes in the network are healthy. // A stopped network is considered unhealthy. diff --git a/network/node/node.go b/network/node/node.go index f186f756..0b142df9 100644 --- a/network/node/node.go +++ b/network/node/node.go @@ -6,20 +6,20 @@ import ( "errors" "fmt" - "github.com/ava-labs/avalanche-network-runner/api" - "github.com/ava-labs/avalanche-network-runner/network/node/status" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/network/peer" - "github.com/ava-labs/avalanchego/snow/networking/router" + "github.com/luxdefi/netrunner/api" + "github.com/luxdefi/netrunner/network/node/status" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/network/peer" + "github.com/luxdefi/node/snow/networking/router" ) -// Node represents an AvalancheGo node +// Node represents an Lux node type Node interface { // Return this node's name, which is unique // across all the nodes in its network. GetName() string - // Return this node's Avalanche node ID. + // Return this node's Lux node ID. GetNodeID() ids.NodeID // Return a client that can be used to make API calls. GetAPIClient() api.Client @@ -39,7 +39,7 @@ type Node interface { SendOutboundMessage(ctx context.Context, peerID string, content []byte, op uint32) (bool, error) // Return the state of the node process Status() status.Status - // Return this node's avalanchego binary path + // Return this node's node binary path GetBinaryPath() string // Return this node's data dir GetDataDir() string @@ -59,7 +59,7 @@ type Node interface { GetPaused() bool } -// Config encapsulates an avalanchego configuration +// Config encapsulates an node configuration type Config struct { // A node's name must be unique from all other nodes // in a network. If Name is the empty string, a diff --git a/rpcpb/rpc.pb.go b/rpcpb/rpc.pb.go index 58b50f79..06e81ea8 100644 --- a/rpcpb/rpc.pb.go +++ b/rpcpb/rpc.pb.go @@ -345,7 +345,7 @@ type CustomChainInfo struct { // VM ID in "ids.ID" format. VmId string `protobuf:"bytes,2,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` // Create subnet transaction ID -- subnet ID. - // The subnet ID must be whitelisted by the avalanche node. + // The subnet ID must be whitelisted by the lux node. SubnetId string `protobuf:"bytes,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // Create blockchain transaction ID -- blockchain ID> // The blockchain ID is used for RPC endpoints. diff --git a/rpcpb/rpc.proto b/rpcpb/rpc.proto index 566ad560..97fb57a9 100644 --- a/rpcpb/rpc.proto +++ b/rpcpb/rpc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option go_package = "github.com/ava-labs/avalanche-network-runner;rpcpb"; +option go_package = "github.com/luxdefi/netrunner;rpcpb"; package rpcpb; @@ -233,7 +233,7 @@ message CustomChainInfo { string vm_id = 2; // Create subnet transaction ID -- subnet ID. - // The subnet ID must be whitelisted by the avalanche node. + // The subnet ID must be whitelisted by the lux node. string subnet_id = 3; // Create blockchain transaction ID -- blockchain ID> diff --git a/scripts/build.sh b/scripts/build.sh index eaca9528..05a8aa42 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -21,4 +21,4 @@ fi # to pass this flag to all child processes spawned by the shell. export CGO_CFLAGS="-O -D__BLST_PORTABLE__" -go build -v -ldflags="-X 'github.com/ava-labs/avalanche-network-runner/cmd.Version=$VERSION'" -o $OUTPUT/avalanche-network-runner +go build -v -ldflags="-X 'github.com/luxdefi/netrunner/cmd.Version=$VERSION'" -o $OUTPUT/netrunner diff --git a/scripts/install.sh b/scripts/install.sh index c3217a8f..8e6787b5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,10 +1,10 @@ #!/bin/sh set -e -PROJECT_NAME=avalanche-network-runner -OWNER=ava-labs -REPO="avalanche-network-runner" -BINARY=avalanche-network-runner +PROJECT_NAME=netrunner +OWNER=luxdefi +REPO="netrunner" +BINARY=netrunner FORMAT=tar.gz PREFIX="$OWNER/$REPO" DEFAULT_INSTALL=~/bin diff --git a/scripts/tests.e2e.sh b/scripts/tests.e2e.sh index 3e78ea8b..27288228 100755 --- a/scripts/tests.e2e.sh +++ b/scripts/tests.e2e.sh @@ -43,79 +43,79 @@ echo VERSION_1: ${VERSION_1} echo VERSION_2: ${VERSION_2} echo SUBNET_EVM_VERSION: ${SUBNET_EVM_VERSION} -if [ ! -f /tmp/avalanchego-v${VERSION_1}/avalanchego ] +if [ ! -f /tmp/node-v${VERSION_1}/node ] then ############################ - # download avalanchego - # https://github.com/ava-labs/avalanchego/releases + # download node + # https://github.com/luxdefi/node/releases GOARCH=$(go env GOARCH) GOOS=$(go env GOOS) - DOWNLOAD_URL=https://github.com/ava-labs/avalanchego/releases/download/v${VERSION_1}/avalanchego-linux-${GOARCH}-v${VERSION_1}.tar.gz - DOWNLOAD_PATH=/tmp/avalanchego.tar.gz + DOWNLOAD_URL=https://github.com/luxdefi/node/releases/download/v${VERSION_1}/node-linux-${GOARCH}-v${VERSION_1}.tar.gz + DOWNLOAD_PATH=/tmp/node.tar.gz if [[ ${GOOS} == "darwin" ]]; then - DOWNLOAD_URL=https://github.com/ava-labs/avalanchego/releases/download/v${VERSION_1}/avalanchego-macos-v${VERSION_1}.zip - DOWNLOAD_PATH=/tmp/avalanchego.zip + DOWNLOAD_URL=https://github.com/luxdefi/node/releases/download/v${VERSION_1}/node-macos-v${VERSION_1}.zip + DOWNLOAD_PATH=/tmp/node.zip fi - rm -rf /tmp/avalanchego-v${VERSION_1} - rm -rf /tmp/avalanchego-build + rm -rf /tmp/node-v${VERSION_1} + rm -rf /tmp/node-build rm -f ${DOWNLOAD_PATH} - echo "downloading avalanchego ${VERSION_1} at ${DOWNLOAD_URL}" + echo "downloading node ${VERSION_1} at ${DOWNLOAD_URL}" curl -L ${DOWNLOAD_URL} -o ${DOWNLOAD_PATH} - echo "extracting downloaded avalanchego" + echo "extracting downloaded node" if [[ ${GOOS} == "linux" ]]; then tar xzvf ${DOWNLOAD_PATH} -C /tmp elif [[ ${GOOS} == "darwin" ]]; then - unzip ${DOWNLOAD_PATH} -d /tmp/avalanchego-build - mv /tmp/avalanchego-build/build /tmp/avalanchego-v${VERSION_1} + unzip ${DOWNLOAD_PATH} -d /tmp/node-build + mv /tmp/node-build/build /tmp/node-v${VERSION_1} fi - find /tmp/avalanchego-v${VERSION_1} + find /tmp/node-v${VERSION_1} fi -if [ ! -f /tmp/avalanchego-v${VERSION_2}/avalanchego ] +if [ ! -f /tmp/node-v${VERSION_2}/node ] then ############################ - # download avalanchego - # https://github.com/ava-labs/avalanchego/releases + # download node + # https://github.com/luxdefi/node/releases GOARCH=$(go env GOARCH) GOOS=$(go env GOOS) - DOWNLOAD_URL=https://github.com/ava-labs/avalanchego/releases/download/v${VERSION_2}/avalanchego-linux-${GOARCH}-v${VERSION_2}.tar.gz - DOWNLOAD_PATH=/tmp/avalanchego.tar.gz + DOWNLOAD_URL=https://github.com/luxdefi/node/releases/download/v${VERSION_2}/node-linux-${GOARCH}-v${VERSION_2}.tar.gz + DOWNLOAD_PATH=/tmp/node.tar.gz if [[ ${GOOS} == "darwin" ]]; then - DOWNLOAD_URL=https://github.com/ava-labs/avalanchego/releases/download/v${VERSION_2}/avalanchego-macos-v${VERSION_2}.zip - DOWNLOAD_PATH=/tmp/avalanchego.zip + DOWNLOAD_URL=https://github.com/luxdefi/node/releases/download/v${VERSION_2}/node-macos-v${VERSION_2}.zip + DOWNLOAD_PATH=/tmp/node.zip fi - rm -rf /tmp/avalanchego-v${VERSION_2} - rm -rf /tmp/avalanchego-build + rm -rf /tmp/node-v${VERSION_2} + rm -rf /tmp/node-build rm -f ${DOWNLOAD_PATH} - echo "downloading avalanchego ${VERSION_2} at ${DOWNLOAD_URL}" + echo "downloading node ${VERSION_2} at ${DOWNLOAD_URL}" curl -L ${DOWNLOAD_URL} -o ${DOWNLOAD_PATH} - echo "extracting downloaded avalanchego" + echo "extracting downloaded node" if [[ ${GOOS} == "linux" ]]; then tar xzvf ${DOWNLOAD_PATH} -C /tmp elif [[ ${GOOS} == "darwin" ]]; then - unzip ${DOWNLOAD_PATH} -d /tmp/avalanchego-build - mv /tmp/avalanchego-build/build /tmp/avalanchego-v${VERSION_2} + unzip ${DOWNLOAD_PATH} -d /tmp/node-build + mv /tmp/node-build/build /tmp/node-v${VERSION_2} fi - find /tmp/avalanchego-v${VERSION_2} + find /tmp/node-v${VERSION_2} fi if [ ! -f /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm ] then ############################ # download subnet-evm - # https://github.com/ava-labs/subnet-evm/releases + # https://github.com/luxdefi/subnet-evm/releases GOARCH=$(go env GOARCH) GOOS=$(go env GOOS) - DOWNLOAD_URL=https://github.com/ava-labs/subnet-evm/releases/download/v${SUBNET_EVM_VERSION}/subnet-evm_${SUBNET_EVM_VERSION}_linux_${GOARCH}.tar.gz + DOWNLOAD_URL=https://github.com/luxdefi/subnet-evm/releases/download/v${SUBNET_EVM_VERSION}/subnet-evm_${SUBNET_EVM_VERSION}_linux_${GOARCH}.tar.gz DOWNLOAD_PATH=/tmp/subnet-evm.tar.gz if [[ ${GOOS} == "darwin" ]]; then - DOWNLOAD_URL=https://github.com/ava-labs/subnet-evm/releases/download/v${SUBNET_EVM_VERSION}/subnet-evm_${SUBNET_EVM_VERSION}_darwin_${GOARCH}.tar.gz + DOWNLOAD_URL=https://github.com/luxdefi/subnet-evm/releases/download/v${SUBNET_EVM_VERSION}/subnet-evm_${SUBNET_EVM_VERSION}_darwin_${GOARCH}.tar.gz fi rm -rf /tmp/subnet-evm-v${SUBNET_EVM_VERSION} @@ -128,8 +128,8 @@ then mkdir /tmp/subnet-evm-v${SUBNET_EVM_VERSION} tar xzvf ${DOWNLOAD_PATH} -C /tmp/subnet-evm-v${SUBNET_EVM_VERSION} # NOTE: We are copying the subnet-evm binary here to a plugin hardcoded as srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy which corresponds to the VM name `subnetevm` used as such in the test - mkdir -p /tmp/avalanchego-v${VERSION_1}/plugins/ - cp /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm /tmp/avalanchego-v${VERSION_1}/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy + mkdir -p /tmp/node-v${VERSION_1}/plugins/ + cp /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm /tmp/node-v${VERSION_1}/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy find /tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm fi ############################ @@ -151,10 +151,10 @@ ACK_GINKGO_RC=true ginkgo build ./tests/e2e snapshots_dir=/tmp/network-runner-root-data/snapshots-e2e/ rm -rf $snapshots_dir -killall avalanche-network-runner || true +killall netrunner || true echo "launch local test cluster in the background" -bin/avalanche-network-runner \ +bin/netrunner \ server \ --log-level debug \ --port=":8080" \ @@ -177,6 +177,6 @@ echo "running e2e tests" --log-level debug \ --grpc-endpoint="0.0.0.0:8080" \ --grpc-gateway-endpoint="0.0.0.0:8081" \ ---avalanchego-path-1=/tmp/avalanchego-v${VERSION_1}/avalanchego \ ---avalanchego-path-2=/tmp/avalanchego-v${VERSION_2}/avalanchego \ +--node-path-1=/tmp/node-v${VERSION_1}/node \ +--node-path-2=/tmp/node-v${VERSION_2}/node \ --subnet-evm-path=/tmp/subnet-evm-v${SUBNET_EVM_VERSION}/subnet-evm diff --git a/server/network.go b/server/network.go index 9935a275..8d135d55 100644 --- a/server/network.go +++ b/server/network.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package server @@ -13,16 +13,16 @@ import ( "strings" "sync" - "github.com/ava-labs/avalanche-network-runner/local" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanche-network-runner/ux" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/ids" - avago_constants "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/local" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/netrunner/ux" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/ids" + luxd_constants "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/utils/logging" "golang.org/x/exp/maps" ) @@ -36,13 +36,13 @@ scrape_configs: static_configs: - targets: - localhost:9090 - - job_name: avalanchego-machine + - job_name: node-machine static_configs: - targets: - localhost:9100 labels: alias: machine - - job_name: avalanchego + - job_name: node metrics_path: /ext/metrics static_configs: - targets: @@ -541,7 +541,7 @@ func (lc *localNetwork) updateSubnetInfo(ctx context.Context) error { subnetIDList := []string{} for _, subnet := range subnets { - if subnet.ID != avago_constants.PlatformChainID { + if subnet.ID != luxd_constants.PlatformChainID { subnetIDList = append(subnetIDList, subnet.ID.String()) } } diff --git a/server/server.go b/server/server.go index 3b36c168..12e25099 100644 --- a/server/server.go +++ b/server/server.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. // Package server implements server. @@ -21,16 +21,16 @@ import ( "go.uber.org/multierr" - "github.com/ava-labs/avalanche-network-runner/network" - "github.com/ava-labs/avalanche-network-runner/network/node" - "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanchego/config" - "github.com/ava-labs/avalanchego/message" - "github.com/ava-labs/avalanchego/snow/networking/router" - "github.com/ava-labs/avalanchego/utils/logging" - "github.com/ava-labs/avalanchego/utils/set" + "github.com/luxdefi/netrunner/network" + "github.com/luxdefi/netrunner/network/node" + "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/node/config" + "github.com/luxdefi/node/message" + "github.com/luxdefi/node/snow/networking/router" + "github.com/luxdefi/node/utils/logging" + "github.com/luxdefi/node/utils/set" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "go.uber.org/zap" "golang.org/x/exp/maps" diff --git a/server/utils.go b/server/utils.go index 6521eefb..1f2f0569 100644 --- a/server/utils.go +++ b/server/utils.go @@ -3,7 +3,7 @@ package server import ( "encoding/json" - "github.com/ava-labs/avalanche-network-runner/rpcpb" + "github.com/luxdefi/netrunner/rpcpb" ) func deepCopy(i *rpcpb.ClusterInfo) (*rpcpb.ClusterInfo, error) { diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index 36c6bc21..d7061862 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. // e2e implements the e2e tests. @@ -14,21 +14,21 @@ import ( "testing" "time" - "github.com/ava-labs/avalanchego/api/admin" - "github.com/ava-labs/avalanchego/message" - avago_constants "github.com/ava-labs/avalanchego/utils/constants" - "github.com/ava-labs/avalanchego/vms/platformvm" + "github.com/luxdefi/node/api/admin" + "github.com/luxdefi/node/message" + luxd_constants "github.com/luxdefi/node/utils/constants" + "github.com/luxdefi/node/vms/platformvm" "github.com/prometheus/client_golang/prometheus" "golang.org/x/exp/maps" - "github.com/ava-labs/avalanche-network-runner/client" - "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanche-network-runner/server" - "github.com/ava-labs/avalanche-network-runner/utils" - "github.com/ava-labs/avalanche-network-runner/utils/constants" - "github.com/ava-labs/avalanche-network-runner/ux" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/netrunner/client" + "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/netrunner/server" + "github.com/luxdefi/netrunner/utils" + "github.com/luxdefi/netrunner/utils/constants" + "github.com/luxdefi/netrunner/ux" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/utils/logging" ginkgo "github.com/onsi/ginkgo/v2" "github.com/onsi/gomega" ) @@ -132,15 +132,15 @@ func init() { ) flag.StringVar( &execPath1, - "avalanchego-path-1", + "node-path-1", "", - "avalanchego executable path (to upgrade from)", + "node executable path (to upgrade from)", ) flag.StringVar( &execPath2, - "avalanchego-path-2", + "node-path-2", "", - "avalanchego executable path (to upgrade to)", + "node executable path (to upgrade to)", ) flag.StringVar( &subnetEvmPath, @@ -630,7 +630,7 @@ var _ = ginkgo.Describe("[Start/Remove/Restart/Add/Stop]", func() { logging.NoLog{}, prometheus.NewRegistry(), "", - avago_constants.DefaultNetworkCompressionType, + luxd_constants.DefaultNetworkCompressionType, 10*time.Second, ) gomega.Ω(err).Should(gomega.BeNil()) @@ -641,7 +641,7 @@ var _ = ginkgo.Describe("[Start/Remove/Restart/Add/Stop]", func() { ids.GenerateTestID(), } requestID := uint32(42) - chainID := avago_constants.PlatformChainID + chainID := luxd_constants.PlatformChainID msg, err := mc.Chits(chainID, requestID, []ids.ID{}, containerIDs) gomega.Ω(err).Should(gomega.BeNil()) diff --git a/utils/color.go b/utils/color.go index 18667ad4..5b83f65f 100644 --- a/utils/color.go +++ b/utils/color.go @@ -6,7 +6,7 @@ import ( "io" "sync" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/node/utils/logging" ) var supportedColors = []logging.Color{ diff --git a/utils/color_test.go b/utils/color_test.go index 56bc418b..83922c28 100644 --- a/utils/color_test.go +++ b/utils/color_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/node/utils/logging" ) // TestColorAssignment tests that each color assignment is different and that it "wraps" diff --git a/utils/constants/constants.go b/utils/constants/constants.go index b682e809..ae27203e 100644 --- a/utils/constants/constants.go +++ b/utils/constants/constants.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package constants diff --git a/utils/json.go b/utils/json.go index 8978c54a..3baa9d28 100644 --- a/utils/json.go +++ b/utils/json.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package utils diff --git a/utils/json_test.go b/utils/json_test.go index acb05db3..ecb14f5d 100644 --- a/utils/json_test.go +++ b/utils/json_test.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package utils @@ -34,7 +34,7 @@ func TestSetJSONKey(t *testing.T) { err = json.Unmarshal([]byte(s), &m) require.NoError(t, err) // check if one-liner also works - bb := `{"api-admin-enabled":true,"api-ipcs-enabled":true,"db-dir":"/tmp/network-runner-root-data3856302950/node5/db-dir","health-check-frequency":"2s","index-enabled":true,"log-dir":"/tmp/network-runner-root-data3856302950/node5/log","log-display-level":"INFO","log-level":"INFO","network-max-reconnect-delay":"1s","network-peer-list-gossip-frequency":"250ms","plugin-dir":"/home/fabio/go/src/github.com/ava-labs/avalanchego/build/plugins","public-ip":"127.0.0.1","track-subnets":""}` + bb := `{"api-admin-enabled":true,"api-ipcs-enabled":true,"db-dir":"/tmp/network-runner-root-data3856302950/node5/db-dir","health-check-frequency":"2s","index-enabled":true,"log-dir":"/tmp/network-runner-root-data3856302950/node5/log","log-display-level":"INFO","log-level":"INFO","network-max-reconnect-delay":"1s","network-peer-list-gossip-frequency":"250ms","plugin-dir":"/home/fabio/go/src/github.com/luxdefi/node/build/plugins","public-ip":"127.0.0.1","track-subnets":""}` ss, err := SetJSONKey(bb, "track-subnets", "d,e,f") require.NoError(t, err) require.Contains(t, s, `"track-subnets":"d,e,f"`) diff --git a/utils/utils.go b/utils/utils.go index feb1f64f..54e94067 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -8,11 +8,11 @@ import ( "os" "time" - rpcb "github.com/ava-labs/avalanche-network-runner/rpcpb" - "github.com/ava-labs/avalanche-network-runner/ux" - "github.com/ava-labs/avalanchego/ids" - "github.com/ava-labs/avalanchego/staking" - "github.com/ava-labs/avalanchego/utils/logging" + rpcb "github.com/luxdefi/netrunner/rpcpb" + "github.com/luxdefi/netrunner/ux" + "github.com/luxdefi/node/ids" + "github.com/luxdefi/node/staking" + "github.com/luxdefi/node/utils/logging" ) const ( @@ -47,8 +47,8 @@ func NetworkIDFromGenesis(genesis []byte) (uint32, error) { } var ( - ErrInvalidExecPath = errors.New("avalanche exec is invalid") - ErrNotExists = errors.New("avalanche exec not exists") + ErrInvalidExecPath = errors.New("lux exec is invalid") + ErrNotExists = errors.New("lux exec not exists") ErrNotExistsPlugin = errors.New("plugin exec not exists") ) diff --git a/utils/utils_test.go b/utils/utils_test.go index 8672f55e..3124e0b0 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -14,7 +14,7 @@ var genesis = []byte( "allocations": [ { "ethAddr": "0xb3d82b1367d362de99ab59a658165aff520cbd4d", - "avaxAddr": "X-custom1g65uqn6t77p656w64023nh8nd9updzmxwd59gh", + "luxAddr": "X-custom1g65uqn6t77p656w64023nh8nd9updzmxwd59gh", "initialAmount": 0, "unlockSchedule": [ { diff --git a/ux/output.go b/ux/output.go index 7f61735d..2070656f 100644 --- a/ux/output.go +++ b/ux/output.go @@ -1,11 +1,11 @@ -// Copyright (C) 2019-2022, Ava Labs, Inc. All rights reserved. +// Copyright (C) 2021-2024, Lux Partners Limited. All rights reserved. // See the file LICENSE for licensing terms. package ux import ( "fmt" - "github.com/ava-labs/avalanchego/utils/logging" + "github.com/luxdefi/node/utils/logging" ) func Print(log logging.Logger, msg string, args ...interface{}) {