Skip to content

Pin rgb-lib contract import revision - #31

Open
Jainakin wants to merge 3 commits into
devfrom
codex/rgb-contract-import
Open

Pin rgb-lib contract import revision#31
Jainakin wants to merge 3 commits into
devfrom
codex/rgb-contract-import

Conversation

@Jainakin

@Jainakin Jainakin commented Aug 4, 2026

Copy link
Copy Markdown

Purpose

Make the contract-only RGB import API from UTEXO-Protocol/rgb-lib#68 available to RGB Lightning Node without introducing a second rgb-lib revision into the Lightning dependency graph.

Changes

  • pin lightning to rgb-lib commit 95332c41fd715939ac6e078ad859d474b1f6fa9b
  • pin lightning-invoice to the same exact revision
  • no Lightning protocol or runtime behavior changes

Keeping both crates on one immutable rgb-lib revision prevents duplicate RGB types and makes the downstream build reproducible while the dependency chain is reviewed.

Validation

Validated at 7af50e9482a6f2c681fd22002403be06576b3ff9.

  • cargo check -p lightning -p lightning-invoice
  • GitHub Actions: stable/beta build matrix on Linux, macOS, and Windows is green
  • rustfmt, lint, and CodeQL are green

Merge order

  1. Merge UTEXO-Protocol/rgb-lib#68.
  2. Replace the review commit pin with the merged rgb-lib dev commit if the merge strategy rewrites the SHA.
  3. Merge this PR.
  4. Advance the rust-lightning submodule in UTEXO-Protocol/rgb-lightning-node#128 to the resulting dev commit.

@Jainakin
Jainakin force-pushed the codex/rgb-contract-import branch from fac7d5e to b978925 Compare August 14, 2026 11:02
@Jainakin
Jainakin marked this pull request as ready for review August 14, 2026 17:04
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.

1 participant