Repository navigation
refactor(api): remove dead WalletExtension gRPC service and config #6975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release_v4.8.3
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,6 @@ public class NodeConfig { | |
|
|
||
| // ---- Flat scalar fields (auto-bound by ConfigBeanFactory) ---- | ||
| private String trustNode = ""; | ||
| private boolean walletExtensionApi = false; | ||
| private int syncFetchBatchNum = 2000; | ||
| private int maxPendingBlockSize = 500; | ||
| private int validateSignThreadNum = 0; // 0 = auto (availableProcessors) | ||
|
|
@@ -327,6 +326,12 @@ public static NodeConfig fromConfig(Config config) { | |
| nc.maxConnectionsWithSameIp = section.getInt("maxActiveNodesWithSameIp"); | ||
| } | ||
|
|
||
| // node.walletExtensionApi (removed): the WalletExtension gRPC service no longer exists | ||
| if (section.hasPath("walletExtensionApi")) { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [NIT] First node.* key removed without a deprecation period — please record the exception in release notes
Suggestion: list the removal explicitly in the release notes ("Removed: WalletExtension gRPC service (4 RPCs) + node.walletExtensionApi config key") so the skipped deprecation cycle is visible to operators and future reviewers.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the suggestion. Agreed on the release note, will add it.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [SHOULD] Please link the release-note/migration entry and the downstream follow-ups requested in #6931 before merge. The current diff contains no release note, and "Follow up" lists projects without tracking links. Cover the generated-code API break, reflection changes, the legacy-config warning, and the TronGrid alternative; link follow-ups for the affected protocol, clients, documentation, and deployment templates. Please also update #6921's principle 2 and item 4 to record the agreed direct-removal exception and target release; its body still describes a two-stage deprecation plan. |
||
| logger.warn("Configuring [node.walletExtensionApi] has been removed and is ignored. " | ||
| + "The WalletExtension gRPC service no longer exists."); | ||
| } | ||
|
|
||
| // Legacy key fallback: node.allowShieldedTransactionApi wins fullNodeAllowShieldedTransaction | ||
| if (section.hasPath("allowShieldedTransactionApi")) { | ||
| nc.allowShieldedTransactionApi = | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.