Commit Graph

5799 Commits

Author SHA1 Message Date
Xuefeng Zhu 4581ab342b Merge PR #4966: Reuse ValidatorsPowerStoreIterator 2019-08-29 16:47:55 -04:00
Aditya 10e49c1479 Merge PR #4942: ADR 010: Modular AnteHandler 2019-08-28 11:36:44 -04:00
Federico Kunze 45b25ceaae Merge PR #4838: Sim refactor 2 - Move GenesisState generators to modules 2019-08-28 10:58:25 -04:00
tyldar a131570cdc Merge PR #4961: Switched keys prefixes to the config ones 2019-08-28 10:37:05 -04:00
colin axner 5aacf454e1 Merge PR #4918: refactor crisis tests 2019-08-27 09:19:26 -04:00
Timothy Chen e7b378d81d Merge PR #4948: Emit send coin events before action 2019-08-27 09:17:31 -04:00
Federico Kunze eeb847c845 Merge #4209: NFT Module
* in sync with @okwme/cosmos-nft

* remove tmp tx

* structuring and minor changes

* supply and client files

* adding cli client

* complete cli/tx and rest.go

* cleanup and restructuring

* restructure rest folder

* minor updates on clients

* update querier

* encoding for clients and other changes

* genesis, invariants, and keeper updates

* update types

* make golangcibot happy

* renamed and removed bank keeper

* remove handlers for editmetadata, mint, burn, buy

* nft interface

* minor cleanup

* sort collections and nfts

* balance and find

* nft query and tx

* touch ups

* uint in place of int

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* little fixes:
- fix error to err to avoid collision
- error handling

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* module generalization changes

* fixes

* query with data

* minor updates and TODOs

* fix CLI tx

* golang bot fixes

* handlers and txs done

* update module generalization

* Added very basic tests which for some reason do not work

* fix test

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* fixed test, now we should fix implementation, seems to fail

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* fix test, create new struct instead of changing the old one

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* fix handler with new logic

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* let's make it compile

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* single failing test example, need to be fixed and extended

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* single failing test example, need to be fixed and extended

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* reverting work, still problems unmarshalling inside iterator from test

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* Setter in nft.go should return NFT instead of BaseNFT

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* remove TODOS

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* comment out broken tests, we want at least a green mark here

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* little fixes

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* hopefully no conflict

* minor changes for tests

* change nft id to string, refactors

* messy pause

* Changes Balances to OWners add all necessary functions, updated Keeper with UpdateNFT as as well as MintNFT and made sure they all update Owners

* pause dev to merge sdk master

* go.mod changes

* getting closer still need module.go

* builds!!!

* fix lint begin handler tests

* stableish

* re-order nft attributes, add back mint and burn msgs and handlers

* add errors to minting the same NFT and burning an NFT that doesnt exist

* first querier test

* add simulations for nft msgs

* handler tests check tags now (fixed a bug!)

* update simulation

* generic handler

* need to check if it compiles on another machine

* fix weird interface error

* add back cli

* wtfff

* codec error fixed, logs removed. still returning empty arrays of IDs

* Take empty input as yes answer

Closes: #4564

* Add pending log entry

* merged in master

* marshall errors

* build commands

* working!!!

* linting errors

* remove unused func

* pause

* fix burn error

* fix burn error

* tests for querier

* typo

* tests for NFT types

* module spec standard

* tests for Collection and Collections types

* merge w Fede

* tests for Owner Type

* added genesis tests and beefed up keeper, querier, handler & types tests

* linting errors deadcode

* DONT COVER test_common.go

* add msg type tests

* Update x/nft/internal/keeper/key.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/nft/genesis.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/nft/client/cli/query.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Apply suggestions from code review

* typo

* cleanup events

* split events

* more cleanup

* remove restrictions from default handlers

* not sure where these go mod changes came from

* sim generated changes

* make format

* add mint and burn sims

* move NFT interface to nft/exported

* make format

* NFT spec

* Updates

* more updates

* update specs readme

* fix sims

* rest additions

* rest additions

* fix invariant

* minimal nft without name, description or image

* sim

* fix sim

* fix sim

* fix Update methods

* nothing

* simplify update and remove

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* remove test on memory location

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* TEST to get logs, need to be removed

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* fix simulator editMetadata Msg type

* owner not found start with empty collection

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* artifacts on errors in case of failure, else, no artifacts

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>

* add more invariant checks to handler_tests

* never forget to overwrite

* merge and update spec

* colins feedback

* code coverage test

* code coverage test

* code coverage test

* spelling

* clean up client

* testing code coverage

* testing code coverage

* testing code coverage

* testing code coverage

* testing code coverage

* Update docs/spec/nft/README.md

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* Apply suggestions from code review

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* minor changes

* integration tests and fixes

* minor golangCI fixes

