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

x/auth/ante: AccountKeeper expected interface used instead of the str… #6040

Merged
merged 3 commits into from
Apr 21, 2020

Conversation

iTiky
Copy link

@iTiky iTiky commented Apr 21, 2020

Description

Adds AccountKeeper interface to be used as an input by AnteHandler's decorators. That makes possible for Cosmos-SDK based projects to use custom / extended AccountKeeper implementation and avoid decorators source code copy (ability to reuse code).


For contributor use:

  • 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

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Apr 21, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@80247dd). Click here to learn what that means.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #6040   +/-   ##
=========================================
  Coverage          ?   54.71%           
=========================================
  Files             ?      424           
  Lines             ?    25794           
  Branches          ?        0           
=========================================
  Hits              ?    14113           
  Misses            ?    10710           
  Partials          ?      971           

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

ACK. Great stuff @iTiky. Thank you so much. Do you mind rebasing latest master and I'll get this merged ASAP.

@alexanderbez alexanderbez added the A:automerge Automatically merge PR once all prerequisites pass. label Apr 21, 2020
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.

ACK. Pending changelog entry

@alexanderbez alexanderbez removed the A:automerge Automatically merge PR once all prerequisites pass. label Apr 21, 2020
@iTiky
Copy link
Author

iTiky commented Apr 21, 2020

@alexanderbez @fedekunze Done

@fedekunze fedekunze added the A:automerge Automatically merge PR once all prerequisites pass. label Apr 21, 2020
@mergify mergify bot merged commit c15f112 into cosmos:master Apr 21, 2020
@iTiky iTiky deleted the ante-ak-interface branch August 26, 2020 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:x/auth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants