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 Fixture #228

Merged
merged 1 commit into from
Jan 28, 2021
Merged

Conversation

aaronc
Copy link
Member

@aaronc aaronc commented Jan 28, 2021

No description provided.

@aaronc aaronc requested a review from blushi January 28, 2021 15:24
@codecov
Copy link

codecov bot commented Jan 28, 2021

Codecov Report

Merging #228 (67cc5ca) into marie/136-x-group (04fdbcb) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           marie/136-x-group     #228   +/-   ##
==================================================
  Coverage              16.03%   16.03%           
==================================================
  Files                     48       48           
  Lines                  11501    11501           
==================================================
  Hits                    1844     1844           
  Misses                  9429     9429           
  Partials                 228      228           

@blushi blushi merged commit c19d8b0 into marie/136-x-group Jan 28, 2021
aaronc added a commit that referenced this pull request Jan 29, 2021
* Add group module and updated proto

* Delete unrelevant files

* WIP on upgrade to stargate

* Add TODO

* Fix proto-gen

* Fix group AppModule and AppModuleBasic

* More migration in x/group

* Fix lint

* More lint fix

* Rename GroupID

* Fix TestGroupMetadataValidation and add UnpackInterfaces

* Refacto to use Msg services

* Move module impl to x/group/module and remove amino

* Fix build

* Fix lint

* Clean up testutil

* Add Proposal and CreateProposal rpc, use Any for msgs in it

* Fix lint

* Fix initParamsKeeper

* Comment group ref in app

* Add comments in proto

* gen proto

* wip on tests

* Setup test suite

* Rm keeper_test

* Rm testsupport.go

* Move old hander tests to testsuite and use msgClient in tests

* Use BinaryMarshaler in ORM to unpack Any's

* Fix exec proposal tests

* Fix group tests

* Add proposal executor tests

* Update ORM tests

* Wire up group module to regen app

* Fix lint

* Fix proto lint

* Renaming

* Update ORM

* Remove errors pkg

* Improve proposal doc

* Fix events types

* Update comment

* Clean up

* Use GroupId

* Use ProposalId

* Update conditions.go

* Rename to GetGroupMembers

* Add assertCommentSize

* Update x/group/server/keeper.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update x/group/server/keeper.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Rename result enum value

* Add doc

* Add doc

* Use apd.Decimal instead of sdk.Dec

* Rename to GroupInfo and GroupAcountInfo

* Move group/types to group

* Remove tmp query.proto

* Move Keeper methods to serverImpl

* Add Query service proto def

* Add first impl of query service

* Finish up query service and rm keeper

* Lint

* Rename GroupID to ID

* Support Key page request with index.Get

* Lint

* Format

* Use bech32 addresses

* Lint

* Update group events

* Refactor group module to work with new proto codegen

* Lint

* Update protocgen script

* Update proto/regen/group/v1alpha1/genesis.proto

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update proto/regen/group/v1alpha1/query.proto

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update proto/regen/group/v1alpha1/events.proto

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update x/group/README.md

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update testutil/testdata/tx.proto

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Address review comments

* Update README.md

* Reference issues in todos

* Rename member's weight variables

* Update x/group/server/msg_server.go

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update x/group/README.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Update AccAddresses ValidateBasic

* Remove useless address var

* Reference event issue

* Add comment in Vote

* Update x/group/README.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Update x/group/README.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Add GetPaginated to orm Index

* Rename var in orm/iterator

* Replace comment with metadata

* More renaming

* Support only one voter per Vote request

* Use fixed MaxMetadataLength

* Migrate group module to use ADR 033 and update GroupMember type

* Link

* Reorder members in test to compare

* Rename perm to conditionFormat

* Update x/group/conditions.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Add Paginate doc

* Update orm/iterator.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update doc

* Add more docs

* More docs

* Add more tests for GetPaginated

* Add err check in assertion

* Always handle errors in Paginate loop

* Add more comments to Paginate

* Move destRef.Set to end of loop

* Add more tests cases for Paginate

* Update proto/regen/group/v1alpha1/tx.proto

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>

* Update proto/regen/group/v1alpha1/types.proto

* Refactor Fixture (#228)

* Address some of review comments

* Address comments and add more docs

* Update x/group/server/msg_server.go

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Update x/group/server/msg_server.go

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Update comment

* Update proto/regen/group/v1alpha1/query.proto

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
@ryanchristo ryanchristo deleted the aaronc/marie-136-x-group-updates branch July 2, 2022 22:09
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.

2 participants