From 83225265591ac3848db3cdc565ecbf0f0760225c Mon Sep 17 00:00:00 2001 From: christopherbrumm Date: Wed, 4 Sep 2024 09:29:23 +0200 Subject: [PATCH] refactor: proto files directory structure --- api/cometbft/{v100 => }/abci/v1/service.pb.go | 0 api/cometbft/{v100 => }/abci/v1/types.pb.go | 0 api/cometbft/{v100 => }/abci/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/abci/v1beta2/types.pb.go | 0 api/cometbft/{v100 => }/abci/v1beta3/types.pb.go | 0 api/cometbft/{v100 => }/blocksync/v1/types.pb.go | 0 api/cometbft/{v100 => }/blocksync/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/consensus/v1/types.pb.go | 0 api/cometbft/{v100 => }/consensus/v1/wal.pb.go | 0 api/cometbft/{v100 => }/consensus/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/consensus/v1beta1/wal.pb.go | 0 api/cometbft/{v100 => }/crypto/v1/keys.pb.go | 0 api/cometbft/{v100 => }/crypto/v1/proof.pb.go | 0 api/cometbft/{v100 => }/libs/bits/v1/types.pb.go | 0 api/cometbft/{v100 => }/mempool/v1/types.pb.go | 0 api/cometbft/{v100 => }/p2p/v1/conn.pb.go | 0 api/cometbft/{v100 => }/p2p/v1/pex.pb.go | 0 api/cometbft/{v100 => }/p2p/v1/types.pb.go | 0 api/cometbft/{v100 => }/privval/v1/types.pb.go | 0 api/cometbft/{v100 => }/privval/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/privval/v1beta2/types.pb.go | 0 api/cometbft/{v100 => }/rpc/grpc/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/rpc/grpc/v1beta2/types.pb.go | 0 api/cometbft/{v100 => }/rpc/grpc/v1beta3/types.pb.go | 0 api/cometbft/{v100 => }/services/block/v1/block.pb.go | 0 api/cometbft/{v100 => }/services/block/v1/block_service.pb.go | 0 .../{v100 => }/services/block_results/v1/block_results.pb.go | 0 .../services/block_results/v1/block_results_service.pb.go | 0 api/cometbft/{v100 => }/services/pruning/v1/pruning.pb.go | 0 api/cometbft/{v100 => }/services/pruning/v1/service.pb.go | 0 api/cometbft/{v100 => }/services/version/v1/version.pb.go | 0 .../{v100 => }/services/version/v1/version_service.pb.go | 0 api/cometbft/{v100 => }/state/v1/types.pb.go | 0 api/cometbft/{v100 => }/state/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/state/v1beta2/types.pb.go | 0 api/cometbft/{v100 => }/state/v1beta3/types.pb.go | 0 api/cometbft/{v100 => }/statesync/v1/types.pb.go | 0 api/cometbft/{v100 => }/store/v1/types.pb.go | 0 api/cometbft/{v100 => }/types/v1/block.pb.go | 0 api/cometbft/{v100 => }/types/v1/canonical.pb.go | 0 api/cometbft/{v100 => }/types/v1/events.pb.go | 0 api/cometbft/{v100 => }/types/v1/evidence.pb.go | 0 api/cometbft/{v100 => }/types/v1/params.pb.go | 0 api/cometbft/{v100 => }/types/v1/types.pb.go | 0 api/cometbft/{v100 => }/types/v1/validator.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/block.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/canonical.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/events.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/evidence.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/params.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/types.pb.go | 0 api/cometbft/{v100 => }/types/v1beta1/validator.pb.go | 0 api/cometbft/{v100 => }/types/v1beta2/params.pb.go | 0 api/cometbft/{v100 => }/version/v1/types.pb.go | 0 api/go.mod | 2 +- 55 files changed, 1 insertion(+), 1 deletion(-) rename api/cometbft/{v100 => }/abci/v1/service.pb.go (100%) rename api/cometbft/{v100 => }/abci/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/abci/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/abci/v1beta2/types.pb.go (100%) rename api/cometbft/{v100 => }/abci/v1beta3/types.pb.go (100%) rename api/cometbft/{v100 => }/blocksync/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/blocksync/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/consensus/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/consensus/v1/wal.pb.go (100%) rename api/cometbft/{v100 => }/consensus/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/consensus/v1beta1/wal.pb.go (100%) rename api/cometbft/{v100 => }/crypto/v1/keys.pb.go (100%) rename api/cometbft/{v100 => }/crypto/v1/proof.pb.go (100%) rename api/cometbft/{v100 => }/libs/bits/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/mempool/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/p2p/v1/conn.pb.go (100%) rename api/cometbft/{v100 => }/p2p/v1/pex.pb.go (100%) rename api/cometbft/{v100 => }/p2p/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/privval/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/privval/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/privval/v1beta2/types.pb.go (100%) rename api/cometbft/{v100 => }/rpc/grpc/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/rpc/grpc/v1beta2/types.pb.go (100%) rename api/cometbft/{v100 => }/rpc/grpc/v1beta3/types.pb.go (100%) rename api/cometbft/{v100 => }/services/block/v1/block.pb.go (100%) rename api/cometbft/{v100 => }/services/block/v1/block_service.pb.go (100%) rename api/cometbft/{v100 => }/services/block_results/v1/block_results.pb.go (100%) rename api/cometbft/{v100 => }/services/block_results/v1/block_results_service.pb.go (100%) rename api/cometbft/{v100 => }/services/pruning/v1/pruning.pb.go (100%) rename api/cometbft/{v100 => }/services/pruning/v1/service.pb.go (100%) rename api/cometbft/{v100 => }/services/version/v1/version.pb.go (100%) rename api/cometbft/{v100 => }/services/version/v1/version_service.pb.go (100%) rename api/cometbft/{v100 => }/state/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/state/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/state/v1beta2/types.pb.go (100%) rename api/cometbft/{v100 => }/state/v1beta3/types.pb.go (100%) rename api/cometbft/{v100 => }/statesync/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/store/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/block.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/canonical.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/events.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/evidence.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/params.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/types.pb.go (100%) rename api/cometbft/{v100 => }/types/v1/validator.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/block.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/canonical.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/events.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/evidence.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/params.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/types.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta1/validator.pb.go (100%) rename api/cometbft/{v100 => }/types/v1beta2/params.pb.go (100%) rename api/cometbft/{v100 => }/version/v1/types.pb.go (100%) diff --git a/api/cometbft/v100/abci/v1/service.pb.go b/api/cometbft/abci/v1/service.pb.go similarity index 100% rename from api/cometbft/v100/abci/v1/service.pb.go rename to api/cometbft/abci/v1/service.pb.go diff --git a/api/cometbft/v100/abci/v1/types.pb.go b/api/cometbft/abci/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/abci/v1/types.pb.go rename to api/cometbft/abci/v1/types.pb.go diff --git a/api/cometbft/v100/abci/v1beta1/types.pb.go b/api/cometbft/abci/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/abci/v1beta1/types.pb.go rename to api/cometbft/abci/v1beta1/types.pb.go diff --git a/api/cometbft/v100/abci/v1beta2/types.pb.go b/api/cometbft/abci/v1beta2/types.pb.go similarity index 100% rename from api/cometbft/v100/abci/v1beta2/types.pb.go rename to api/cometbft/abci/v1beta2/types.pb.go diff --git a/api/cometbft/v100/abci/v1beta3/types.pb.go b/api/cometbft/abci/v1beta3/types.pb.go similarity index 100% rename from api/cometbft/v100/abci/v1beta3/types.pb.go rename to api/cometbft/abci/v1beta3/types.pb.go diff --git a/api/cometbft/v100/blocksync/v1/types.pb.go b/api/cometbft/blocksync/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/blocksync/v1/types.pb.go rename to api/cometbft/blocksync/v1/types.pb.go diff --git a/api/cometbft/v100/blocksync/v1beta1/types.pb.go b/api/cometbft/blocksync/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/blocksync/v1beta1/types.pb.go rename to api/cometbft/blocksync/v1beta1/types.pb.go diff --git a/api/cometbft/v100/consensus/v1/types.pb.go b/api/cometbft/consensus/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/consensus/v1/types.pb.go rename to api/cometbft/consensus/v1/types.pb.go diff --git a/api/cometbft/v100/consensus/v1/wal.pb.go b/api/cometbft/consensus/v1/wal.pb.go similarity index 100% rename from api/cometbft/v100/consensus/v1/wal.pb.go rename to api/cometbft/consensus/v1/wal.pb.go diff --git a/api/cometbft/v100/consensus/v1beta1/types.pb.go b/api/cometbft/consensus/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/consensus/v1beta1/types.pb.go rename to api/cometbft/consensus/v1beta1/types.pb.go diff --git a/api/cometbft/v100/consensus/v1beta1/wal.pb.go b/api/cometbft/consensus/v1beta1/wal.pb.go similarity index 100% rename from api/cometbft/v100/consensus/v1beta1/wal.pb.go rename to api/cometbft/consensus/v1beta1/wal.pb.go diff --git a/api/cometbft/v100/crypto/v1/keys.pb.go b/api/cometbft/crypto/v1/keys.pb.go similarity index 100% rename from api/cometbft/v100/crypto/v1/keys.pb.go rename to api/cometbft/crypto/v1/keys.pb.go diff --git a/api/cometbft/v100/crypto/v1/proof.pb.go b/api/cometbft/crypto/v1/proof.pb.go similarity index 100% rename from api/cometbft/v100/crypto/v1/proof.pb.go rename to api/cometbft/crypto/v1/proof.pb.go diff --git a/api/cometbft/v100/libs/bits/v1/types.pb.go b/api/cometbft/libs/bits/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/libs/bits/v1/types.pb.go rename to api/cometbft/libs/bits/v1/types.pb.go diff --git a/api/cometbft/v100/mempool/v1/types.pb.go b/api/cometbft/mempool/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/mempool/v1/types.pb.go rename to api/cometbft/mempool/v1/types.pb.go diff --git a/api/cometbft/v100/p2p/v1/conn.pb.go b/api/cometbft/p2p/v1/conn.pb.go similarity index 100% rename from api/cometbft/v100/p2p/v1/conn.pb.go rename to api/cometbft/p2p/v1/conn.pb.go diff --git a/api/cometbft/v100/p2p/v1/pex.pb.go b/api/cometbft/p2p/v1/pex.pb.go similarity index 100% rename from api/cometbft/v100/p2p/v1/pex.pb.go rename to api/cometbft/p2p/v1/pex.pb.go diff --git a/api/cometbft/v100/p2p/v1/types.pb.go b/api/cometbft/p2p/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/p2p/v1/types.pb.go rename to api/cometbft/p2p/v1/types.pb.go diff --git a/api/cometbft/v100/privval/v1/types.pb.go b/api/cometbft/privval/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/privval/v1/types.pb.go rename to api/cometbft/privval/v1/types.pb.go diff --git a/api/cometbft/v100/privval/v1beta1/types.pb.go b/api/cometbft/privval/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/privval/v1beta1/types.pb.go rename to api/cometbft/privval/v1beta1/types.pb.go diff --git a/api/cometbft/v100/privval/v1beta2/types.pb.go b/api/cometbft/privval/v1beta2/types.pb.go similarity index 100% rename from api/cometbft/v100/privval/v1beta2/types.pb.go rename to api/cometbft/privval/v1beta2/types.pb.go diff --git a/api/cometbft/v100/rpc/grpc/v1beta1/types.pb.go b/api/cometbft/rpc/grpc/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/rpc/grpc/v1beta1/types.pb.go rename to api/cometbft/rpc/grpc/v1beta1/types.pb.go diff --git a/api/cometbft/v100/rpc/grpc/v1beta2/types.pb.go b/api/cometbft/rpc/grpc/v1beta2/types.pb.go similarity index 100% rename from api/cometbft/v100/rpc/grpc/v1beta2/types.pb.go rename to api/cometbft/rpc/grpc/v1beta2/types.pb.go diff --git a/api/cometbft/v100/rpc/grpc/v1beta3/types.pb.go b/api/cometbft/rpc/grpc/v1beta3/types.pb.go similarity index 100% rename from api/cometbft/v100/rpc/grpc/v1beta3/types.pb.go rename to api/cometbft/rpc/grpc/v1beta3/types.pb.go diff --git a/api/cometbft/v100/services/block/v1/block.pb.go b/api/cometbft/services/block/v1/block.pb.go similarity index 100% rename from api/cometbft/v100/services/block/v1/block.pb.go rename to api/cometbft/services/block/v1/block.pb.go diff --git a/api/cometbft/v100/services/block/v1/block_service.pb.go b/api/cometbft/services/block/v1/block_service.pb.go similarity index 100% rename from api/cometbft/v100/services/block/v1/block_service.pb.go rename to api/cometbft/services/block/v1/block_service.pb.go diff --git a/api/cometbft/v100/services/block_results/v1/block_results.pb.go b/api/cometbft/services/block_results/v1/block_results.pb.go similarity index 100% rename from api/cometbft/v100/services/block_results/v1/block_results.pb.go rename to api/cometbft/services/block_results/v1/block_results.pb.go diff --git a/api/cometbft/v100/services/block_results/v1/block_results_service.pb.go b/api/cometbft/services/block_results/v1/block_results_service.pb.go similarity index 100% rename from api/cometbft/v100/services/block_results/v1/block_results_service.pb.go rename to api/cometbft/services/block_results/v1/block_results_service.pb.go diff --git a/api/cometbft/v100/services/pruning/v1/pruning.pb.go b/api/cometbft/services/pruning/v1/pruning.pb.go similarity index 100% rename from api/cometbft/v100/services/pruning/v1/pruning.pb.go rename to api/cometbft/services/pruning/v1/pruning.pb.go diff --git a/api/cometbft/v100/services/pruning/v1/service.pb.go b/api/cometbft/services/pruning/v1/service.pb.go similarity index 100% rename from api/cometbft/v100/services/pruning/v1/service.pb.go rename to api/cometbft/services/pruning/v1/service.pb.go diff --git a/api/cometbft/v100/services/version/v1/version.pb.go b/api/cometbft/services/version/v1/version.pb.go similarity index 100% rename from api/cometbft/v100/services/version/v1/version.pb.go rename to api/cometbft/services/version/v1/version.pb.go diff --git a/api/cometbft/v100/services/version/v1/version_service.pb.go b/api/cometbft/services/version/v1/version_service.pb.go similarity index 100% rename from api/cometbft/v100/services/version/v1/version_service.pb.go rename to api/cometbft/services/version/v1/version_service.pb.go diff --git a/api/cometbft/v100/state/v1/types.pb.go b/api/cometbft/state/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/state/v1/types.pb.go rename to api/cometbft/state/v1/types.pb.go diff --git a/api/cometbft/v100/state/v1beta1/types.pb.go b/api/cometbft/state/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/state/v1beta1/types.pb.go rename to api/cometbft/state/v1beta1/types.pb.go diff --git a/api/cometbft/v100/state/v1beta2/types.pb.go b/api/cometbft/state/v1beta2/types.pb.go similarity index 100% rename from api/cometbft/v100/state/v1beta2/types.pb.go rename to api/cometbft/state/v1beta2/types.pb.go diff --git a/api/cometbft/v100/state/v1beta3/types.pb.go b/api/cometbft/state/v1beta3/types.pb.go similarity index 100% rename from api/cometbft/v100/state/v1beta3/types.pb.go rename to api/cometbft/state/v1beta3/types.pb.go diff --git a/api/cometbft/v100/statesync/v1/types.pb.go b/api/cometbft/statesync/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/statesync/v1/types.pb.go rename to api/cometbft/statesync/v1/types.pb.go diff --git a/api/cometbft/v100/store/v1/types.pb.go b/api/cometbft/store/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/store/v1/types.pb.go rename to api/cometbft/store/v1/types.pb.go diff --git a/api/cometbft/v100/types/v1/block.pb.go b/api/cometbft/types/v1/block.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/block.pb.go rename to api/cometbft/types/v1/block.pb.go diff --git a/api/cometbft/v100/types/v1/canonical.pb.go b/api/cometbft/types/v1/canonical.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/canonical.pb.go rename to api/cometbft/types/v1/canonical.pb.go diff --git a/api/cometbft/v100/types/v1/events.pb.go b/api/cometbft/types/v1/events.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/events.pb.go rename to api/cometbft/types/v1/events.pb.go diff --git a/api/cometbft/v100/types/v1/evidence.pb.go b/api/cometbft/types/v1/evidence.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/evidence.pb.go rename to api/cometbft/types/v1/evidence.pb.go diff --git a/api/cometbft/v100/types/v1/params.pb.go b/api/cometbft/types/v1/params.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/params.pb.go rename to api/cometbft/types/v1/params.pb.go diff --git a/api/cometbft/v100/types/v1/types.pb.go b/api/cometbft/types/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/types.pb.go rename to api/cometbft/types/v1/types.pb.go diff --git a/api/cometbft/v100/types/v1/validator.pb.go b/api/cometbft/types/v1/validator.pb.go similarity index 100% rename from api/cometbft/v100/types/v1/validator.pb.go rename to api/cometbft/types/v1/validator.pb.go diff --git a/api/cometbft/v100/types/v1beta1/block.pb.go b/api/cometbft/types/v1beta1/block.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/block.pb.go rename to api/cometbft/types/v1beta1/block.pb.go diff --git a/api/cometbft/v100/types/v1beta1/canonical.pb.go b/api/cometbft/types/v1beta1/canonical.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/canonical.pb.go rename to api/cometbft/types/v1beta1/canonical.pb.go diff --git a/api/cometbft/v100/types/v1beta1/events.pb.go b/api/cometbft/types/v1beta1/events.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/events.pb.go rename to api/cometbft/types/v1beta1/events.pb.go diff --git a/api/cometbft/v100/types/v1beta1/evidence.pb.go b/api/cometbft/types/v1beta1/evidence.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/evidence.pb.go rename to api/cometbft/types/v1beta1/evidence.pb.go diff --git a/api/cometbft/v100/types/v1beta1/params.pb.go b/api/cometbft/types/v1beta1/params.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/params.pb.go rename to api/cometbft/types/v1beta1/params.pb.go diff --git a/api/cometbft/v100/types/v1beta1/types.pb.go b/api/cometbft/types/v1beta1/types.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/types.pb.go rename to api/cometbft/types/v1beta1/types.pb.go diff --git a/api/cometbft/v100/types/v1beta1/validator.pb.go b/api/cometbft/types/v1beta1/validator.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta1/validator.pb.go rename to api/cometbft/types/v1beta1/validator.pb.go diff --git a/api/cometbft/v100/types/v1beta2/params.pb.go b/api/cometbft/types/v1beta2/params.pb.go similarity index 100% rename from api/cometbft/v100/types/v1beta2/params.pb.go rename to api/cometbft/types/v1beta2/params.pb.go diff --git a/api/cometbft/v100/version/v1/types.pb.go b/api/cometbft/version/v1/types.pb.go similarity index 100% rename from api/cometbft/v100/version/v1/types.pb.go rename to api/cometbft/version/v1/types.pb.go diff --git a/api/go.mod b/api/go.mod index 4fff02c8491..1622637f86f 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,4 +1,4 @@ -module github.com/KYVENetwork/cometbft/api +module github.com/KYVENetwork/cometbft/v100/api go 1.22