Commit Graph

5715 Commits

Author SHA1 Message Date
dependabot-preview[bot] 1eb38c4411 Merge PR #5001: Bump github.com/hashicorp/golang-lru from 0.5.1 to 0.5.3
Bumps [github.com/hashicorp/golang-lru](https://github.com/hashicorp/golang-lru) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v0.5.1...v0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-05 09:48:19 -04:00
dependabot-preview[bot] b88ff79ff6 Merge PR #5002: Bump github.com/tendermint/tendermint from 0.32.2 to 0.32.3
Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint) from 0.32.2 to 0.32.3.
- [Release notes](https://github.com/tendermint/tendermint/releases)
- [Changelog](https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tendermint/tendermint/compare/v0.32.2...v0.32.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-05 08:58:47 -04:00
dependabot-preview[bot] 0407acf5fd Merge PR #5003: Bump github.com/gorilla/mux from 1.7.0 to 1.7.3
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.0 to 1.7.3.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.0...v1.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-05 08:57:07 -04:00
Marko cc14b39900 Merge PR #4999: Viper dep update
- depndabot wasnt able to fully update this dep
- Closes #4992

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-09-04 19:46:02 -04:00
Alexander Bezobchuk f010d2c6f1
Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
dependabot-preview[bot] d55a90e4d1 Merge PR #4993: Bump github.com/mattn/go-isatty from 0.0.6 to 0.0.9
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.6 to 0.0.9.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.6...v0.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 12:33:36 -04:00
dependabot-preview[bot] 6f90452f11 Merge PR #4991: Bump github.com/stretchr/testify from 1.3.0 to 1.4.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 11:56:24 -04:00
dependabot-preview[bot] e4f22f2ae6 Merge PR #4994: Bump github.com/pelletier/go-toml from 1.2.0 to 1.4.0
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.2.0 to 1.4.0.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.2.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 11:55:18 -04:00
dependabot-preview[bot] 465e11d567 Merge PR #4995: Bump github.com/gogo/protobuf from 1.2.1 to 1.3.0
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.2.1...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 11:54:42 -04:00
Alexander Bezobchuk 14c555ab57
Merge PR #4989: Go 1.13 Upgrade 2019-09-04 10:58:29 -04:00
Denis Fadeev c82ff355a5 Merge PR #4984: Switch docs version to master 2019-09-03 12:43:33 -04:00
Marko 29b8161ac6 Merge PR #4981: Quick fix for broken links 2019-09-03 08:59:24 -04:00
Marko 847d3be896 Quick fix to docs to not show staging website (#4983)
Remove mention of develop and staging environment.
2019-09-03 13:27:23 +01:00
Aditya 13e5e18d77 Merge PR #4967: Split Breaking Changes into Specific Subsections 2019-09-02 10:45:00 -04:00
Alexander Bezobchuk 1cd124a373
Merge PR #4973: Enable CPU Profiling via CLI flag 2019-08-30 11:46:48 -04:00
Timothy Chen c9abe72280 Merge PR #4968: Improve error reporting in genutil CLI 2019-08-30 09:59:41 -04:00
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