Fix contract detail balance display#50
Merged
Merged
Conversation
b5390ca to
c1c0101
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
Do not include getDeposit() in the Contract Balance value. Contract detail Balance should reflect only the current native balance from eth_getBalance/latest native balance source. If getDeposit is useful, expose it as a separate field in a future issue. |
Collaborator
Author
|
Updated in d3d79af: Contract detail Balance now uses only the latest native balance path ( |
libai0610
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/plugin/evm/accountsto include contracts when explicitly requested.getDeposit()balance when supported, so deposited HEI does not render as0 HEI.include_contractsparameter.Fixes #48
Verification
go test ./plugins/evm/httpnpm run buildNotes
go test ./plugins/evm/daois blocked locally by the existingdao_testinit path requiring../../../configs/config.yamlplus MySQL/Redis.