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: add check for blocked address for distribute fee #1220

Closed

Conversation

seantking
Copy link
Contributor

Description

closes: #690


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov-commenter
Copy link

codecov-commenter commented Apr 6, 2022

Codecov Report

Merging #1220 (94a2e66) into ics29-fee-middleware (39d4c56) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@                  Coverage Diff                  @@
##           ics29-fee-middleware    #1220   +/-   ##
=====================================================
  Coverage                 80.07%   80.07%           
=====================================================
  Files                       166      166           
  Lines                     11870    11870           
=====================================================
  Hits                       9505     9505           
  Misses                     1908     1908           
  Partials                    457      457           
Impacted Files Coverage Δ
modules/apps/29-fee/keeper/escrow.go 80.00% <100.00%> (ø)

Copy link
Member

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

Nice, lgtm!

@@ -141,6 +142,11 @@ func (suite *KeeperTestSuite) TestDistributeFee() {
forwardRelayer = "invalid address"
}, false,
},
{
"invalid forward address: blockedAddr", func() {
Copy link
Member

Choose a reason for hiding this comment

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

mega nit

Suggested change
"invalid forward address: blockedAddr", func() {
"invalid forward address: blocked address", func() {

@seantking seantking changed the base branch from ics29-fee-middleware to main April 6, 2022 16:05
@seantking seantking requested a review from fedekunze as a code owner April 6, 2022 16:05
@seantking seantking changed the base branch from main to ics29-fee-middleware April 6, 2022 16:05
@seantking seantking closed this Apr 7, 2022
@seantking seantking deleted the sean/issue#690-fee-distrbution branch August 3, 2022 13:59
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.

4 participants