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 x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. #7526

Merged
merged 19 commits into from
Oct 19, 2020

Commits on Oct 15, 2020

  1. testing: refactore Validation and Delegation handling of x/staking

    This Changeset introduces set of improvements for writing tests.
    
    The idea is to create a testing subpackage which will provide functions
    to make tests more dev-friendly and wrap higher level use-cases.
    Here is a show-up of of creating a service for staking module
    for tests.
    
    This PR also changes the `x/staking/types.MsgCreateValidator.Pubkey` from string
    to types.Any. This change motivated the other change to show the pattern I'm describing here.
    robert-zaremba committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    425cec7 View commit details
    Browse the repository at this point in the history
  2. add validator checks

    robert-zaremba committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    744e299 View commit details
    Browse the repository at this point in the history
  3. type change fixes

    robert-zaremba committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    1741fe0 View commit details
    Browse the repository at this point in the history
  4. use deprecated

    robert-zaremba committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    a29648d View commit details
    Browse the repository at this point in the history
  5. adding test slashing

    robert-zaremba committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    0090ab3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d527c77 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. working on tests

    robert-zaremba committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    1a29257 View commit details
    Browse the repository at this point in the history
  2. Fix TestMsgPkDecode test

    blushi committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    819c52e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11924dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e36a543 View commit details
    Browse the repository at this point in the history
  5. Fix tests

    amaury1093 committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    883ced6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b7d36e View commit details
    Browse the repository at this point in the history
  7. Fix test

    amaury1093 committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    f2c4dc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Configuration menu
    Copy the full SHA
    9f8b828 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. fix tests

    robert-zaremba committed Oct 18, 2020
    Configuration menu
    Copy the full SHA
    b610de8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16448b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. file rename

    robert-zaremba committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    b741a6d View commit details
    Browse the repository at this point in the history
  2. update TestMsgDecode

    robert-zaremba committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    b7eef7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    826e771 View commit details
    Browse the repository at this point in the history