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

Fee validation refactor #2382

Merged
merged 3 commits into from
Jan 17, 2024
Merged

Fee validation refactor #2382

merged 3 commits into from
Jan 17, 2024

Conversation

grarco
Copy link
Collaborator

@grarco grarco commented Jan 12, 2024

Describe your changes

Refactors wrapper_fee_check into three different functions, one for each consensus state (CheckTx, PrepareProposal and ProcessProposal). Extract the fee unshield processing to a separate function. Also changes some methods of Shell to just be functions since we don't really need a reference to the shell.

Indicate on which release or other PRs this topic is based on

v0.29.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@grarco grarco requested a review from cwgoes January 12, 2024 15:21
@grarco grarco marked this pull request as ready for review January 12, 2024 15:22
@Fraccaman Fraccaman mentioned this pull request Jan 16, 2024
tzemanovic added a commit that referenced this pull request Jan 16, 2024
* origin/grarco/fee-rafactor:
  Changelog #2382
  Moves validation methods to functions
  Refactors `wrapper_fee_check`
@tzemanovic tzemanovic mentioned this pull request Jan 16, 2024
@tzemanovic tzemanovic merged commit 6376002 into main Jan 17, 2024
13 of 15 checks passed
@tzemanovic tzemanovic deleted the grarco/fee-rafactor branch January 17, 2024 16:34
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.

2 participants