Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Remove zero shard and realm assumption #906

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gsstoykov
Copy link
Contributor

@gsstoykov gsstoykov commented Feb 24, 2025

Description:

  • populateAccountEvm now sets the full accountId for the mirror node query.
  • The flagged zeroAddress check is now removed as the assumption for 12 zero bytes would be wrong if there are populated shard and realm values.

Related issue(s):

Fixes #898

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech>
@gsstoykov gsstoykov self-assigned this Feb 24, 2025
@gsstoykov gsstoykov linked an issue Feb 24, 2025 that may be closed by this pull request
Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech>
@gsstoykov gsstoykov changed the title feat: rework populateAccountEvm to use full accountid feat: Remove zero shard and realm assumption Feb 25, 2025
Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech>
Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech>
@gsstoykov gsstoykov marked this pull request as ready for review February 25, 2025 11:02
@gsstoykov gsstoykov requested review from a team as code owners February 25, 2025 11:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate 0 shard and realm assumptions
1 participant