Skip to content

fix: Remove default shard and realm constants #19123

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

Merged
merged 70 commits into from
May 14, 2025

Conversation

JivkoKelchev
Copy link
Contributor

@JivkoKelchev JivkoKelchev commented May 9, 2025

Description:

Encapsulate static initialization of shard and realm properties.

  • Make the constants package-private
  • Remove deprecated static String asEntityString(final long num)
  • Remove all usages of the static default constants in all test suites.

Related issue(s):

Partially fixes #18962

Notes for reviewer:

Checklist

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

mhess-swl and others added 30 commits April 22, 2025 14:57
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Matt Hess <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: ibankov <[email protected]>
Signed-off-by: ibankov <[email protected]>
Signed-off-by: ibankov <[email protected]>
Signed-off-by: ibankov <[email protected]>
…docouple-hapiTestToken

# Conflicts:
#	hedera-node/test-clients/src/main/java/com/hedera/services/bdd/spec/transactions/HapiTxnOp.java
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: ibankov <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
@JivkoKelchev JivkoKelchev added this to the v0.63 milestone May 9, 2025
@JivkoKelchev JivkoKelchev self-assigned this May 9, 2025
@JivkoKelchev JivkoKelchev changed the base branch from main to 18957-shard-realm-decouple-hapiTestMisc May 9, 2025 15:27
Signed-off-by: Zhivko Kelchev <[email protected]>
Base automatically changed from 18957-shard-realm-decouple-hapiTestMisc to main May 12, 2025 14:48
@JivkoKelchev JivkoKelchev marked this pull request as ready for review May 13, 2025 11:49
@JivkoKelchev JivkoKelchev requested review from a team as code owners May 13, 2025 11:49
mhess-swl
mhess-swl previously approved these changes May 14, 2025
@mhess-swl mhess-swl merged commit 82ea7e2 into main May 14, 2025
43 checks passed
@mhess-swl mhess-swl deleted the default-shard-realm-decouple branch May 14, 2025 18:11
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.

Encapsulate or remove static initialization of properties
3 participants