Commit Graph

5736 Commits

Author SHA1 Message Date
Alexander Bezobchuk 943cc54811
Merge PR #5047: Fix Genesis Accounts Migration 2019-09-17 10:39:08 -04:00
Marko 6684cdf3e5 Merge PR #5048: Fix linters and add golint 2019-09-16 13:11:17 -04:00
Alexander Bezobchuk 1028283e6f
Merge PR #5042: Auxiliary Functionality for Genesis Accounts 2019-09-13 18:26:29 -04:00
Federico Kunze ed6366679c Merge PR #5017: ADR 011: Generalize Genesis Accounts Implementation 2019-09-12 15:22:25 -04:00
Hans Schoenburg e660adc6e5 Merge PR #5020: /spec/staking/ add copy on Slashing and Delegator Shares 2019-09-12 11:24:31 -04:00
Alexander Bezobchuk 9eb5375fda
Merge PR #5032: Add Events to ABCIMessageLog 2019-09-12 11:05:27 -04:00
Timothy Chen 5bcab79e8a Merge PR #4996: Expose precheck errors from tx 2019-09-11 14:56:36 -04:00
Alessio Treglia 849e2fb638 Merge PR #5025: Standardize and clean up Makefile
* Attempt to standardise Makefile's conventions

Use check- prefix for test- targets to adhere to
Make's standard naming convention [1].

Snake-case names are abandoned in favor of
kebab-case naming convention.

[1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html

* Replace check- with test-

* Remove goimports from tools

* Update circleci config

* Update workflow steps names to match Makefile

* Fix circleci config

* s/check_statik/update-swagger-docs/
2019-09-11 08:13:11 -07:00
Alessio Treglia e6068a88ff
Update golangci-lint to match release used by golangci bot (#5030) 2019-09-11 11:16:16 +02:00
Xuefeng Zhu 8ae834727a Merge PR #5026: Remove unnecessary account check 2019-09-10 16:07:30 -04:00
Alexander Bezobchuk 84627faf79
Merge PR #5024: Fix and Utilize GetCommitKVStore 2019-09-10 14:12:38 -04:00
kevlubkcm 5c27892621 Merge PR #4917: add where to find the event tags into the swagger 2019-09-10 12:01:08 -04:00
Alexander Bezobchuk ce5b36b12a
Merge PR #5022: Remove inter-block cache reset in init-chain 2019-09-10 10:31:12 -04:00
Alexander Bezobchuk 15517afeb2
Merge PR #5019: Export sim CLI flags 2019-09-09 14:13:43 -04:00
Alexander Bezobchuk 47ffaa2504
Merge PR #5018: Fix test_sim_multi_seed_long make target 2019-09-09 13:40:33 -04:00
gamarin2 0992c2994c Merge PR #5014: Docs fixes
* various fixes

* translations to root
2019-09-09 10:22:15 -07:00
Alexander Bezobchuk c8d84b4df4
Merge PR #5005: Add support for halt-time 2019-09-09 10:08:10 -04:00
Alexander Bezobchuk 2c4faf983b
Merge PR #5015: Update Makefile runsim targets 2019-09-09 09:54:01 -04:00
Federico Kunze e3e49fc72c Merge PR #5009: remove redundant invariant simapp check 2019-09-06 14:23:40 -04:00
Alexander Bezobchuk 2d18f1e7e9
Merge PR #4997: Fix CacheMultiStoreWithVersion (inter-block cache) 2019-09-05 12:29:00 -04:00
Ruaridh d7d7a93729 Merge PR #4986: ADR 011 - Generalize Genesis Accounts 2019-09-05 10:02:48 -04:00
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