* Update simapp/app.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2019-08-26 12:54:45 -04:00
Alexander Bezobchuk ee99b8e22a
Merge PR #4954: Update tm-crypto to 45b1026d81ae 2019-08-26 10:57:41 -04:00
Federico Kunze 1d824d15a6 Merge PR #4953: Remove distr keeper from staking app module 2019-08-26 10:57:21 -04:00
mircea-c 450c8ced2c Merge PR #4787: Updated docs build process 2019-08-26 09:09:18 -04:00
Hyung-Kyu Hqueue Choi d3aa9feaca Remove unnecessary nil check (#4952)
Nil slices are always 0-length.
2019-08-26 14:05:43 +02:00
Timothy Chen 1a15f68359 Merge PR #4944: Fix validator tests 2019-08-22 14:37:49 -04:00
Alexander Bezobchuk acf1b6bcf9
Merge PR #4940: Update CHANGELOG - v0.37.0 2019-08-21 21:03:19 -04:00
Alexander Bezobchuk 1f04826b07
Merge PR #4932: Fix gov query vote cmd 2019-08-20 12:57:27 -04:00
Marko 3a4f1fc4d4 Merge PR #4881: Linting Galore 2019-08-19 12:06:27 -04:00
Alexander Bezobchuk 89b1220398
Merge PR #4924: Return Height on Query Errors + Update Account Endpoint 2019-08-19 10:58:11 -04:00
colin axner a697be15fe Merge PR #4909: Refactor x/bank Tests 2019-08-19 09:29:17 -04:00
Henrik Aasted Sørensen 91b53f2698 Merge PR #4919: Fix GetConfirmation User Input Bug 2019-08-19 09:22:07 -04:00
Alessio Treglia 70d50a6a61
Clean up go mod transition cruft leftover (#4921) 2019-08-19 11:13:28 +02:00
colin axner bc170cba82 Merge PR #4913: Fix Module Account Blacklisting in SimApp 2019-08-15 18:29:21 -04:00
Alexander Bezobchuk 412462b7da
Merge PR #4910: Tx Lifecycle Doc Cleanup 2019-08-15 13:01:17 -04:00
Federico Kunze 57cc5ae3a2 Merge PR #4906: Introduce Simulation Config 2019-08-15 11:35:25 -04:00
colin axner 7ffa95d675 Merge PR #4896: Refactor auth tests 2019-08-15 11:19:16 -04:00
poldsam 74cb4869b9 Merge PR #4813: ADR-006 Secret Store 2019-08-15 11:02:36 -04:00
colin axner 3eac2707b2 Merge PR #4908: Various goreport fixes 2019-08-15 09:54:10 -04:00
colin axner 70ba07191d Merge PR #4882: refactor mint tests 2019-08-15 09:53:37 -04:00
colin axner 1cf016c9a9 Merge PR #4877: refactor supply keeper tests to use simapp 2019-08-14 17:10:48 -04:00
Alexander Bezobchuk 9adb398e18
Merge PR #4905: Various Height Query Fixes 2019-08-14 12:45:11 -04:00
Marko f1adb7afd9 Merge PR #4904: Remove empty files and broken links 2019-08-14 11:05:01 -04:00
Federico Kunze c441ce2fab Merge PR #4847: Sim refactor 1 move store decoders to modules
* move store decoders to modules

* fix

* module pattern

* compile

* update Decoders params

* fix

* address @colin-axner comments

* Update cmd_test.go

* simulation manager

* mino fixes

* cleanup

* Apply suggestions from code review

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* address @rigelrozanski comments

* changelog

* Apply suggestions from code review

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* restructure modules simulation pkgs

* address @alexanderbez comments

* fix
2019-08-13 18:16:03 -04:00
colin axner 81f86fefe5 Merge PR #4894: Change SimApp to have public keepers 2019-08-13 16:59:01 -04:00
Alexander Bezobchuk 7d42f62f90
Merge PR #4902: Changelog Flow Updates 2019-08-13 16:00:28 -04:00
Alexander Bezobchuk f90d969ded
Merge PR #4900: v0.36.0 Changelog Updates 2019-08-13 12:01:35 -04:00
Alexander Bezobchuk fee71e72d4
Merge PR #4876: Fix BroadcastTxCommit Response 2019-08-13 09:21:52 -04:00
Alexander Bezobchuk 46c98d396d
Merge PR #4895: Lite Client Query Height Fix 2019-08-13 09:13:34 -04:00
Alexander Bezobchuk 436f440e8f
Merge PR #4892: Update Slashing Spec (Liveness) 2019-08-12 12:02:46 -04:00
Hyung-Kyu Hqueue Choi 0f4b938324 Merge PR #4890: Fix broken gaia links in translated READEME.md 2019-08-12 09:11:08 -04:00
frog power 4000 771f8a04f3 Merge PR #4865: Add security contact to Validator description 2019-08-12 09:10:16 -04:00
Alexander Bezobchuk a6e776c47e
Merge PR #4880: Fix IAVL Store Commit 2019-08-11 18:46:39 -04:00
Alessio Treglia 8f51fb39cb Merge PR #4884: Fix standalone execution 2019-08-11 18:42:10 -04:00
Federico Kunze e4c8bd72b7 Merge PR #4665: Refactor x/gov Module Structure (prep for module spec) 2019-08-08 15:51:18 -04:00
colin axner 83db58ec5e Merge PR #4863: Fix doc links 2019-08-08 13:20:31 -04:00
Alexander Bezobchuk 0bcc7c9b7a
Merge PR #4873: Set New EventManager in Context#CacheContext 2019-08-08 12:32:05 -04:00
gamarin2 1dfbfc08d7 Merge PR #4871: fix vuepress 2019-08-08 12:05:03 -04:00
Alexander Bezobchuk 745f2eb7e3
Merge PR #4872: Disable "withdraw-all-rewards" command when "--generate-only" is supplied 2019-08-08 11:51:54 -04:00
Alexander Bezobchuk 42c54f8d0c
Merge PR #4861: Simulation Fixes 2019-08-07 12:54:13 -04:00
Gloria Zhao ddf0e6fe36 Merge PR #4739: deleted concepts, moved tx-lifecycle 2019-08-07 10:31:47 -04:00
Alexander Bezobchuk 0dcf158387
Merge PR #4852: Cleanup Supply Genesis State 2019-08-06 16:51:18 -04:00
Alexander Bezobchuk c8ee82b40a
Merge PR #4854: Crisis Module Manager Fixes 2019-08-06 15:11:55 -04:00
Ethan Frey 1f8cdeed55 Merge PR #4724: Allow substore migrations upon multistore loading 2019-08-06 08:59:22 -04:00