Skip to content

chore: bump rgb-lib to v0.3.0-beta.42-bfa (+ eth_rpc_url) - #46

Merged
gofman8 merged 1 commit into
UTEXO-Protocol:devfrom
bandrivskiy:chore/rgb-lib-v0.3.0-beta.42-bfa
Sep 28, 2026
Merged

gofman8 merged 1 commit into
UTEXO-Protocol:devfrom
bandrivskiy:chore/rgb-lib-v0.3.0-beta.42-bfa

Conversation

@bandrivskiy

Copy link
Copy Markdown

Summary

Bump rgb-lib to v0.3.0-beta.42-bfa in lightning and lightning-invoice, and set the new required OnlineOptions::eth_rpc_url field.

  • lightning/Cargo.toml, lightning-invoice/Cargo.toml: v0.3.0-beta.34 -> v0.3.0-beta.42-bfa
  • lightning/src/rgb_utils/mod.rs: eth_rpc_url: None in _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_url field, without which the crate does not compile against beta.42-bfa (missing field eth_rpc_url in initializer of OnlineOptions).

Notes

  • Built as part of rgb-lightning-node, which carries the rgb-lib [patch.crates-io] for the *-s-bfa RGB crates. Building this workspace standalone likely needs the same patch section.
  • beta.43-bfa was intentionally not used: it removes color_psbt_and_consume, which rgb-lightning-node's sweep path relies on.

Test plan

  • cargo check / cargo clippy --all-targets of rgb-lightning-node (uniffi, vss, test-utils) with this submodule commit
  • rgb-lightning-node unit tests (248 passed)

🤖 Generated with Claude Code

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>
@gofman8
gofman8 merged commit 6d6d061 into UTEXO-Protocol:dev Sep 28, 2026
1 of 6 checks passed
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