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

bug: send non osmo txfees to community pool instead of stakers #6426

Merged
merged 9 commits into from
Sep 18, 2023

Conversation

czarcas7ic
Copy link
Member

@czarcas7ic czarcas7ic commented Sep 18, 2023

Closes: #XXX

What is the purpose of the change

Txfees collected in non osmo should be swapped to osmo at epoch and sent to the community pool. The taker fee feature implemented a new module account that collects non osmo funds, swaps them, and sends the to stakers instead. This module account was mistakenly used in the txfees logic instead of the old community pool txfees collector.

Very low impact from this bug, and simply swapping the module accounts fixes this.

@czarcas7ic czarcas7ic added the V:state/breaking State machine breaking PR label Sep 18, 2023
@czarcas7ic
Copy link
Member Author

devbot help

@devbot-wizard
Copy link
Collaborator

Hi! I'm DevBot, a bot that helps with common tasks in the development process. Commands:

  • devbot fix: Fix basic errors in the PR. (e.g. imports, changelog conflicts, go mod conflicts)
  • devbot merge base: Merge the base branch into the PR branch.
  • devbot add changelog [misc/feat/bug/api/sec] [message]: Add a changelog entry to the PR. (e.g. devbot add changelog feat Added a new feature)
    • If message is blank, defaults to PR title.
  • devbot re-pr: Re-PR the PR, useful for external contributors where we have no edit perms.

@czarcas7ic
Copy link
Member Author

devbot add changelog bug

@czarcas7ic czarcas7ic marked this pull request as ready for review September 18, 2023 18:33
Copy link
Member

@p0mvn p0mvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the C:docs Improvements or additions to documentation label Sep 18, 2023
@czarcas7ic czarcas7ic merged commit 2bb6be9 into main Sep 18, 2023
1 check passed
@czarcas7ic czarcas7ic deleted the adam/txfees-to-comm-pool branch September 18, 2023 19:39
@p0mvn p0mvn added the A:backport/v19.x backport patches to v19.x branch label Sep 19, 2023
mergify bot pushed a commit that referenced this pull request Sep 19, 2023
* fix non osmo txfees to community pool instead of stakers

* update changelog

* update fee decorator test

* change version to alpine

* add comment

* uncomment test

* fix script to pull alpine image

* update README

* Update empty_upgrade_handler_gen.sh

---------

Co-authored-by: devbot-wizard <141283918+devbot-wizard@users.noreply.github.com>
(cherry picked from commit 2bb6be9)

# Conflicts:
#	CHANGELOG.md
#	tests/e2e/containers/config.go
@p0mvn p0mvn removed the A:backport/v19.x backport patches to v19.x branch label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:docs Improvements or additions to documentation C:x/txfees T:build V:state/breaking State machine breaking PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants