diff --git a/Makefile b/Makefile index ce71cae7e9..600dc40443 100644 --- a/Makefile +++ b/Makefile @@ -25,21 +25,21 @@ help: Makefile ## build: Build the celestia-appd binary into the ./build directory. build: mod - @cd ./cmd/celestia-appd + @echo "--> Building celestia-appd binary to ./build directory" @mkdir -p build/ - @go build $(BUILD_FLAGS) -o build/ ./cmd/celestia-appd + @cd v3 && go build $(BUILD_FLAGS) -o ../build/ ./cmd/celestia-appd .PHONY: build ## install: Build and install the celestia-appd binary into the $GOPATH/bin directory. -install: go.sum +install: mod @echo "--> Installing celestia-appd" - @go install $(BUILD_FLAGS) ./cmd/celestia-appd + @cd v3 && go install $(BUILD_FLAGS) ./cmd/celestia-appd .PHONY: install ## mod: Update all go.mod files. mod: - @echo "--> Updating go.mod" - @go mod tidy + @echo "--> Updating go.mod in ./v3" + @(cd ./v3 && go mod tidy) @echo "--> Updating go.mod in ./test/interchain" @(cd ./test/interchain && go mod tidy) @echo "--> Updating go.mod in ./x/blob" @@ -110,7 +110,14 @@ publish-ghcr-docker: ## lint: Run all linters; golangci-lint, markdownlint, hadolint, yamllint. lint: @echo "--> Running golangci-lint" - @golangci-lint run + @cd v3 && golangci-lint run ./... + @cd x/blob && golangci-lint run ./... + @cd x/blobstream && golangci-lint run ./... + @cd x/minfee && golangci-lint run ./... + @cd x/mint && golangci-lint run ./... + @cd x/paramfilter && golangci-lint run ./... + @cd x/signal && golangci-lint run ./... + @cd x/tokenfilter && golangci-lint run ./... @echo "--> Running markdownlint" @markdownlint --config .markdownlint.yaml '**/*.md' @echo "--> Running hadolint" diff --git a/proto/celestia/core/v1/da/data_availability_header.proto b/proto/celestia/core/v1/da/data_availability_header.proto index 19a4b7d3ce..e2aee1934f 100644 --- a/proto/celestia/core/v1/da/data_availability_header.proto +++ b/proto/celestia/core/v1/da/data_availability_header.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package celestia.core.v1.da; -option go_package = "github.com/celestiaorg/celestia-app/proto/celestia/core/v1/da"; +option go_package = "github.com/celestiaorg/celestia-app/v3/pkg/da/proto"; // DataAvailabilityHeader contains the row and column roots of the erasure // coded version of the data in Block.Data. diff --git a/proto/celestia/core/v1/proof/proof.proto b/proto/celestia/core/v1/proof/proof.proto index 816cf8718e..fa0aad06d3 100644 --- a/proto/celestia/core/v1/proof/proof.proto +++ b/proto/celestia/core/v1/proof/proof.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package celestia.core.v1.proof; -option go_package = "github.com/celestiaorg/celestia-app/pkg/proof"; +option go_package = "github.com/celestiaorg/celestia-app/v3/pkg/proof"; // ShareProof is an NMT proof that a set of shares exist in a set of rows and a // Merkle proof that those rows exist in a Merkle tree with a given data root. @@ -51,4 +51,4 @@ message Proof { int64 index = 2; bytes leaf_hash = 3; repeated bytes aunts = 4; -} \ No newline at end of file +} diff --git a/proto/celestia/core/v1/tx/tx.proto b/proto/celestia/core/v1/tx/tx.proto index f4a8301606..4c8619093b 100644 --- a/proto/celestia/core/v1/tx/tx.proto +++ b/proto/celestia/core/v1/tx/tx.proto @@ -3,7 +3,7 @@ package celestia.core.v1.tx; import "google/api/annotations.proto"; -option go_package = "github.com/celestiaorg/celestia-app/app/grpc/tx"; +option go_package = "github.com/celestiaorg/celestia-app/v3/app/grpc/tx"; // Service defines a gRPC service for interacting with transactions. service Tx { @@ -35,4 +35,4 @@ message TxStatusResponse { uint32 execution_code = 3; // status is the status of the transaction. string status = 4; -} \ No newline at end of file +} diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index c2fc4e0253..a98b5ba366 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -2,14 +2,14 @@ set -eo pipefail -protoc_gen_gocosmos() { - if ! grep "github.com/gogo/protobuf => github.com/regen-network/protobuf" go.mod &>/dev/null ; then - echo -e "\tPlease run this command from somewhere inside the cosmos-sdk folder." - return 1 - fi -} +# protoc_gen_gocosmos() { +# if ! grep "github.com/gogo/protobuf => github.com/regen-network/protobuf" go.mod &>/dev/null ; then +# echo -e "\tPlease run this command from somewhere inside the cosmos-sdk folder." +# return 1 +# fi +# } -protoc_gen_gocosmos +# protoc_gen_gocosmos cd proto proto_dirs=$(find . -path ./cosmos -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) diff --git a/scripts/test_fuzz.sh b/scripts/test_fuzz.sh index 078dee5159..bf34e05ab1 100755 --- a/scripts/test_fuzz.sh +++ b/scripts/test_fuzz.sh @@ -4,4 +4,4 @@ set -e echo "Running fuzz tests..." # manually specify the tests to fuzz since go toolchain doesn't support # fuzzing multiple packages with multiple fuzz tests -go test -fuzz=FuzzPFBGasEstimation -fuzztime 3m ./x/blob/types +cd x/blob/types && go test -fuzz=FuzzPFBGasEstimation -fuzztime 3m diff --git a/app/address.go b/v3/app/address.go similarity index 100% rename from app/address.go rename to v3/app/address.go diff --git a/app/ante/ante.go b/v3/app/ante/ante.go similarity index 100% rename from app/ante/ante.go rename to v3/app/ante/ante.go diff --git a/app/ante/fee_checker.go b/v3/app/ante/fee_checker.go similarity index 100% rename from app/ante/fee_checker.go rename to v3/app/ante/fee_checker.go diff --git a/app/ante/get_tx_priority_test.go b/v3/app/ante/get_tx_priority_test.go similarity index 100% rename from app/ante/get_tx_priority_test.go rename to v3/app/ante/get_tx_priority_test.go diff --git a/app/ante/gov.go b/v3/app/ante/gov.go similarity index 100% rename from app/ante/gov.go rename to v3/app/ante/gov.go diff --git a/app/ante/gov_test.go b/v3/app/ante/gov_test.go similarity index 100% rename from app/ante/gov_test.go rename to v3/app/ante/gov_test.go diff --git a/app/ante/min_fee_test.go b/v3/app/ante/min_fee_test.go similarity index 100% rename from app/ante/min_fee_test.go rename to v3/app/ante/min_fee_test.go diff --git a/app/ante/msg_gatekeeper.go b/v3/app/ante/msg_gatekeeper.go similarity index 100% rename from app/ante/msg_gatekeeper.go rename to v3/app/ante/msg_gatekeeper.go diff --git a/app/ante/msg_gatekeeper_test.go b/v3/app/ante/msg_gatekeeper_test.go similarity index 100% rename from app/ante/msg_gatekeeper_test.go rename to v3/app/ante/msg_gatekeeper_test.go diff --git a/app/ante/panic.go b/v3/app/ante/panic.go similarity index 100% rename from app/ante/panic.go rename to v3/app/ante/panic.go diff --git a/app/ante/panic_test.go b/v3/app/ante/panic_test.go similarity index 100% rename from app/ante/panic_test.go rename to v3/app/ante/panic_test.go diff --git a/app/app.go b/v3/app/app.go similarity index 100% rename from app/app.go rename to v3/app/app.go diff --git a/app/app_test.go b/v3/app/app_test.go similarity index 100% rename from app/app_test.go rename to v3/app/app_test.go diff --git a/app/check_tx.go b/v3/app/check_tx.go similarity index 100% rename from app/check_tx.go rename to v3/app/check_tx.go diff --git a/app/config.go b/v3/app/config.go similarity index 100% rename from app/config.go rename to v3/app/config.go diff --git a/app/default_overrides.go b/v3/app/default_overrides.go similarity index 100% rename from app/default_overrides.go rename to v3/app/default_overrides.go diff --git a/app/default_overrides_test.go b/v3/app/default_overrides_test.go similarity index 100% rename from app/default_overrides_test.go rename to v3/app/default_overrides_test.go diff --git a/app/denom.go b/v3/app/denom.go similarity index 100% rename from app/denom.go rename to v3/app/denom.go diff --git a/app/encoding/encoding.go b/v3/app/encoding/encoding.go similarity index 100% rename from app/encoding/encoding.go rename to v3/app/encoding/encoding.go diff --git a/app/encoding/index_wrapper_decoder.go b/v3/app/encoding/index_wrapper_decoder.go similarity index 100% rename from app/encoding/index_wrapper_decoder.go rename to v3/app/encoding/index_wrapper_decoder.go diff --git a/app/errors/insufficient_gas_price.go b/v3/app/errors/insufficient_gas_price.go similarity index 100% rename from app/errors/insufficient_gas_price.go rename to v3/app/errors/insufficient_gas_price.go diff --git a/app/errors/insufficient_gas_price_test.go b/v3/app/errors/insufficient_gas_price_test.go similarity index 100% rename from app/errors/insufficient_gas_price_test.go rename to v3/app/errors/insufficient_gas_price_test.go diff --git a/app/errors/nonce_mismatch.go b/v3/app/errors/nonce_mismatch.go similarity index 100% rename from app/errors/nonce_mismatch.go rename to v3/app/errors/nonce_mismatch.go diff --git a/app/errors/nonce_mismatch_test.go b/v3/app/errors/nonce_mismatch_test.go similarity index 100% rename from app/errors/nonce_mismatch_test.go rename to v3/app/errors/nonce_mismatch_test.go diff --git a/app/export.go b/v3/app/export.go similarity index 100% rename from app/export.go rename to v3/app/export.go diff --git a/app/extend_block.go b/v3/app/extend_block.go similarity index 100% rename from app/extend_block.go rename to v3/app/extend_block.go diff --git a/app/genesis.go b/v3/app/genesis.go similarity index 100% rename from app/genesis.go rename to v3/app/genesis.go diff --git a/app/grpc/tx/server.go b/v3/app/grpc/tx/server.go similarity index 100% rename from app/grpc/tx/server.go rename to v3/app/grpc/tx/server.go diff --git a/app/grpc/tx/tx.pb.go b/v3/app/grpc/tx/tx.pb.go similarity index 90% rename from app/grpc/tx/tx.pb.go rename to v3/app/grpc/tx/tx.pb.go index c962ec2dd5..b84f6b2b5f 100644 --- a/app/grpc/tx/tx.pb.go +++ b/v3/app/grpc/tx/tx.pb.go @@ -155,28 +155,28 @@ func init() { func init() { proto.RegisterFile("celestia/core/v1/tx/tx.proto", fileDescriptor_7d8b070565b0dcb6) } var fileDescriptor_7d8b070565b0dcb6 = []byte{ - // 322 bytes of a gzipped FileDescriptorProto + // 325 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x4a, 0x03, 0x31, 0x18, 0x6c, 0xfa, 0x87, 0x06, 0xaa, 0x92, 0x8a, 0x2c, 0xa5, 0x84, 0x52, 0x5a, 0xe9, 0xc5, 0x84, - 0xea, 0x1b, 0xe8, 0xa9, 0xd7, 0xb5, 0x27, 0x2f, 0x65, 0xbb, 0x1b, 0xb6, 0x81, 0xba, 0x89, 0x9b, - 0x6f, 0x4b, 0x40, 0x8a, 0xa0, 0x2f, 0x20, 0xf8, 0x52, 0x1e, 0x0b, 0x5e, 0x3c, 0x4a, 0xeb, 0x83, - 0x48, 0xd3, 0x76, 0x05, 0x29, 0x78, 0x08, 0x64, 0x32, 0x93, 0x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b, - 0x64, 0x7e, 0x3d, 0x78, 0x5f, 0x52, 0xb4, 0x58, 0x52, 0xf4, 0xb5, 0xa4, 0xe8, 0x75, 0x45, 0x0b, - 0x8b, 0x15, 0x2d, 0x7c, 0xae, 0x68, 0xe1, 0x8e, 0xc7, 0x12, 0x26, 0xd9, 0x98, 0x85, 0xea, 0x3e, - 0x9f, 0xa0, 0xd2, 0x38, 0xdf, 0x5f, 0x04, 0x5a, 0xf3, 0xf5, 0x8a, 0x53, 0x1d, 0x72, 0xb0, 0xe3, - 0xaa, 0xfb, 0x80, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x2a, 0x51, 0xff, 0xd3, 0x01, - 0x00, 0x00, + 0xb6, 0x6f, 0xa0, 0x27, 0xc1, 0xd3, 0xda, 0x93, 0x97, 0xb2, 0xdd, 0x0d, 0xdb, 0x40, 0xdd, 0xc4, + 0xcd, 0xb7, 0x25, 0x20, 0x45, 0xd0, 0x17, 0x10, 0x7c, 0x29, 0x8f, 0x05, 0x2f, 0x1e, 0xa5, 0xf5, + 0x41, 0xa4, 0xe9, 0x8f, 0x20, 0x05, 0x4f, 0xc9, 0x64, 0x26, 0xdf, 0x64, 0x26, 0xb8, 0x1e, 0x8a, + 0x89, 0x30, 0x20, 0x03, 0x1e, 0xaa, 0x54, 0xf0, 0x69, 0x97, 0x83, 0xe5, 0x60, 0x99, 0x4e, 0x15, + 0x28, 0x52, 0xdd, 0xb2, 0x6c, 0xc5, 0xb2, 0x69, 0x97, 0x81, 0xad, 0xd5, 0x63, 0xa5, 0xe2, 0x89, + 0xe0, 0x81, 0x96, 0x3c, 0x48, 0x12, 0x05, 0x01, 0x48, 0x95, 0x98, 0xf5, 0x95, 0xe6, 0x39, 0x3e, + 0x1e, 0xd8, 0x5b, 0x08, 0x20, 0x33, 0xbe, 0x78, 0xc8, 0x84, 0x01, 0x52, 0xc5, 0x25, 0xb0, 0x43, + 0x19, 0x79, 0xa8, 0x81, 0x3a, 0x87, 0x7e, 0x11, 0xec, 0x75, 0xd4, 0x7c, 0xc2, 0x27, 0xbf, 0x3a, + 0xa3, 0x55, 0x62, 0x04, 0x39, 0xc3, 0xe5, 0xb1, 0x90, 0xf1, 0x18, 0x9c, 0xb2, 0xe0, 0x6f, 0x10, + 0x39, 0xc5, 0x25, 0x99, 0x44, 0xc2, 0x7a, 0xf9, 0x06, 0xea, 0x54, 0xfc, 0x35, 0x20, 0x6d, 0x7c, + 0x24, 0xac, 0x08, 0xb3, 0x95, 0xfb, 0x30, 0x54, 0x91, 0xf0, 0x0a, 0x8e, 0xae, 0xec, 0x4e, 0xaf, + 0x54, 0xe4, 0x86, 0x1a, 0x67, 0xe3, 0x15, 0x9d, 0xfd, 0x06, 0xf5, 0x5e, 0x10, 0xce, 0x0f, 0x2c, + 0x99, 0xe1, 0x83, 0xed, 0x3b, 0x48, 0x8b, 0xed, 0xc9, 0xcb, 0xfe, 0xc4, 0xa9, 0xb5, 0xff, 0x51, + 0xad, 0xc3, 0x34, 0x5b, 0xcf, 0x1f, 0xdf, 0x6f, 0x79, 0x4a, 0xea, 0x7c, 0x5f, 0xc5, 0x8f, 0xae, + 0x91, 0xd9, 0xe5, 0xcd, 0xfb, 0x82, 0xa2, 0xf9, 0x82, 0xa2, 0xaf, 0x05, 0x45, 0xaf, 0x4b, 0x9a, + 0x9b, 0x2f, 0x69, 0xee, 0x73, 0x49, 0x73, 0x77, 0xbd, 0x58, 0xc2, 0x38, 0x1b, 0xb1, 0x50, 0xdd, + 0xef, 0x26, 0xa8, 0x34, 0xde, 0xed, 0x2f, 0x02, 0xad, 0xf9, 0xb4, 0xcf, 0x57, 0x4b, 0x9c, 0xea, + 0x90, 0x83, 0x1d, 0x95, 0xdd, 0x1f, 0xf4, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x35, 0x05, + 0x92, 0xd6, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/app/grpc/tx/tx.pb.gw.go b/v3/app/grpc/tx/tx.pb.gw.go similarity index 100% rename from app/grpc/tx/tx.pb.gw.go rename to v3/app/grpc/tx/tx.pb.gw.go diff --git a/app/ibc_proposal_handler.go b/v3/app/ibc_proposal_handler.go similarity index 100% rename from app/ibc_proposal_handler.go rename to v3/app/ibc_proposal_handler.go diff --git a/app/ica_host.go b/v3/app/ica_host.go similarity index 100% rename from app/ica_host.go rename to v3/app/ica_host.go diff --git a/app/ica_host_test.go b/v3/app/ica_host_test.go similarity index 100% rename from app/ica_host_test.go rename to v3/app/ica_host_test.go diff --git a/app/init.go b/v3/app/init.go similarity index 100% rename from app/init.go rename to v3/app/init.go diff --git a/app/init_test.go b/v3/app/init_test.go similarity index 100% rename from app/init_test.go rename to v3/app/init_test.go diff --git a/app/module/README.md b/v3/app/module/README.md similarity index 100% rename from app/module/README.md rename to v3/app/module/README.md diff --git a/app/module/configurator.go b/v3/app/module/configurator.go similarity index 100% rename from app/module/configurator.go rename to v3/app/module/configurator.go diff --git a/app/module/configurator_test.go b/v3/app/module/configurator_test.go similarity index 100% rename from app/module/configurator_test.go rename to v3/app/module/configurator_test.go diff --git a/app/module/manager.go b/v3/app/module/manager.go similarity index 100% rename from app/module/manager.go rename to v3/app/module/manager.go diff --git a/app/module/manager_test.go b/v3/app/module/manager_test.go similarity index 100% rename from app/module/manager_test.go rename to v3/app/module/manager_test.go diff --git a/app/module/mocks/versioned_ibc.go b/v3/app/module/mocks/versioned_ibc.go similarity index 100% rename from app/module/mocks/versioned_ibc.go rename to v3/app/module/mocks/versioned_ibc.go diff --git a/app/module/server_wrapper.go b/v3/app/module/server_wrapper.go similarity index 100% rename from app/module/server_wrapper.go rename to v3/app/module/server_wrapper.go diff --git a/app/module/types.go b/v3/app/module/types.go similarity index 100% rename from app/module/types.go rename to v3/app/module/types.go diff --git a/app/module/utils.go b/v3/app/module/utils.go similarity index 100% rename from app/module/utils.go rename to v3/app/module/utils.go diff --git a/app/module/utils_test.go b/v3/app/module/utils_test.go similarity index 100% rename from app/module/utils_test.go rename to v3/app/module/utils_test.go diff --git a/app/module/versioned_ibc_module.go b/v3/app/module/versioned_ibc_module.go similarity index 100% rename from app/module/versioned_ibc_module.go rename to v3/app/module/versioned_ibc_module.go diff --git a/app/module/versioned_ibc_module_test.go b/v3/app/module/versioned_ibc_module_test.go similarity index 100% rename from app/module/versioned_ibc_module_test.go rename to v3/app/module/versioned_ibc_module_test.go diff --git a/app/modules.go b/v3/app/modules.go similarity index 100% rename from app/modules.go rename to v3/app/modules.go diff --git a/app/posthandler/posthandler.go b/v3/app/posthandler/posthandler.go similarity index 100% rename from app/posthandler/posthandler.go rename to v3/app/posthandler/posthandler.go diff --git a/app/prepare_proposal.go b/v3/app/prepare_proposal.go similarity index 100% rename from app/prepare_proposal.go rename to v3/app/prepare_proposal.go diff --git a/app/process_proposal.go b/v3/app/process_proposal.go similarity index 100% rename from app/process_proposal.go rename to v3/app/process_proposal.go diff --git a/app/square_size.go b/v3/app/square_size.go similarity index 100% rename from app/square_size.go rename to v3/app/square_size.go diff --git a/app/test/big_blob_test.go b/v3/app/test/big_blob_test.go similarity index 100% rename from app/test/big_blob_test.go rename to v3/app/test/big_blob_test.go diff --git a/app/test/check_tx_test.go b/v3/app/test/check_tx_test.go similarity index 100% rename from app/test/check_tx_test.go rename to v3/app/test/check_tx_test.go diff --git a/app/test/circuit_breaker_test.go b/v3/app/test/circuit_breaker_test.go similarity index 100% rename from app/test/circuit_breaker_test.go rename to v3/app/test/circuit_breaker_test.go diff --git a/app/test/consistent_apphash_test.go b/v3/app/test/consistent_apphash_test.go similarity index 100% rename from app/test/consistent_apphash_test.go rename to v3/app/test/consistent_apphash_test.go diff --git a/app/test/export_test.go b/v3/app/test/export_test.go similarity index 100% rename from app/test/export_test.go rename to v3/app/test/export_test.go diff --git a/app/test/fuzz_abci_test.go b/v3/app/test/fuzz_abci_test.go similarity index 100% rename from app/test/fuzz_abci_test.go rename to v3/app/test/fuzz_abci_test.go diff --git a/app/test/integration_test.go b/v3/app/test/integration_test.go similarity index 100% rename from app/test/integration_test.go rename to v3/app/test/integration_test.go diff --git a/app/test/prepare_proposal_context_test.go b/v3/app/test/prepare_proposal_context_test.go similarity index 100% rename from app/test/prepare_proposal_context_test.go rename to v3/app/test/prepare_proposal_context_test.go diff --git a/app/test/prepare_proposal_test.go b/v3/app/test/prepare_proposal_test.go similarity index 100% rename from app/test/prepare_proposal_test.go rename to v3/app/test/prepare_proposal_test.go diff --git a/app/test/priority_test.go b/v3/app/test/priority_test.go similarity index 100% rename from app/test/priority_test.go rename to v3/app/test/priority_test.go diff --git a/app/test/process_proposal_test.go b/v3/app/test/process_proposal_test.go similarity index 100% rename from app/test/process_proposal_test.go rename to v3/app/test/process_proposal_test.go diff --git a/app/test/qgb_rpc_test.go b/v3/app/test/qgb_rpc_test.go similarity index 100% rename from app/test/qgb_rpc_test.go rename to v3/app/test/qgb_rpc_test.go diff --git a/app/test/square_size_test.go b/v3/app/test/square_size_test.go similarity index 100% rename from app/test/square_size_test.go rename to v3/app/test/square_size_test.go diff --git a/app/test/std_sdk_test.go b/v3/app/test/std_sdk_test.go similarity index 100% rename from app/test/std_sdk_test.go rename to v3/app/test/std_sdk_test.go diff --git a/app/test/unit_test.go b/v3/app/test/unit_test.go similarity index 100% rename from app/test/unit_test.go rename to v3/app/test/unit_test.go diff --git a/app/test/upgrade_test.go b/v3/app/test/upgrade_test.go similarity index 100% rename from app/test/upgrade_test.go rename to v3/app/test/upgrade_test.go diff --git a/app/validate_txs.go b/v3/app/validate_txs.go similarity index 100% rename from app/validate_txs.go rename to v3/app/validate_txs.go diff --git a/cmd/celestia-appd/cmd/addr_converter.go b/v3/cmd/celestia-appd/cmd/addr_converter.go similarity index 100% rename from cmd/celestia-appd/cmd/addr_converter.go rename to v3/cmd/celestia-appd/cmd/addr_converter.go diff --git a/cmd/celestia-appd/cmd/addr_converter_test.go b/v3/cmd/celestia-appd/cmd/addr_converter_test.go similarity index 100% rename from cmd/celestia-appd/cmd/addr_converter_test.go rename to v3/cmd/celestia-appd/cmd/addr_converter_test.go diff --git a/cmd/celestia-appd/cmd/addrbook.go b/v3/cmd/celestia-appd/cmd/addrbook.go similarity index 100% rename from cmd/celestia-appd/cmd/addrbook.go rename to v3/cmd/celestia-appd/cmd/addrbook.go diff --git a/cmd/celestia-appd/cmd/app_exporter.go b/v3/cmd/celestia-appd/cmd/app_exporter.go similarity index 100% rename from cmd/celestia-appd/cmd/app_exporter.go rename to v3/cmd/celestia-appd/cmd/app_exporter.go diff --git a/cmd/celestia-appd/cmd/app_server.go b/v3/cmd/celestia-appd/cmd/app_server.go similarity index 100% rename from cmd/celestia-appd/cmd/app_server.go rename to v3/cmd/celestia-appd/cmd/app_server.go diff --git a/cmd/celestia-appd/cmd/download_genesis.go b/v3/cmd/celestia-appd/cmd/download_genesis.go similarity index 100% rename from cmd/celestia-appd/cmd/download_genesis.go rename to v3/cmd/celestia-appd/cmd/download_genesis.go diff --git a/cmd/celestia-appd/cmd/download_genesis_test.go b/v3/cmd/celestia-appd/cmd/download_genesis_test.go similarity index 100% rename from cmd/celestia-appd/cmd/download_genesis_test.go rename to v3/cmd/celestia-appd/cmd/download_genesis_test.go diff --git a/cmd/celestia-appd/cmd/query.go b/v3/cmd/celestia-appd/cmd/query.go similarity index 100% rename from cmd/celestia-appd/cmd/query.go rename to v3/cmd/celestia-appd/cmd/query.go diff --git a/cmd/celestia-appd/cmd/root.go b/v3/cmd/celestia-appd/cmd/root.go similarity index 100% rename from cmd/celestia-appd/cmd/root.go rename to v3/cmd/celestia-appd/cmd/root.go diff --git a/cmd/celestia-appd/cmd/tx.go b/v3/cmd/celestia-appd/cmd/tx.go similarity index 100% rename from cmd/celestia-appd/cmd/tx.go rename to v3/cmd/celestia-appd/cmd/tx.go diff --git a/cmd/celestia-appd/main.go b/v3/cmd/celestia-appd/main.go similarity index 100% rename from cmd/celestia-appd/main.go rename to v3/cmd/celestia-appd/main.go diff --git a/go.mod b/v3/go.mod similarity index 94% rename from go.mod rename to v3/go.mod index f41eaa432d..6161e85e38 100644 --- a/go.mod +++ b/v3/go.mod @@ -252,13 +252,13 @@ require ( ) replace ( - github.com/celestiaorg/celestia-app/x/blob => ./x/blob // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/blobstream => ./x/blobstream // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/minfee => ./x/minfee // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/mint => ./x/mint // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/paramfilter => ./x/paramfilter // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/signal => ./x/signal // TODO: remove this after we create a release. - github.com/celestiaorg/celestia-app/x/tokenfilter => ./x/tokenfilter // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/blob => ../x/blob // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/blobstream => ../x/blobstream // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/minfee => ../x/minfee // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/mint => ../x/mint // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/paramfilter => ../x/paramfilter // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/signal => ../x/signal // TODO: remove this after we create a release. + github.com/celestiaorg/celestia-app/x/tokenfilter => ../x/tokenfilter // TODO: remove this after we create a release. github.com/cosmos/cosmos-sdk => github.com/celestiaorg/cosmos-sdk v1.24.1-sdk-v0.46.16 // Pin to ledger-cosmos-go v0.12.4 to avoid a breaking change introduced in v0.13.0 // The following replace statement can be removed when we upgrade to cosmos-sdk >= v0.50.0 diff --git a/go.sum b/v3/go.sum similarity index 100% rename from go.sum rename to v3/go.sum diff --git a/pkg/appconsts/consensus_consts.go b/v3/pkg/appconsts/consensus_consts.go similarity index 100% rename from pkg/appconsts/consensus_consts.go rename to v3/pkg/appconsts/consensus_consts.go diff --git a/pkg/appconsts/global_consts.go b/v3/pkg/appconsts/global_consts.go similarity index 100% rename from pkg/appconsts/global_consts.go rename to v3/pkg/appconsts/global_consts.go diff --git a/pkg/appconsts/initial_consts.go b/v3/pkg/appconsts/initial_consts.go similarity index 100% rename from pkg/appconsts/initial_consts.go rename to v3/pkg/appconsts/initial_consts.go diff --git a/pkg/appconsts/v1/app_consts.go b/v3/pkg/appconsts/v1/app_consts.go similarity index 100% rename from pkg/appconsts/v1/app_consts.go rename to v3/pkg/appconsts/v1/app_consts.go diff --git a/pkg/appconsts/v2/app_consts.go b/v3/pkg/appconsts/v2/app_consts.go similarity index 100% rename from pkg/appconsts/v2/app_consts.go rename to v3/pkg/appconsts/v2/app_consts.go diff --git a/pkg/appconsts/versioned_consts.go b/v3/pkg/appconsts/versioned_consts.go similarity index 100% rename from pkg/appconsts/versioned_consts.go rename to v3/pkg/appconsts/versioned_consts.go diff --git a/pkg/appconsts/versioned_consts_test.go b/v3/pkg/appconsts/versioned_consts_test.go similarity index 100% rename from pkg/appconsts/versioned_consts_test.go rename to v3/pkg/appconsts/versioned_consts_test.go diff --git a/pkg/da/data_availability_header.go b/v3/pkg/da/data_availability_header.go similarity index 98% rename from pkg/da/data_availability_header.go rename to v3/pkg/da/data_availability_header.go index 9f32481571..244f11228c 100644 --- a/pkg/da/data_availability_header.go +++ b/v3/pkg/da/data_availability_header.go @@ -14,8 +14,8 @@ import ( "golang.org/x/exp/constraints" "github.com/celestiaorg/celestia-app/v3/pkg/appconsts" + daproto "github.com/celestiaorg/celestia-app/v3/pkg/da/proto" "github.com/celestiaorg/celestia-app/v3/pkg/wrapper" - daproto "github.com/celestiaorg/celestia-app/v3/proto/celestia/core/v1/da" ) var ( diff --git a/pkg/da/data_availability_header_test.go b/v3/pkg/da/data_availability_header_test.go similarity index 100% rename from pkg/da/data_availability_header_test.go rename to v3/pkg/da/data_availability_header_test.go diff --git a/proto/celestia/core/v1/da/data_availability_header.pb.go b/v3/pkg/da/proto/data_availability_header.pb.go similarity index 96% rename from proto/celestia/core/v1/da/data_availability_header.pb.go rename to v3/pkg/da/proto/data_availability_header.pb.go index 5ab044f3a9..c47759bb95 100644 --- a/proto/celestia/core/v1/da/data_availability_header.pb.go +++ b/v3/pkg/da/proto/data_availability_header.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: celestia/core/v1/da/data_availability_header.proto -package da +package proto import ( fmt "fmt" @@ -95,7 +95,7 @@ func init() { } var fileDescriptor_e4c1f9dadbff5429 = []byte{ - // 213 bytes of a gzipped FileDescriptorProto + // 217 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0x4e, 0xcd, 0x49, 0x2d, 0x2e, 0xc9, 0x4c, 0xd4, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x33, 0xd4, 0x4f, 0x49, 0xd4, 0x4f, 0x49, 0x2c, 0x49, 0x8c, 0x4f, 0x2c, 0x4b, 0xcc, 0xcc, 0x49, 0x4c, 0xca, 0xcc, 0xc9, 0x2c, @@ -104,12 +104,12 @@ var fileDescriptor_e4c1f9dadbff5429 = []byte{ 0x49, 0x2c, 0x49, 0x74, 0x44, 0xd2, 0xe5, 0x01, 0xd6, 0x24, 0x24, 0xcd, 0xc5, 0x59, 0x94, 0x5f, 0x1e, 0x5f, 0x94, 0x9f, 0x5f, 0x52, 0x2c, 0xc1, 0xa8, 0xc0, 0xac, 0xc1, 0x13, 0xc4, 0x51, 0x94, 0x5f, 0x1e, 0x04, 0xe2, 0x0b, 0x29, 0x72, 0xf1, 0x24, 0xe7, 0xe7, 0x94, 0xe6, 0xe6, 0x41, 0xe5, - 0x99, 0xc0, 0xf2, 0xdc, 0x10, 0x31, 0xb0, 0x12, 0xa7, 0xf0, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, + 0x99, 0xc0, 0xf2, 0xdc, 0x10, 0x31, 0xb0, 0x12, 0x27, 0xdf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, - 0x3c, 0x96, 0x63, 0x88, 0xb2, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, - 0x87, 0xb9, 0x29, 0xbf, 0x28, 0x1d, 0xce, 0xd6, 0x4d, 0x2c, 0x28, 0xd0, 0x07, 0xbb, 0x59, 0x1f, - 0x8b, 0x37, 0x93, 0xd8, 0xc0, 0x52, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0x22, 0xee, - 0xe2, 0x04, 0x01, 0x00, 0x00, + 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4e, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, + 0x87, 0xb9, 0x29, 0xbf, 0x28, 0x1d, 0xce, 0xd6, 0x4d, 0x2c, 0x28, 0xd0, 0x2f, 0x33, 0xd6, 0x2f, + 0xc8, 0x4e, 0x07, 0x79, 0x0b, 0xec, 0xfa, 0x24, 0x36, 0x30, 0x65, 0x0c, 0x08, 0x00, 0x00, 0xff, + 0xff, 0x10, 0x26, 0x53, 0x18, 0xfa, 0x00, 0x00, 0x00, } func (m *DataAvailabilityHeader) Marshal() (dAtA []byte, err error) { diff --git a/pkg/inclusion/get_commit.go b/v3/pkg/inclusion/get_commit.go similarity index 100% rename from pkg/inclusion/get_commit.go rename to v3/pkg/inclusion/get_commit.go diff --git a/pkg/inclusion/nmt_caching.go b/v3/pkg/inclusion/nmt_caching.go similarity index 100% rename from pkg/inclusion/nmt_caching.go rename to v3/pkg/inclusion/nmt_caching.go diff --git a/pkg/inclusion/nmt_caching_test.go b/v3/pkg/inclusion/nmt_caching_test.go similarity index 100% rename from pkg/inclusion/nmt_caching_test.go rename to v3/pkg/inclusion/nmt_caching_test.go diff --git a/pkg/inclusion/paths.go b/v3/pkg/inclusion/paths.go similarity index 100% rename from pkg/inclusion/paths.go rename to v3/pkg/inclusion/paths.go diff --git a/pkg/inclusion/paths_test.go b/v3/pkg/inclusion/paths_test.go similarity index 100% rename from pkg/inclusion/paths_test.go rename to v3/pkg/inclusion/paths_test.go diff --git a/pkg/proof/README.md b/v3/pkg/proof/README.md similarity index 100% rename from pkg/proof/README.md rename to v3/pkg/proof/README.md diff --git a/pkg/proof/img/col_root_1.png b/v3/pkg/proof/img/col_root_1.png similarity index 100% rename from pkg/proof/img/col_root_1.png rename to v3/pkg/proof/img/col_root_1.png diff --git a/pkg/proof/img/data_root.png b/v3/pkg/proof/img/data_root.png similarity index 100% rename from pkg/proof/img/data_root.png rename to v3/pkg/proof/img/data_root.png diff --git a/pkg/proof/img/extended_square.png b/v3/pkg/proof/img/extended_square.png similarity index 100% rename from pkg/proof/img/extended_square.png rename to v3/pkg/proof/img/extended_square.png diff --git a/pkg/proof/img/row_root_1.png b/v3/pkg/proof/img/row_root_1.png similarity index 100% rename from pkg/proof/img/row_root_1.png rename to v3/pkg/proof/img/row_root_1.png diff --git a/pkg/proof/img/row_root_2.png b/v3/pkg/proof/img/row_root_2.png similarity index 100% rename from pkg/proof/img/row_root_2.png rename to v3/pkg/proof/img/row_root_2.png diff --git a/pkg/proof/img/row_root_3.png b/v3/pkg/proof/img/row_root_3.png similarity index 100% rename from pkg/proof/img/row_root_3.png rename to v3/pkg/proof/img/row_root_3.png diff --git a/pkg/proof/img/row_root_to_data_root_proof.png b/v3/pkg/proof/img/row_root_to_data_root_proof.png similarity index 100% rename from pkg/proof/img/row_root_to_data_root_proof.png rename to v3/pkg/proof/img/row_root_to_data_root_proof.png diff --git a/pkg/proof/img/share_commitment.png b/v3/pkg/proof/img/share_commitment.png similarity index 100% rename from pkg/proof/img/share_commitment.png rename to v3/pkg/proof/img/share_commitment.png diff --git a/pkg/proof/img/share_to_row_root_proof.png b/v3/pkg/proof/img/share_to_row_root_proof.png similarity index 100% rename from pkg/proof/img/share_to_row_root_proof.png rename to v3/pkg/proof/img/share_to_row_root_proof.png diff --git a/pkg/proof/img/share_to_share_commitment_inclusion.png b/v3/pkg/proof/img/share_to_share_commitment_inclusion.png similarity index 100% rename from pkg/proof/img/share_to_share_commitment_inclusion.png rename to v3/pkg/proof/img/share_to_share_commitment_inclusion.png diff --git a/pkg/proof/img/subtree_root_to_row_root.png b/v3/pkg/proof/img/subtree_root_to_row_root.png similarity index 100% rename from pkg/proof/img/subtree_root_to_row_root.png rename to v3/pkg/proof/img/subtree_root_to_row_root.png diff --git a/pkg/proof/img/subtree_roots.png b/v3/pkg/proof/img/subtree_roots.png similarity index 100% rename from pkg/proof/img/subtree_roots.png rename to v3/pkg/proof/img/subtree_roots.png diff --git a/pkg/proof/proof.go b/v3/pkg/proof/proof.go similarity index 100% rename from pkg/proof/proof.go rename to v3/pkg/proof/proof.go diff --git a/pkg/proof/proof.pb.go b/v3/pkg/proof/proof.pb.go similarity index 92% rename from pkg/proof/proof.pb.go rename to v3/pkg/proof/proof.pb.go index 5bf125e02e..24960b7baa 100644 --- a/pkg/proof/proof.pb.go +++ b/v3/pkg/proof/proof.pb.go @@ -342,35 +342,35 @@ func init() { } var fileDescriptor_e53d87d8fb5ec353 = []byte{ - // 446 bytes of a gzipped FileDescriptorProto + // 448 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xc1, 0x8e, 0xd3, 0x30, 0x10, 0xad, 0x37, 0x6d, 0x09, 0x6e, 0x56, 0x5a, 0x2c, 0x04, 0x96, 0x10, 0x51, 0xc8, 0x29, 0x12, - 0xda, 0x44, 0x0b, 0xe2, 0xc8, 0x05, 0x0e, 0xc0, 0x01, 0x84, 0x0c, 0xe2, 0xc0, 0xa5, 0xf2, 0x36, - 0x6e, 0x13, 0xd1, 0xcd, 0x44, 0x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- 0x6a, 0x88, 0xcf, 0x65, 0xdb, 0x16, 0xed, 0x97, 0x95, 0xff, 0xd7, 0x97, 0x53, 0xfc, 0xd8, 0x4f, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x27, 0x8a, 0x77, 0xfe, 0x02, 0x00, 0x00, + 0x22, 0x61, 0x59, 0x71, 0xe4, 0x02, 0x17, 0x40, 0x02, 0x21, 0x83, 0x38, 0x70, 0xa9, 0xbc, 0x8d, + 0xdb, 0x44, 0x74, 0x33, 0x91, 0xed, 0x6d, 0xf8, 0x0c, 0x3e, 0x83, 0x4f, 0xe1, 0xd8, 0x23, 0x47, + 0xd4, 0xfe, 0x02, 0x1f, 0x80, 0x3c, 0x6e, 0x82, 0x2a, 0x01, 0x17, 0x6b, 0xde, 0x9b, 0x99, 0xf7, + 0x66, 0x46, 0xa6, 0xe9, 0x42, 0xad, 0x95, 0xb1, 0xb5, 0x2c, 0x16, 0xa0, 0x55, 0xb1, 0x39, 0x2f, + 0x5a, 0x0d, 0xb0, 0xf4, 0x6f, 0xde, 0x6a, 0xb0, 0xc0, 0xee, 0xf4, 0x35, 0xb9, 0xab, 0xc9, 0x37, + 0xe7, 0x39, 0x66, 0xd3, 0x5f, 0x84, 0xd2, 0xf7, 0x95, 0xd4, 0xea, 0x9d, 0x83, 0x8c, 0xd1, 0x71, + 0x29, 0xad, 0xe4, 0x24, 0x09, 0xb2, 0x48, 0x60, 0xcc, 0x5e, 0xd0, 0xc8, 0xb8, 0x8a, 0x39, 0x76, + 0x18, 0x7e, 0x92, 0x04, 0xd9, 0xec, 0x49, 0x92, 0xff, 0x5d, 0x31, 0x7f, 0xfb, 0xe6, 0x03, 0x6a, + 0x89, 0x99, 0x19, 0x74, 0x0d, 0x7b, 0x40, 0xa3, 0x46, 0x5e, 0x29, 0xd3, 0xca, 0x85, 0x9a, 0xd7, + 0x25, 0x0f, 0x12, 0x92, 0x45, 0x62, 0x36, 0x70, 0xaf, 0x4a, 0xf6, 0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xc8, 0xeb, 0xc6, 0x1a, 0x3e, 0xf6, 0x43, 0x20, 0x78, 0xfe, 0xfa, 0xfb, 0x2e, 0x26, + 0xdb, 0x5d, 0x4c, 0x7e, 0xee, 0x62, 0xf2, 0x75, 0x1f, 0x8f, 0xb6, 0xfb, 0x78, 0xf4, 0x63, 0x1f, + 0x8f, 0x3e, 0x3d, 0x5e, 0xd5, 0xb6, 0xba, 0xbe, 0xcc, 0x17, 0x70, 0x55, 0xf4, 0x37, 0x06, 0xbd, + 0x1a, 0xe2, 0x47, 0xb2, 0x6d, 0x8b, 0xcd, 0x45, 0xd1, 0x7e, 0x5e, 0xf9, 0xaf, 0x7d, 0x39, 0xc5, + 0xbf, 0x7d, 0xf1, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xdb, 0x70, 0xce, 0x01, 0x03, 0x00, 0x00, } func (m *ShareProof) Marshal() (dAtA []byte, err error) { diff --git a/pkg/proof/proof_test.go b/v3/pkg/proof/proof_test.go similarity index 100% rename from pkg/proof/proof_test.go rename to v3/pkg/proof/proof_test.go diff --git a/pkg/proof/querier.go b/v3/pkg/proof/querier.go similarity index 100% rename from pkg/proof/querier.go rename to v3/pkg/proof/querier.go diff --git a/pkg/proof/row_proof.go b/v3/pkg/proof/row_proof.go similarity index 100% rename from pkg/proof/row_proof.go rename to v3/pkg/proof/row_proof.go diff --git a/pkg/proof/row_proof_test.go b/v3/pkg/proof/row_proof_test.go similarity index 100% rename from pkg/proof/row_proof_test.go rename to v3/pkg/proof/row_proof_test.go diff --git a/pkg/proof/share_proof.go b/v3/pkg/proof/share_proof.go similarity index 100% rename from pkg/proof/share_proof.go rename to v3/pkg/proof/share_proof.go diff --git a/pkg/proof/share_proof_test.go b/v3/pkg/proof/share_proof_test.go similarity index 100% rename from pkg/proof/share_proof_test.go rename to v3/pkg/proof/share_proof_test.go diff --git a/pkg/user/account.go b/v3/pkg/user/account.go similarity index 100% rename from pkg/user/account.go rename to v3/pkg/user/account.go diff --git a/pkg/user/e2e_test.go b/v3/pkg/user/e2e_test.go similarity index 100% rename from pkg/user/e2e_test.go rename to v3/pkg/user/e2e_test.go diff --git a/pkg/user/signer.go b/v3/pkg/user/signer.go similarity index 100% rename from pkg/user/signer.go rename to v3/pkg/user/signer.go diff --git a/pkg/user/tx_client.go b/v3/pkg/user/tx_client.go similarity index 100% rename from pkg/user/tx_client.go rename to v3/pkg/user/tx_client.go diff --git a/pkg/user/tx_client_test.go b/v3/pkg/user/tx_client_test.go similarity index 100% rename from pkg/user/tx_client_test.go rename to v3/pkg/user/tx_client_test.go diff --git a/pkg/user/tx_options.go b/v3/pkg/user/tx_options.go similarity index 100% rename from pkg/user/tx_options.go rename to v3/pkg/user/tx_options.go diff --git a/pkg/wrapper/README.md b/v3/pkg/wrapper/README.md similarity index 100% rename from pkg/wrapper/README.md rename to v3/pkg/wrapper/README.md diff --git a/pkg/wrapper/nmt_wrapper.go b/v3/pkg/wrapper/nmt_wrapper.go similarity index 100% rename from pkg/wrapper/nmt_wrapper.go rename to v3/pkg/wrapper/nmt_wrapper.go diff --git a/pkg/wrapper/nmt_wrapper_test.go b/v3/pkg/wrapper/nmt_wrapper_test.go similarity index 100% rename from pkg/wrapper/nmt_wrapper_test.go rename to v3/pkg/wrapper/nmt_wrapper_test.go diff --git a/test/cmd/txsim/cli.go b/v3/test/cmd/txsim/cli.go similarity index 100% rename from test/cmd/txsim/cli.go rename to v3/test/cmd/txsim/cli.go diff --git a/test/cmd/txsim/cli_test.go b/v3/test/cmd/txsim/cli_test.go similarity index 100% rename from test/cmd/txsim/cli_test.go rename to v3/test/cmd/txsim/cli_test.go diff --git a/test/e2e/benchmark/benchmark.go b/v3/test/e2e/benchmark/benchmark.go similarity index 100% rename from test/e2e/benchmark/benchmark.go rename to v3/test/e2e/benchmark/benchmark.go diff --git a/test/e2e/benchmark/main.go b/v3/test/e2e/benchmark/main.go similarity index 100% rename from test/e2e/benchmark/main.go rename to v3/test/e2e/benchmark/main.go diff --git a/test/e2e/benchmark/manifest.go b/v3/test/e2e/benchmark/manifest.go similarity index 100% rename from test/e2e/benchmark/manifest.go rename to v3/test/e2e/benchmark/manifest.go diff --git a/test/e2e/benchmark/throughput.go b/v3/test/e2e/benchmark/throughput.go similarity index 100% rename from test/e2e/benchmark/throughput.go rename to v3/test/e2e/benchmark/throughput.go diff --git a/test/e2e/main.go b/v3/test/e2e/main.go similarity index 100% rename from test/e2e/main.go rename to v3/test/e2e/main.go diff --git a/test/e2e/major_upgrade_v2.go b/v3/test/e2e/major_upgrade_v2.go similarity index 100% rename from test/e2e/major_upgrade_v2.go rename to v3/test/e2e/major_upgrade_v2.go diff --git a/test/e2e/minor_version_compatibility.go b/v3/test/e2e/minor_version_compatibility.go similarity index 100% rename from test/e2e/minor_version_compatibility.go rename to v3/test/e2e/minor_version_compatibility.go diff --git a/test/e2e/readme.md b/v3/test/e2e/readme.md similarity index 100% rename from test/e2e/readme.md rename to v3/test/e2e/readme.md diff --git a/test/e2e/simple.go b/v3/test/e2e/simple.go similarity index 100% rename from test/e2e/simple.go rename to v3/test/e2e/simple.go diff --git a/test/e2e/testnet/defaults.go b/v3/test/e2e/testnet/defaults.go similarity index 100% rename from test/e2e/testnet/defaults.go rename to v3/test/e2e/testnet/defaults.go diff --git a/test/e2e/testnet/node.go b/v3/test/e2e/testnet/node.go similarity index 100% rename from test/e2e/testnet/node.go rename to v3/test/e2e/testnet/node.go diff --git a/test/e2e/testnet/setup.go b/v3/test/e2e/testnet/setup.go similarity index 100% rename from test/e2e/testnet/setup.go rename to v3/test/e2e/testnet/setup.go diff --git a/test/e2e/testnet/test_helpers.go b/v3/test/e2e/testnet/test_helpers.go similarity index 100% rename from test/e2e/testnet/test_helpers.go rename to v3/test/e2e/testnet/test_helpers.go diff --git a/test/e2e/testnet/testnet.go b/v3/test/e2e/testnet/testnet.go similarity index 100% rename from test/e2e/testnet/testnet.go rename to v3/test/e2e/testnet/testnet.go diff --git a/test/e2e/testnet/txsimNode.go b/v3/test/e2e/testnet/txsimNode.go similarity index 100% rename from test/e2e/testnet/txsimNode.go rename to v3/test/e2e/testnet/txsimNode.go diff --git a/test/e2e/testnet/util.go b/v3/test/e2e/testnet/util.go similarity index 100% rename from test/e2e/testnet/util.go rename to v3/test/e2e/testnet/util.go diff --git a/test/e2e/testnet/versions.go b/v3/test/e2e/testnet/versions.go similarity index 100% rename from test/e2e/testnet/versions.go rename to v3/test/e2e/testnet/versions.go diff --git a/test/e2e/testnet/versions_test.go b/v3/test/e2e/testnet/versions_test.go similarity index 100% rename from test/e2e/testnet/versions_test.go rename to v3/test/e2e/testnet/versions_test.go diff --git a/test/ledger/ledger_test.go b/v3/test/ledger/ledger_test.go similarity index 100% rename from test/ledger/ledger_test.go rename to v3/test/ledger/ledger_test.go diff --git a/test/pfm/pfm_test.go b/v3/test/pfm/pfm_test.go similarity index 100% rename from test/pfm/pfm_test.go rename to v3/test/pfm/pfm_test.go diff --git a/test/pfm/setup.go b/v3/test/pfm/setup.go similarity index 100% rename from test/pfm/setup.go rename to v3/test/pfm/setup.go diff --git a/test/pfm/simapp.go b/v3/test/pfm/simapp.go similarity index 100% rename from test/pfm/simapp.go rename to v3/test/pfm/simapp.go diff --git a/test/tokenfilter/setup.go b/v3/test/tokenfilter/setup.go similarity index 100% rename from test/tokenfilter/setup.go rename to v3/test/tokenfilter/setup.go diff --git a/test/tokenfilter/tokenfilter_test.go b/v3/test/tokenfilter/tokenfilter_test.go similarity index 100% rename from test/tokenfilter/tokenfilter_test.go rename to v3/test/tokenfilter/tokenfilter_test.go diff --git a/test/txsim/account.go b/v3/test/txsim/account.go similarity index 100% rename from test/txsim/account.go rename to v3/test/txsim/account.go diff --git a/test/txsim/blob.go b/v3/test/txsim/blob.go similarity index 100% rename from test/txsim/blob.go rename to v3/test/txsim/blob.go diff --git a/test/txsim/run.go b/v3/test/txsim/run.go similarity index 100% rename from test/txsim/run.go rename to v3/test/txsim/run.go diff --git a/test/txsim/run_test.go b/v3/test/txsim/run_test.go similarity index 100% rename from test/txsim/run_test.go rename to v3/test/txsim/run_test.go diff --git a/test/txsim/send.go b/v3/test/txsim/send.go similarity index 100% rename from test/txsim/send.go rename to v3/test/txsim/send.go diff --git a/test/txsim/sequence.go b/v3/test/txsim/sequence.go similarity index 100% rename from test/txsim/sequence.go rename to v3/test/txsim/sequence.go diff --git a/test/txsim/stake.go b/v3/test/txsim/stake.go similarity index 100% rename from test/txsim/stake.go rename to v3/test/txsim/stake.go diff --git a/test/util/blobfactory/account_info.go b/v3/test/util/blobfactory/account_info.go similarity index 100% rename from test/util/blobfactory/account_info.go rename to v3/test/util/blobfactory/account_info.go diff --git a/test/util/blobfactory/payforblob_factory.go b/v3/test/util/blobfactory/payforblob_factory.go similarity index 100% rename from test/util/blobfactory/payforblob_factory.go rename to v3/test/util/blobfactory/payforblob_factory.go diff --git a/test/util/blobfactory/payforblob_factory_test.go b/v3/test/util/blobfactory/payforblob_factory_test.go similarity index 100% rename from test/util/blobfactory/payforblob_factory_test.go rename to v3/test/util/blobfactory/payforblob_factory_test.go diff --git a/test/util/blobfactory/test_util.go b/v3/test/util/blobfactory/test_util.go similarity index 100% rename from test/util/blobfactory/test_util.go rename to v3/test/util/blobfactory/test_util.go diff --git a/test/util/blobfactory/test_util_test.go b/v3/test/util/blobfactory/test_util_test.go similarity index 100% rename from test/util/blobfactory/test_util_test.go rename to v3/test/util/blobfactory/test_util_test.go diff --git a/test/util/common.go b/v3/test/util/common.go similarity index 100% rename from test/util/common.go rename to v3/test/util/common.go diff --git a/test/util/direct_tx_gen.go b/v3/test/util/direct_tx_gen.go similarity index 100% rename from test/util/direct_tx_gen.go rename to v3/test/util/direct_tx_gen.go diff --git a/test/util/genesis/accounts.go b/v3/test/util/genesis/accounts.go similarity index 100% rename from test/util/genesis/accounts.go rename to v3/test/util/genesis/accounts.go diff --git a/test/util/genesis/document.go b/v3/test/util/genesis/document.go similarity index 100% rename from test/util/genesis/document.go rename to v3/test/util/genesis/document.go diff --git a/test/util/genesis/files.go b/v3/test/util/genesis/files.go similarity index 100% rename from test/util/genesis/files.go rename to v3/test/util/genesis/files.go diff --git a/test/util/genesis/genesis.go b/v3/test/util/genesis/genesis.go similarity index 100% rename from test/util/genesis/genesis.go rename to v3/test/util/genesis/genesis.go diff --git a/test/util/genesis/modifier.go b/v3/test/util/genesis/modifier.go similarity index 100% rename from test/util/genesis/modifier.go rename to v3/test/util/genesis/modifier.go diff --git a/test/util/genesis/util.go b/v3/test/util/genesis/util.go similarity index 100% rename from test/util/genesis/util.go rename to v3/test/util/genesis/util.go diff --git a/test/util/malicious/app.go b/v3/test/util/malicious/app.go similarity index 100% rename from test/util/malicious/app.go rename to v3/test/util/malicious/app.go diff --git a/test/util/malicious/app_test.go b/v3/test/util/malicious/app_test.go similarity index 100% rename from test/util/malicious/app_test.go rename to v3/test/util/malicious/app_test.go diff --git a/test/util/malicious/hasher.go b/v3/test/util/malicious/hasher.go similarity index 100% rename from test/util/malicious/hasher.go rename to v3/test/util/malicious/hasher.go diff --git a/test/util/malicious/out_of_order_builder.go b/v3/test/util/malicious/out_of_order_builder.go similarity index 100% rename from test/util/malicious/out_of_order_builder.go rename to v3/test/util/malicious/out_of_order_builder.go diff --git a/test/util/malicious/out_of_order_prepare.go b/v3/test/util/malicious/out_of_order_prepare.go similarity index 100% rename from test/util/malicious/out_of_order_prepare.go rename to v3/test/util/malicious/out_of_order_prepare.go diff --git a/test/util/malicious/test_app.go b/v3/test/util/malicious/test_app.go similarity index 100% rename from test/util/malicious/test_app.go rename to v3/test/util/malicious/test_app.go diff --git a/test/util/malicious/tree.go b/v3/test/util/malicious/tree.go similarity index 100% rename from test/util/malicious/tree.go rename to v3/test/util/malicious/tree.go diff --git a/test/util/sdkutil/proposals.go b/v3/test/util/sdkutil/proposals.go similarity index 100% rename from test/util/sdkutil/proposals.go rename to v3/test/util/sdkutil/proposals.go diff --git a/test/util/test_app.go b/v3/test/util/test_app.go similarity index 100% rename from test/util/test_app.go rename to v3/test/util/test_app.go diff --git a/test/util/testfactory/blob.go b/v3/test/util/testfactory/blob.go similarity index 100% rename from test/util/testfactory/blob.go rename to v3/test/util/testfactory/blob.go diff --git a/test/util/testfactory/common.go b/v3/test/util/testfactory/common.go similarity index 100% rename from test/util/testfactory/common.go rename to v3/test/util/testfactory/common.go diff --git a/test/util/testfactory/common_test.go b/v3/test/util/testfactory/common_test.go similarity index 100% rename from test/util/testfactory/common_test.go rename to v3/test/util/testfactory/common_test.go diff --git a/test/util/testfactory/namespace.go b/v3/test/util/testfactory/namespace.go similarity index 100% rename from test/util/testfactory/namespace.go rename to v3/test/util/testfactory/namespace.go diff --git a/test/util/testfactory/txs.go b/v3/test/util/testfactory/txs.go similarity index 100% rename from test/util/testfactory/txs.go rename to v3/test/util/testfactory/txs.go diff --git a/test/util/testnode/accounts.go b/v3/test/util/testnode/accounts.go similarity index 100% rename from test/util/testnode/accounts.go rename to v3/test/util/testnode/accounts.go diff --git a/test/util/testnode/accounts_test.go b/v3/test/util/testnode/accounts_test.go similarity index 100% rename from test/util/testnode/accounts_test.go rename to v3/test/util/testnode/accounts_test.go diff --git a/test/util/testnode/app_options.go b/v3/test/util/testnode/app_options.go similarity index 100% rename from test/util/testnode/app_options.go rename to v3/test/util/testnode/app_options.go diff --git a/test/util/testnode/config.go b/v3/test/util/testnode/config.go similarity index 100% rename from test/util/testnode/config.go rename to v3/test/util/testnode/config.go diff --git a/test/util/testnode/full_node.go b/v3/test/util/testnode/full_node.go similarity index 100% rename from test/util/testnode/full_node.go rename to v3/test/util/testnode/full_node.go diff --git a/test/util/testnode/full_node_test.go b/v3/test/util/testnode/full_node_test.go similarity index 100% rename from test/util/testnode/full_node_test.go rename to v3/test/util/testnode/full_node_test.go diff --git a/test/util/testnode/network.go b/v3/test/util/testnode/network.go similarity index 100% rename from test/util/testnode/network.go rename to v3/test/util/testnode/network.go diff --git a/test/util/testnode/node_interaction_api.go b/v3/test/util/testnode/node_interaction_api.go similarity index 100% rename from test/util/testnode/node_interaction_api.go rename to v3/test/util/testnode/node_interaction_api.go diff --git a/test/util/testnode/query.go b/v3/test/util/testnode/query.go similarity index 100% rename from test/util/testnode/query.go rename to v3/test/util/testnode/query.go diff --git a/test/util/testnode/read.go b/v3/test/util/testnode/read.go similarity index 100% rename from test/util/testnode/read.go rename to v3/test/util/testnode/read.go diff --git a/test/util/testnode/read_test.go b/v3/test/util/testnode/read_test.go similarity index 100% rename from test/util/testnode/read_test.go rename to v3/test/util/testnode/read_test.go diff --git a/test/util/testnode/rpc_client.go b/v3/test/util/testnode/rpc_client.go similarity index 100% rename from test/util/testnode/rpc_client.go rename to v3/test/util/testnode/rpc_client.go diff --git a/test/util/testnode/signer.go b/v3/test/util/testnode/signer.go similarity index 100% rename from test/util/testnode/signer.go rename to v3/test/util/testnode/signer.go diff --git a/test/util/testnode/testnode_test.go b/v3/test/util/testnode/testnode_test.go similarity index 100% rename from test/util/testnode/testnode_test.go rename to v3/test/util/testnode/testnode_test.go diff --git a/test/util/testnode/utils.go b/v3/test/util/testnode/utils.go similarity index 100% rename from test/util/testnode/utils.go rename to v3/test/util/testnode/utils.go