Skip to content

Settlement has no get_fee_config-analog exposing the effective fee for a merchant #579

Description

@therealjhay

ProblemGovernance has get_fee_config; settlement has no per-merchant "what fee will I pay?" read, so callers must reconstruct the chain manually.

  1. No effective-fee query.
  2. Callers re-implement resolution.
  3. API surface gap.

Solution

  • Add get_effective_rule(merchant) read.
  • Test.

Acceptance Criteria

  • Effective fee queryable.
  • cargo test --workspace passes.

Note for Contributors: Write a clear PR description. Show the query test.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions