Skip to content

Conversation

@YusukeShimizu
Copy link
Contributor

@YusukeShimizu YusukeShimizu commented Dec 18, 2024

Remove the '--allow-deprecated-apis=true' flag
from the CLightningNode initialization in the test framework.

This will increase the possibility of detecting problems before they occur, as support for the deprecated cln api is no longer available.

Fixes #232

Remove the '--allow-deprecated-apis=true' flag
from the CLightningNode initialization in the test framework.

This will increase the possibility of detecting problems
before they occur, as support for the deprecated
cln api is no longer available.
@YusukeShimizu YusukeShimizu force-pushed the test-disallow-deprecated-api branch from 7b677b5 to b5fd5af Compare January 17, 2025 08:11
YusukeShimizu added a commit to YusukeShimizu/peerswap that referenced this pull request Jul 25, 2025
This PR addresses two deprecation issues:

1. Apply changes from ElementsProject#336
   - Add isDev parameter to CheckForDeprecatedApiConfig function
   - Skip deprecated API check in development mode
   - Remove --allow-deprecated-apis=true from test framework

2. Fix 'decodepay' deprecation error
   - Update glightning dependency to use PR ElementsProject/glightning#24
   - This PR adds support for the new 'decode' RPC command
   - Maintains backward compatibility with older CLN versions

The decodepay command was deprecated in CLN v24.11 in favor of the
more general decode command. This change ensures compatibility with
current and future CLN versions.

Depends on: ElementsProject/glightning#24
YusukeShimizu added a commit to YusukeShimizu/peerswap that referenced this pull request Jul 25, 2025
This PR addresses two deprecation issues:

1. Apply changes from ElementsProject#336
   - Add isDev parameter to CheckForDeprecatedApiConfig function
   - Skip deprecated API check in development mode
   - Remove --allow-deprecated-apis=true from test framework

2. Fix 'decodepay' deprecation error
   - Update glightning dependency to use PR ElementsProject/glightning#24
   - This PR adds support for the new 'decode' RPC command
   - Maintains backward compatibility with older CLN versions

The decodepay command was deprecated in CLN v24.11 in favor of the
more general decode command. This change ensures compatibility with
current and future CLN versions.

Depends on: ElementsProject/glightning#24
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.

Future CLN API deprecations can negatively affect PeerSwap

1 participant