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

refactor: Flatten & remove unused BankKeeper interface methods #62

Closed
wants to merge 1 commit into from

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Jun 20, 2024

authtypes.BankKeeper contains:

  • IsSendEnabledCoins
  • SendCoins
  • SendCoinsFromAccountToModule

x/evm only requires SendCoinsFromAccountToModule. This removes the inclusion of authtypes.BankKeeper and the unused methods so implementations of BankKeeper do not need to implement the unused methods.

@drklee3
Copy link
Member Author

drklee3 commented Jun 20, 2024

Okay actually seems like it does need these methods 😅 the methods are not directly used in x/evm but the keeper is passed to authante.DeductFees() so it still needs them

@drklee3 drklee3 closed this Jun 20, 2024
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