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

[backport/v0.40.x] Implement ADR031 #7599

Merged
merged 14 commits into from
Oct 20, 2020

Commits on Oct 19, 2020

  1. Refactor RegisterQueryServices -> RegisterServices (#7518)

    * Refactor RegisterQueryServices -> RegisterServices
    
    * Fix tests
    aaronc authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    03822d5 View commit details
    Browse the repository at this point in the history
  2. Add ADR 031 BaseApp and codec infrastructure (#7519)

    * Refactor RegisterQueryServices -> RegisterServices
    
    * Cleaner proto files
    
    * Fix tests
    
    * Add MsgServer
    
    * Fix lint
    
    * Remove MsgServer from configurator for now
    
    * Remove useless file
    
    * Fix build
    
    * typo
    
    * Add router
    
    * Fix test
    
    * WIP
    
    * Add router
    
    * Remove test helper
    
    * Add beginning of test
    
    * Move test to simapp?
    
    * ServiceMsg implement sdk.Msg
    
    * Add handler by MsgServiceRouter
    
    * Correct signature
    
    * Add full test
    
    * use TxEncoder
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    
    * Push changes
    
    * WIP on ServiceMsg unpacking
    
    * Make TestMsgService test pass
    
    * Fix tests
    
    * Tidying up
    
    * Tidying up
    
    * Tidying up
    
    * Add JSON test
    
    * Add comments
    
    * Tidying
    
    * Lint
    
    * Register MsgRequest interface
    
    * Rename
    
    * Fix tests
    
    * RegisterCustomTypeURL
    
    * Add changelog entries
    
    * Put in features
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update baseapp/msg_service_router.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Address review comments
    
    * Address nit
    
    * Fix lint
    
    * Update codec/types/interface_registry.go
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    
    * godoc
    
    Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    5 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    b60e635 View commit details
    Browse the repository at this point in the history
  3. Refactor x/bank according to ADR 031 (#7520)

    * Refactor x/bank according to ADR 031
    
    * Add comment
    
    * Update comment
    
    * Add comment
    
    * Add tests, address edge cases
    
    * Imports
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    2 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    b706d8d View commit details
    Browse the repository at this point in the history
  4. Refactor x/{gov, crisis} according to ADR 031 (#7533)

    * Refactor x/gov according to ADR 31
    
    * fix tests
    
    * Refactor x/crisis according to ADR 031
    
    * fix lint
    
    * lint
    
    * lint
    
    * review changes
    
    * lint
    
    * review change
    
    * fic doc
    
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    2 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    de4dfe0 View commit details
    Browse the repository at this point in the history
  5. Refactor x/distribution according to ADR 031 (#7524)

    * Refactor x/distribution according to ADR 31
    
    * lint
    
    * removed unused
    
    * Apply suggestions from code review
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    4 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    c6fefbb View commit details
    Browse the repository at this point in the history
  6. [x/slashing] Implement Protobuf Msg Services (#7557)

    * Update x/slashing to use proto msg service
    
    * Fix proto-gen
    
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    65ba5a0 View commit details
    Browse the repository at this point in the history
  7. Refactor x/auth/vesting to use ADR-031 (#7551)

    * update auth/vesting module to use proto msg services
    
    * rm accidental tmp files
    
    * Update x/auth/vesting/msg_server.go
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    
    * golangci-lint fix
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    4 people committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    67c1553 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a25a26c View commit details
    Browse the repository at this point in the history
  9. Refactor x/staking according to ADR 031 (#7556)

    * Refactor x/staking according to ADR 031
    
    * lint
    
    * review changes
    
    * review changes
    
    * review changes
    
    Co-authored-by: Aaron Craelius <aaron@regen.network>
    2 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    cfd51cf View commit details
    Browse the repository at this point in the history
  10. Add MsgServer to Configurator for ADR 031 wiring (#7584)

    * Add MsgServer to Configurator for ADR 031 wiring
    
    * Add docs, wire up evidence & staking
    
    * Add integration test
    
    * Add comments
    
    * Doc strings
    
    * Update types/module/configurator.go
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    
    * Update types/module/configurator.go
    
    Co-authored-by: Cory <cjlevinson@gmail.com>
    
    * Wire up vesting
    
    * Update CHANGELOG.md
    
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
    Co-authored-by: Cory <cjlevinson@gmail.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    5 people committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    db51b27 View commit details
    Browse the repository at this point in the history
  11. Refactor x/evidence to ADR-031 (#7538)

    * Refactor x/evidence to ADR-031
    
    * Add hash in response
    
    * Update changelog
    
    * Update x/evidence/keeper/keeper.go
    
    * Update proto/cosmos/evidence/v1beta1/tx.proto
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    
    * Use msgServer struct
    
    Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
    2 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    a6f61d2 View commit details
    Browse the repository at this point in the history
  12. Refactor x/ibc to ADR 031 (#7576)

    * WIP: Refactor x/ibc to ADR 031
    
    * updated handler
    
    * removed unsued
    
    * fix
    
    * Add proto service for ibc/transfer
    
    * lint
    
    * remove old upgrade handler
    
    * added doc
    
    * review changes
    
    * fix tests
    
    * formatter
    
    * Add MsgServer wiring in RegisterServices
    
    Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
    Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    3 people authored and clevinson committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    15b5767 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    06930c8 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

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