Commit Graph

1082 Commits

Author SHA1 Message Date
Alexander Bezobchuk 95ddc242ad
Merge PR #5240: x/evidence module implementation 2019-11-06 14:08:02 -07:00
maxwellfoley3 1f4f20c3af fix typo in link (#5281) 2019-11-06 11:01:05 +01:00
Jordan Sexton 9d2d0a77b0 "auth/StdTx" -> "cosmos-sdk/StdTx" (#5256) 2019-10-29 10:21:12 +01:00
Jordan Sexton adcfc6a1d1 "auth/StdTx" -> "cosmos-sdk/StdTx" (#5255) 2019-10-28 22:02:47 +01:00
Aditya 4cd18bcf35 Merge PR 5196: RecheckTx Optimizations 2019-10-23 10:43:58 -04:00
Alexandre Esteves 9ef647ba61 Merge PR #5225: Fix links 2019-10-21 10:14:37 -04:00
Alessio Treglia 09276c492c Merge PR #5218: Update ADR-006's progress 2019-10-18 09:09:51 -04:00
Alexander Bezobchuk 1edecb8df5
Merge PR #4826: ADR 009: Evidence Module 2019-10-17 11:07:25 -04:00
Marko bb6bed4ed3 Merge PR #5171: Remove NFT module 2019-10-11 10:18:21 -04:00
Aditya c0223a4414 Merge PR #5006: Modular AnteDecorator 2019-10-10 08:46:09 -04:00
Joon 8e3f967c3f Merge PR #4998: [ADR-012] - State Accessors 2019-09-30 16:17:55 -04:00
frog power 4000 87740a53c3
Merge PR #4827: ADR 007 / 008: Specialization Groups Abstraction / CERT Group
* draft ADR 7

* working

* new CERT ADR seperated

* working

* ...

* complete ADR 007

* CERT Group ADR

* dCERT

* @fede membership admittance discussion

* @fedekunze comments

* @AdityaSripal CERT usefulness

* @AdityaSripal @jleni circuit breaker discussion

* proposal ids discussion

* Update docs/architecture/adr-008-dCERT-group.md

Co-Authored-By: Aditya <adityasripal@gmail.com>

* @AdityaSripal comments

* Apply suggestions from @alexanderbez

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* Update docs/architecture/adr-007-specialization-groups.md

* Update docs/architecture/adr-008-dCERT-group.md

* Update docs/architecture/adr-008-dCERT-group.md

* Update docs/architecture/adr-008-dCERT-group.md

* Update docs/architecture/adr-008-dCERT-group.md

* Update docs/architecture/adr-008-dCERT-group.md

Co-Authored-By: Marko <marbar3778@yahoo.com>

* @alexanderbez comments

* blockchain agnostic per @cwgoes comment

* Apply suggestions from code review

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* @alexanderbez second pass comments

* stablization period, and delegating dCERT stake discussion
2019-09-30 15:05:29 -04:00
Hans Schoenburg 3aca119fd1 Merge PR #5074: move docs/spec into x/module/spec 2019-09-19 17:42:31 -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
gamarin2 0992c2994c Merge PR #5014: Docs fixes
* various fixes

* translations to root
2019-09-09 10:22:15 -07:00
Ruaridh d7d7a93729 Merge PR #4986: ADR 011 - Generalize Genesis Accounts 2019-09-05 10:02:48 -04:00
Alexander Bezobchuk f010d2c6f1
Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -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 10e49c1479 Merge PR #4942: ADR 010: Modular AnteHandler 2019-08-28 11:36:44 -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
mircea-c 450c8ced2c Merge PR #4787: Updated docs build process 2019-08-26 09:09:18 -04:00
Alexander Bezobchuk 412462b7da
Merge PR #4910: Tx Lifecycle Doc Cleanup 2019-08-15 13:01:17 -04:00
poldsam 74cb4869b9 Merge PR #4813: ADR-006 Secret Store 2019-08-15 11:02:36 -04:00
Marko f1adb7afd9 Merge PR #4904: Remove empty files and broken links 2019-08-14 11:05:01 -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
colin axner 83db58ec5e Merge PR #4863: Fix doc links 2019-08-08 13:20:31 -04:00
gamarin2 1dfbfc08d7 Merge PR #4871: fix vuepress 2019-08-08 12:05:03 -04:00
Gloria Zhao ddf0e6fe36 Merge PR #4739: deleted concepts, moved tx-lifecycle 2019-08-07 10:31:47 -04:00
Federico Kunze 593ea5c609 Merge PR #4808: Simulation concepts doc 2019-08-03 18:55:33 -04:00
Denis Fadeev 99371010f8 Merge PR #4830: Edit link in docs should point to the master branch 2019-08-01 15:02:13 -04:00
frog power 4000 fd92504f84 Merge PR #4829: Fix a bunch of broken/incorrect links 2019-08-01 14:02:35 -04:00
Federico Kunze 8c989fd424 Merge PR #4797: blacklist module accounts from receiving txs 2019-07-31 11:39:02 -04:00
Alexander Bezobchuk 2b3d78599e
Merge PR #4772: Add New Events Attributes 2019-07-24 15:50:34 -07:00
Minseo Park bbb7113309 Merge PR #4752: ABCI Part Additional Translation 2019-07-22 07:35:23 -04:00
Marko b45a94a54e Merge PR #4743: Update ADR template 2019-07-19 15:53:36 +02:00
Federico Kunze 52edb032ca Merge PR #4717: update x/slashing to match module spec 2019-07-19 15:43:38 +02:00
Marko 72ce6df7b6 Merge PR #4742: Add Table of Contents to README 2019-07-19 15:23:35 +02:00
Gloria Zhao c03f9690b6 Merge PR #4497: tx-lifecycle concept doc 2019-07-18 08:12:27 -07:00
Marko 7bc705af85 ADR section to Contribution (#4703)
- Added a ADR section to the Contributing.md
- This will streamline and create a central palce for discussions
- Currently conversations are fragmented across platfroms and different forum posts,
  the aim here is to move it all to one place and create a document to be used as
  reference in the future for why SDK went in this direction.
2019-07-18 15:17:40 +01:00
gamarin2 ae77f0080a Merge PR #4691: Add baseapp concept doc
* consolidate intro

* start anatomy of sdk app

* wokring

* working

* querier

* working

* workiiiing

* finish

* add dep and makefile

* Apply suggestions from code review

Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com>

* typo

* typo

* Apply suggestions from code review

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com>
Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* refactor for new module interface

* karoly review

* Apply suggestions from code review

Co-Authored-By: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* encoding

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* hans review'

* jack review + clarification on ABCI methods
2019-07-17 09:26:48 -07:00
colin axner 8c7ed19251 Remove Basic Permission (#4722)
Module account has "basic" permissions.
Since it is never checked against, we just delete it.

Closes: #4702
2019-07-16 15:02:36 +01:00
colin axner 1c9a188346 Merge PR #4679: Extended permissions for module accounts 2019-07-06 15:42:06 -04:00
Karoly Albert Szabo 00f753d684 Merge PR #4471: Migrate genesis cmd 2019-07-03 12:21:34 -04:00
Marko 66e85c592d Merge PR #4662: Removed Previous IBC repo and docs 2019-07-02 11:19:49 -04:00
Federico Kunze 5d5f0149a4 Merge PR #4599: Supply module spec
* supply spec

* update spec

* update other modules

* update distr

* update spec according to latest refactors

* Apply suggestions from code review

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* updated spec

* Apply suggestions from code review

Co-Authored-By: Marko <marbar3778@yahoo.com>

* final updates

* Apply suggestions from code review

Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com>

* word wrap in supply concepts

* edits to concepts
2019-07-01 18:47:55 +02:00