Skip to content

Fix coinshift proto include path for proto/proto submodule layout#27

Draft
ekulkisnek wants to merge 2 commits into
LayerTwo-Labs:mainfrom
ekulkisnek:chore/proto-include-readme
Draft

Fix coinshift proto include path for proto/proto submodule layout#27
ekulkisnek wants to merge 2 commits into
LayerTwo-Labs:mainfrom
ekulkisnek:chore/proto-include-readme

Conversation

@ekulkisnek

Copy link
Copy Markdown

Summary

lib/build.rs could not find cusf/common/v1/common.proto after git submodule update because the proto repo keeps files under proto/proto/, not proto/ at the submodule root.

Changes

  • lib/build.rs: try proto/proto, then proto, then ../proto/proto, then ../proto when locating the include root.
  • README.md: document that layout and short maintainer follow-ups (push access; run cargo test --workspace after bumping the proto submodule).

Related PRs

bip300301_wallet, cusf_sidechain, bip300301_enforcer (proto / Jenkins alignment).

Test plan

  • git submodule update --init --recursive
  • cargo test --workspace

@rsantacroce

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! There are a few merge conflicts to address — mostly formatting and similar minor issues. Once those are fixed, I'll go ahead and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants