Skip to content

feat(API): refactor merge rpc - #17

Open
Sunny6889 wants to merge 22 commits into
Sunny6889:developfrom
Little-Peony:refactor_merge_rpc
Open

feat(API): refactor merge rpc#17
Sunny6889 wants to merge 22 commits into
Sunny6889:developfrom
Little-Peony:refactor_merge_rpc

Conversation

@Sunny6889

Copy link
Copy Markdown
Owner

What does this PR do?

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ce2a53f0-a996-400d-9b2a-94a6480c2dfb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Sunny6889 Sunny6889 changed the title fix: refactor merge rpc feat(API): refactor merge rpc Aug 21, 2026
Delegate 17 more WalletSolidityApi read methods to the WalletApi
singleton so each handler body lives once. 41/47 methods now delegate;
the other 6 already share outer *Common helpers.

Behavior notes:
- getBlockByNum/getBlockByNum2: WalletApi adopts the guarded version,
  so the FullNode HEAD port now returns null for negative num.
- getMerkleTreeVoucherInfo, isSpend, scanNoteByIvk/ByOvk,
  scanAndMarkNoteByIvk and the 3 shielded-TRC20 methods: solidity error
  paths now match WalletApi (return after onError; the two
  scanShieldedTRC20Notes* also add error logging). Client-observable
  behavior unchanged.
- getAssetIssueByName: solidity debug log label Solidity -> FullNode.

Still TODO: build verification and tests for the HEAD getBlockByNum
guard change.
@Sunny6889
Sunny6889 changed the base branch from feat/refactor_merge_http_servlets to develop August 24, 2026 06:02
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