You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.7.0 CHANGELOG lists spliceIn()/spliceOut() but methods are missing from generated Dart API #59
The [0.7.0] CHANGELOG entry advertises channel splicing support via spliceIn() and spliceOut() methods, but these methods do not exist
in the generated Dart API. Only the splice-related events are present.
Environment
Package: ldk-node-flutter
Ref / commit: 7aa619809c300656098bb79d4819ebaff9bbbf8a (pinned via git: ref: v0.7.0 in pubspec)
Platform: Flutter / Android
What the CHANGELOG says
The [0.7.0] section states:
Channel Splicing: Experimental support for channel splicing via spliceIn() and spliceOut() methods
What is actually in the package
Searching the entire package for splice returns only:
Event.splicePending / Event.spliceFailed (in types.dart)
their freezed boilerplate (types.freezed.dart)
FFI serialization for those events (frb_generated.dart, frb_generated.io.dart)
ChannelException with code ChannelSplicingFailed (exceptions.dart)
There is no callable spliceIn / spliceOut method on the Node
class (or anywhere else) in any .dart file.
Reproduction
Search the resolved package cache for the advertised methods:
grep -rn "spliceIn|spliceOut" /git/ldk-node-flutter-7aa6198.../lib/
Result: no matches for the method definitions. Only the events above appear
when searching for splice.
Expected
Node.spliceIn(...) and Node.spliceOut(...) should be present and callable
in the generated Dart API, as described in the CHANGELOG.
Actual
The initiating methods are absent; only splice events are exposed, so a
splice cannot be initiated or actively completed from Dart. The splice
events without corresponding methods are not enough to use splicing.
Question
Is this a generation/bindgen gap where the underlying ldk-node (Rust)
methods were not exposed through flutter_rust_bridge, or is the CHANGELOG
ahead of the implementation? Any guidance on whether a newer ref exposes
these methods would be appreciated.
Activity