mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
proto/pb: stub empty pb packages; vms/dexvm: re-export from chains/dexvm
Two compatibility seams that downstream consumers need post-Z-Wing restructure: 1. proto/pb/* stubs (build tag grpc) — every grpc-tagged file under proto/<name>/<name>_grpc.go (and the legacy proto/rpcdb/rpcdb_grpc.go) imports proto/pb/<name>. Those dirs were empty (git ignores empty dirs), so consumers' `go mod tidy` walked the imports under the grpc tag and failed to resolve the package. Default builds use ZAP and never enter these stubs; the grpc-tag path now compiles cleanly even though the protobuf types themselves still need regeneration when someone actually wants the gRPC transport. 2. vms/dexvm/dexvm.go — re-export shim for the canonical chains/dexvm package. The DEX VM moved out of node/vms/dexvm into github.com/luxfi/chains/dexvm; existing callers (the tenant repo/ node, etc.) keep building unchanged. Default build clean; grpc-tagged build also resolves. No on-the-wire behaviour change in the ZAP default path.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package aliasreader — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package aliasreader
|
||||
@@ -0,0 +1,7 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package http — protobuf wire types stub. Default builds use ZAP.
|
||||
package http
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package responsewriter — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package responsewriter
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package client — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package client
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package reader — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package reader
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package writer — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package writer
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package keystore — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package keystore
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package message — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package message
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package messenger — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package messenger
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package conn — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package conn
|
||||
@@ -0,0 +1,19 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package p2p is the protobuf-generated wire-types package referenced
|
||||
// by the grpc-tagged transport in proto/p2p/p2p_grpc.go (or its
|
||||
// legacy single-file form). Default builds use ZAP and never reach
|
||||
// this package; the build tag here matches the grpc-tagged consumers
|
||||
// so default builds skip it cleanly.
|
||||
//
|
||||
// To re-generate the actual protobuf types (when the grpc transport
|
||||
// is needed), run:
|
||||
//
|
||||
// protoc -I=proto/ --go_out=proto/pb/ proto/p2p/p2p.proto
|
||||
//
|
||||
// in the node root. Until that's done, this stub keeps "go mod tidy"
|
||||
// happy while the canonical wire format stays ZAP.
|
||||
package p2p
|
||||
@@ -0,0 +1,19 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package platformvm is the protobuf-generated wire-types package referenced
|
||||
// by the grpc-tagged transport in proto/platformvm/platformvm_grpc.go (or its
|
||||
// legacy single-file form). Default builds use ZAP and never reach
|
||||
// this package; the build tag here matches the grpc-tagged consumers
|
||||
// so default builds skip it cleanly.
|
||||
//
|
||||
// To re-generate the actual protobuf types (when the grpc transport
|
||||
// is needed), run:
|
||||
//
|
||||
// protoc -I=proto/ --go_out=proto/pb/ proto/platformvm/platformvm.proto
|
||||
//
|
||||
// in the node root. Until that's done, this stub keeps "go mod tidy"
|
||||
// happy while the canonical wire format stays ZAP.
|
||||
package platformvm
|
||||
@@ -0,0 +1,19 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package rpcdb is the protobuf-generated wire-types package referenced
|
||||
// by the grpc-tagged transport in proto/rpcdb/rpcdb_grpc.go (or its
|
||||
// legacy single-file form). Default builds use ZAP and never reach
|
||||
// this package; the build tag here matches the grpc-tagged consumers
|
||||
// so default builds skip it cleanly.
|
||||
//
|
||||
// To re-generate the actual protobuf types (when the grpc transport
|
||||
// is needed), run:
|
||||
//
|
||||
// protoc -I=proto/ --go_out=proto/pb/ proto/rpcdb/rpcdb.proto
|
||||
//
|
||||
// in the node root. Until that's done, this stub keeps "go mod tidy"
|
||||
// happy while the canonical wire format stays ZAP.
|
||||
package rpcdb
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package sdk — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package sdk
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package sender — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package sender
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package sharedmemory — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package sharedmemory
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package signer — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package signer
|
||||
@@ -0,0 +1,19 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package sync is the protobuf-generated wire-types package referenced
|
||||
// by the grpc-tagged transport in proto/sync/sync_grpc.go (or its
|
||||
// legacy single-file form). Default builds use ZAP and never reach
|
||||
// this package; the build tag here matches the grpc-tagged consumers
|
||||
// so default builds skip it cleanly.
|
||||
//
|
||||
// To re-generate the actual protobuf types (when the grpc transport
|
||||
// is needed), run:
|
||||
//
|
||||
// protoc -I=proto/ --go_out=proto/pb/ proto/sync/sync.proto
|
||||
//
|
||||
// in the node root. Until that's done, this stub keeps "go mod tidy"
|
||||
// happy while the canonical wire format stays ZAP.
|
||||
package sync
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package validatorstate — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package validatorstate
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package runtime — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package runtime
|
||||
@@ -0,0 +1,19 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package vm is the protobuf-generated wire-types package referenced
|
||||
// by the grpc-tagged transport in proto/vm/vm_grpc.go (or its
|
||||
// legacy single-file form). Default builds use ZAP and never reach
|
||||
// this package; the build tag here matches the grpc-tagged consumers
|
||||
// so default builds skip it cleanly.
|
||||
//
|
||||
// To re-generate the actual protobuf types (when the grpc transport
|
||||
// is needed), run:
|
||||
//
|
||||
// protoc -I=proto/ --go_out=proto/pb/ proto/vm/vm.proto
|
||||
//
|
||||
// in the node root. Until that's done, this stub keeps "go mod tidy"
|
||||
// happy while the canonical wire format stays ZAP.
|
||||
package vm
|
||||
@@ -0,0 +1,8 @@
|
||||
//go:build grpc
|
||||
|
||||
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
||||
// See the file LICENSE for licensing terms.
|
||||
|
||||
// Package warp — protobuf wire types stub. See proto/pb/p2p/p2p.go
|
||||
// header for context. Default builds use ZAP and skip this file.
|
||||
package warp
|
||||
Reference in New Issue
Block a user