Skip to content

blockchain_block_v1 is not defined #155

@VetchM

Description

@VetchM

I'm tring to generate the pb file for my golang project, but every time i execute the protoc command i got some error.
the protoc command:

protoc -I=/c/User/Desktop/test/src/ --go_out=/c/User/Desktop/Helium/hnt/ /c/User/Desktop/test/src/blockchain_block.proto

output i got:

blockchain_block_v1.proto:21:12: "blockchain_txn" is not defined.
blockchain_block.proto:4:1: Import "blockchain_block_v1.proto" was not found or had errors.
blockchain_block.proto:7:17: "blockchain_block_v1" is not defined.

Can someone tell me how to fix this?

By the way i added option go_package = "./proto"; for every porot file, so it's probably not a go-generate problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions