hiero-ledger / hiero-ledger/hiero-consensus-node

Remove mono-simulating `ComputeDispatchFeesAsTopLevel` flag

Open
#13,879 4 comments 0 reactions 0 assignees View on GitHub
Good First Issue Candidate HapiThursday
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

We simulated an inconsequential quirk of mono-service fee charging [here](https://github.com/hashgraph/hedera-services/blob/develop/hedera-node/hedera-app/src/main/java/com/hedera/node/app/fees/FeeCalculatorImpl.java#L117); but don't need to do so anymore and can remove the enabling `ComputeDispatchFeesAsTopLevel` enum.

### Solution

Remove all uses of this enum.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at hedera-node/hedera-app/src/main/java/com/hedera/node/app/fees/FeeCalculatorImpl.java around line 117, then search the repository for all uses of the ComputeDispatchFeesAsTopLevel enum. Remove every use of the enum and verify that the affected build or tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.