Open Olshansk opened 1 year ago
Can I take this on?
@nickatnight23 Definitely! Feel free to reach out either here or in discord if you need any help or clarifications.
The (dev guide](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) is probably the best place to start, but if something is unclear or could be made better, please don't hesitate to point it out.
Can I get some clarification on installing the dependencies? I am having trouble with this section- protoc-gen-go, protoc-go-inject-tag and mockgen by running make install_cli_deps. Not sure how to make the build first?
Can you try running this command: https://github.com/pokt-network/pocket/blob/main/Makefile#L99
If it works, feel free to update the dev guide as well!
I have a question about the code base where the protobuf enums are located. Would this be the best place to ask?
For sure. Are you just having trouble finding them? This command might be a good starting point:
find . -name "*.proto" | xargs grep -i "enum " | grep -v "vendor"
Here's the output I got:
./consensus/types/proto/hotstuff_types.proto:enum HotstuffStep {
./consensus/types/proto/hotstuff_types.proto:enum HotstuffMessageType {
./shared/indexer/proto/transaction_indexer.proto: int32 result_code = 4; // INVESTIGATE(andrew): look into having a `utility.Code` enum for this
./shared/indexer/proto/transaction_indexer.proto: string error = 5; // INVESTIGATE(andrew): look into having a `utility.Error` enum for this
./shared/indexer/proto/transaction_indexer.proto: string message_type = 8; // TODO(andrew): Add an enum for the different message types
./shared/debug/proto/events.proto:enum PocketTopic {
./shared/debug/proto/debug_message.proto:enum DebugMessageAction {
./persistence/proto/persistence_genesis.proto:enum PoolNames {
./persistence/proto/persistence_genesis.proto:enum ActorType {
./p2p/types/proto/p2p_config.proto:enum ConnectionType {
./utility/types/proto/actor.proto:enum PoolNames {
./utility/types/proto/actor.proto:enum ActorType {
./utility/types/proto/actor.proto:enum StakeStatus {
Yes, I was having trouble finding them. Thank you.
I am having trouble installing mockgen. It appears that everything else is installed.
What is the issue? Can you share some logs, a screenshot or what you've already tried / googled?
Objective
Not following best practices for protobuf enum naming.
Origin Document
In #245, the following change was made:
In order to follow best practices, we should do the following:
Goals
Deliverable
Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdCreator: @Olshansk Co-Owners: @okdas + ?