Pin rgb-lib contract import revision - #31
Open
Jainakin wants to merge 4 commits into
Open
Conversation
Jainakin
force-pushed
the
codex/rgb-contract-import
branch
from
August 14, 2026 11:02
fac7d5e to
b978925
Compare
Jainakin
marked this pull request as ready for review
August 14, 2026 17:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Make the contract-only RGB import API merged in UTEXO-Protocol/rgb-lib#68 available to RGB Lightning Node without introducing a second rgb-lib revision into the Lightning dependency graph.
Changes
lightningto the immutable rgb-lib merge commit79c0a97d20f9eac0b5d346f4e3c7d2715e424bc3lightning-invoiceto the same exact revisionKeeping both crates on one immutable rgb-lib revision prevents duplicate RGB types and makes the downstream build reproducible.
Why this is still needed
Current rust-lightning
devuses rgb-lib tagv0.3.0-beta.32, which predates the contract-only import API. Until a later official rgb-lib release containing #68 is adopted, this pin is the bridge required by UTEXO-Protocol/rgb-lightning-node#128.This PR is independent of the RGB funding-recovery stack in rust-lightning #32 and rgb-lightning-node #139/#140. It does not block or modify their recovery semantics.
Validation
Validated at
de7dd6625:cargo check -p lightning -p lightning-invoice79c0a97dMerge order
devcommit.