8000 Rename feesplit to revenue by ramacarlucho · Pull Request #929 · evmos/evmos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rename feesplit to revenue #929

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

Merged
merged 8 commits into from
Sep 23, 2022
Merged

Rename feesplit to revenue #929

merged 8 commits into from
Sep 23, 2022

Conversation

ramacarlucho
Copy link
Contributor

Description

Renamed feesplit module to revenue to avoid conflicts on the store due to incorrect upgrade.

Closes: #XXX


All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

PR review checkboxes:

I have...

  • added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • included the correct type prefix in the PR title
  • targeted the correct branch (see PR Targeting)
  • provided a link in the PR description to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all required CI checks have passed

Code maintenance:

I have...

  • written unit and integration tests
  • added relevant godoc and code comments.
  • updated relevant documentation (docs/) or specification (x/<module>/spec/)

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • confirmed that this PR does not change production code

< 8000 div class="js-socket-channel js-updatable-content" data-channel="eyJjIjoicmVwbzo0MTEyMTI0NTQ6Y29tbWl0OjU4OTViYjI2ZjZhMTIzYWUwNWFhNmRmNGNiOTZlZGI0ZTM1YmQ4NzEiLCJ0IjoxNzQ3OTMxNzgxfQ==--96bb1393861d77d22a8f25c6a95ee8804466a546e1c2780e86e4559c2750494e" data-url="/evmos/evmos/pull/929/partials/commit_status_icon?oid=5895bb26f6a123ae05aa6df4cb96edb4e35bd871">
Copy link
Collaborator
@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link
codecov bot commented Sep 22, 2022

Codecov Report

Merging #929 (c79fd77) into release/v8.2.x (de2a61c) will decrease coverage by 0.01%.
The diff coverage is 87.50%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release/v8.2.x     #929      +/-   ##
==================================================
- Coverage           81.00%   80.99%   -0.02%     
==================================================
  Files                 127      127              
  Lines                7277     7278       +1     
==================================================
  Hits                 5895     5895              
- Misses               1241     1242       +1     
  Partials              141      141              
Impacted Files Coverage Δ
x/revenue/handler.go 0.00% <0.00%> (ø)
x/revenue/keeper/keeper.go 100.00% <ø> (ø)
x/revenue/keeper/params.go 100.00% <ø> (ø)
x/revenue/types/keys.go 0.00% <ø> (ø)
x/revenue/genesis.go 40.00% <28.57%> (ø)
app/app.go 84.28% <68.75%> (-0.12%) ⬇️
x/revenue/types/params.go 94.64% <75.00%> (ø)
x/revenue/keeper/grpc_query.go 88.18% <93.33%> (ø)
x/revenue/keeper/revenues.go 97.14% <95.83%> (ø)
x/revenue/keeper/evm_hooks.go 100.00% <100.00%> (ø)
... and 5 more

@danburck
Copy link
Contributor
danburck commented Sep 22, 2022

There are some occurrences of feeSplit that were missing, let me push some missing replacements

Copy link
Contributor
@danburck danburck left a comment

Choose a reason for hiding this comment

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

@ramacarlucho I added some missing renames and tested the upgrade with this branch. Querying the revenue module works fine, but I noticed that the module params are not set and default to their zero values

➜ evmosd q revenue params
addr_derivation_cost_create: "0"
developer_shares: "0.000000000000000000"
enable_revenue: false

Still need to address this

@fedekunze fedekunze requested a review from danburck September 23, 2022 10:57
@fedekunze fedekunze dismissed danburck’s stale review September 23, 2022 10:57

tested and works

@fedekunze fedekunze merged commit c1028b9 into release/v8.2.x Sep 23, 2022
@fedekunze fedekunze deleted the rama/revenue branch September 23, 2022 10:58
fedekunze added a commit that referenced this pull request Sep 27, 2022
* release: v8.0.0 changelog & upgrade heights (#848)

* deps: bump tendermint `v0.34.21` (#861)

* `v8.1.0` Release (#875)

* `v8.1.0` Release changelog (#877)

update changelog

* Upgrade handler (#880)

* add v8.1 upgrade handler

* update constants

* update comment

* fix linter

* fix(app): implement hard fork logic for v8.2.0

* Revert "fix(app): implement hard fork logic for v8.2.0"

This reverts commit d2e248c.

* fix(app): implement hard fork logic for v8.2.0

* update block height

* changelog

* chore(app): v8.2.0 upgrade handler + store upgrade (#923)

* chore(app): v8.2.0 upgrade handler

* changelog

* comment

* chore: Rename `feesplit` module  to `revenue` (#929)

* renamed feesplit as revenue for 8.2

* update comments and docs

* missing renames

* fix proto query godoc

* replace feeSplit with revenue

* replace var fee with var revenue`

* rerun make proto-gen with godoc changes

* add migration for setting revenue paramters

Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>

* imp(app): delete unnecessary upgrade logic (#932)

* delete unnecessary upgrade

* delete revenue keeper

* delete revenue keeper

* remove feesplit module from version map

* Update app/upgrades/v8_2/upgrades.go

Co-authored-by: Daniel Burckhardt <daniel.m.burckhardt@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix(app): update binary architectures for upgrades (#933)

* fix(app): update binary architectures for upgrades

* changelog

* Update CHANGELOG.md

Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>

* chore(app): update upgrade height for v8.2.0

* bump imports to v9

* make proto-gen and go mod tidy

Co-authored-by: Tuan Pham Anh <baabeetaa@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Ramiro Carlucho <ramirocarlucho@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0