Skip to content

feat: Remove zero shard and realm assumption#906

Merged
rwalworth merged 5 commits intomainfrom
00898-investigate-0-shard-and-realm-assumptions
Feb 27, 2025
Merged

feat: Remove zero shard and realm assumption#906
rwalworth merged 5 commits intomainfrom
00898-investigate-0-shard-and-realm-assumptions

Conversation

@gsstoykov
Copy link
Copy Markdown
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