Skip to content

Delete the unused legacy fee classes #25851

Description

@aderevets

After PR #25473 is merged, these old classes are no longer used. Delete them:

  • In the hapi-fees module, delete the legacy packages com.hedera.node.app.hapi.fees.usage, .pricing and .calc. Keep the module and the package org.hiero.hapi.fees (it is still used by the simple fees code).
  • Delete the old fee builders in hapi-utils (FeeBuilder, FeeObject, SigValueObj). First move the size constants to another util class, because other code still needs them.
  • Delete NoOpFeeCalculator and FeesJsonToProtoSerde.
  • Delete FeeCalculatorFactory only after S2, because TokenAirdropHandler still uses it.

Gated on PR #25473. Part of #21642.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions