chore: bump rgb-lib to v0.3.0-beta.42-bfa (+ eth_rpc_url) - #46
Merged
gofman8 merged 1 commit intoSep 28, 2026
Merged
Conversation
rgb-lib beta.42-bfa adds the required `OnlineOptions::eth_rpc_url` field. The wallet in `rgb_utils` only accepts channel consignments and does not support the BFA schema, so it needs no Ethereum RPC and sets it to None. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Summary
Bump
rgb-libtov0.3.0-beta.42-bfainlightningandlightning-invoice, and set the new requiredOnlineOptions::eth_rpc_urlfield.lightning/Cargo.toml,lightning-invoice/Cargo.toml:v0.3.0-beta.34->v0.3.0-beta.42-bfalightning/src/rgb_utils/mod.rs:eth_rpc_url: Nonein_accept_transfer. This wallet only accepts channel consignments and its supported schemas (Nia/Cfa/Uda/Ifa) don't include BFA, so it needs no Ethereum RPC.No behavior change beyond the version bump.
Why
rgb-lightning-node needs a BFA-capable rgb-lib (BFA assets, burn + burn consignment). The node and this crate must resolve to the same rgb-lib, otherwise two copies end up in the graph (rgb-lib types are shared across the boundary, and the BFA
[patch.crates-io]of the RGB crates applies to both).Compared to the existing #44 (same tag), this also includes the
eth_rpc_urlfield, without which the crate does not compile against beta.42-bfa (missing field eth_rpc_url in initializer of OnlineOptions).Notes
[patch.crates-io]for the*-s-bfaRGB crates. Building this workspace standalone likely needs the same patch section.beta.43-bfawas intentionally not used: it removescolor_psbt_and_consume, which rgb-lightning-node's sweep path relies on.Test plan
cargo check/cargo clippy --all-targetsof rgb-lightning-node (uniffi, vss, test-utils) with this submodule commit🤖 Generated with Claude Code