Skip to content
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

Add whitelist for fee denoms #564

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

codchen
Copy link
Collaborator

@codchen codchen commented Feb 19, 2025

Describe your changes and provide context

It is possible for tx sender to include "garbage" tokens as fees which may decrease chain performance if in large quantity (in terms of the number of different denoms, which may be created via tokenfactory). This PR introduces a new parameter to whitelist denoms that can be used for fees. Note that usei is always whitelisted.

Testing performed to validate your change

local sei with tokenfactory tokens

@codchen codchen requested a review from philipsu522 February 19, 2025 14:32
@codchen codchen force-pushed the tony/restrict-fee-token-type branch from 8c6153a to b425180 Compare February 19, 2025 16:03
@codchen codchen force-pushed the tony/restrict-fee-token-type branch from b425180 to f5406f1 Compare February 20, 2025 03:25
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.

1 participant