Skip to content
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

feat: Remove zero shard and realm assumption #906

Merged
merged 5 commits into from
Feb 27, 2025

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.)

@gsstoykov gsstoykov self-assigned this Feb 24, 2025
@gsstoykov gsstoykov linked an issue Feb 24, 2025 that may be closed by this pull request
@gsstoykov gsstoykov changed the title feat: rework populateAccountEvm to use full accountid feat: Remove zero shard and realm assumption Feb 25, 2025
@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
@rwalworth rwalworth merged commit c7ee7b1 into main Feb 27, 2025
7 checks passed
@rwalworth rwalworth deleted the 00898-investigate-0-shard-and-realm-assumptions branch February 27, 2025 17:05
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.

Investigate 0 shard and realm assumptions
2 participants