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

auth: consistency in antehandler #9144

Merged
merged 1 commit into from
Apr 20, 2021
Merged

auth: consistency in antehandler #9144

merged 1 commit into from
Apr 20, 2021

Conversation

tac0turtle
Copy link
Member

Description

Add NewTxTimeoutHeightDecorator() to be consistent with other antehandler functions.

closes: #XXXX


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
Copy link

codecov bot commented Apr 20, 2021

Codecov Report

Merging #9144 (6d57855) into master (d3769b2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9144   +/-   ##
=======================================
  Coverage   58.80%   58.80%           
=======================================
  Files         583      583           
  Lines       32748    32749    +1     
=======================================
+ Hits        19257    19258    +1     
  Misses      11214    11214           
  Partials     2277     2277           
Impacted Files Coverage Δ
x/auth/ante/ante.go 66.66% <100.00%> (ø)
x/auth/ante/basic.go 78.26% <100.00%> (+0.31%) ⬆️

@tac0turtle tac0turtle merged commit b1cf479 into master Apr 20, 2021
@tac0turtle tac0turtle deleted the marko/ante_consistency branch April 20, 2021 09:21
@@ -179,6 +179,12 @@ type (
}
)

// TxTimeoutHeightDecorator defines an AnteHandler decorator that checks for a
// tx height timeout.
func NewTxTimeoutHeightDecorator() TxTimeoutHeightDecorator {
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO this might be worth of a changelog addition

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.

3 participants