Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Consistency: Update remaining hardcoded 'fees' references to 'fee' #118

Description

@coderabbitai

Description

Following the plugin type rename from 'fees' to 'fee' in PR #117, several hardcoded references to the old plugin type remain in the codebase and need to be updated for consistency.

Files and Changes Required

Based on CodeRabbit's analysis, the following files need updates:

plugin/fees/config.go

  • Change "type": "fees""type": "fee"
  • Change v.SetEnvPrefix("FEES")v.SetEnvPrefix("FEE")

plugin/fees/fees.go

  • Change logger.WithField("plugin", "fees")logger.WithField("plugin", PLUGIN_TYPE)

scripts/dev/create_fee_policy/main.go

  • Update PluginID: vtypes.PluginVultisigFees_feee, to use the new vtypes constant reflecting the "fee" plugin

plugin/fees/policy.go & plugin/fees/fees.go

  • Replace references to vtypes.PluginVultisigFees_feee with the correctly renamed vtypes constant (e.g., vtypes.PluginVultisigFee_fee)

Context

This consistency exercise ensures that all references to the plugin type are aligned with the rename performed in PR #117 where PLUGIN_TYPE was changed from "fees" to "fee" in plugin/fees/constraints.go.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions