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: Move some methods inside TX Factory (backport #9421) #10039

Merged
merged 2 commits into from
Aug 31, 2021

Commits on Aug 31, 2021

  1. refactor: Move some methods inside TX Factory (#9421)

    <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
    v                               ✰  Thanks for creating a PR! ✰
    v    Before smashing the submit button please review the checkboxes.
    v    If a checkbox is n/a - please still include it but + a little note why
    ☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->
    
    ## Description
    
    <!-- Add a description of the changes that this PR introduces and the files that
    are the most critical to review.
    -->
    
    Putting some things inside the factory (which was very anemic struct) has helped me to understand the flow. Feel free to merge if you see some benefit.
    
    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](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
    - [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
    - [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md).
    - [ ] Wrote unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
    - [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
    - [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
    - [ ] 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
    
    (cherry picked from commit e17be87)
    
    # Conflicts:
    #	CHANGELOG.md
    jgimeno authored and mergify-bot committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    804b0cc View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    robert-zaremba authored Aug 31, 2021
    Configuration menu
    Copy the full SHA
    e04635d View commit details
    Browse the repository at this point in the history