Commit Graph

1688 Commits

Author SHA1 Message Date
Aleksandr Bezobchuk
690f6290c8
Update ADR 2020-03-13 09:35:14 -04:00
Aleksandr Bezobchuk
b38d3ae69a
Update ADR and types 2020-03-12 15:35:22 -04:00
Aleksandr Bezobchuk
34f9fc439a
Implement canonical signing 2020-03-12 13:32:03 -04:00
Aleksandr Bezobchuk
3a94f42e11
Implement app-level tx 2020-03-12 10:53:27 -04:00
Sunny Aggarwal
8ef4a3dad0
Rename adt-014-proportional-slashing.md to adr-014-proportional-slashing.md 2020-03-10 15:27:53 -04:00
Aleksandr Bezobchuk
9a78fc3b19
Address review 2020-03-09 09:49:30 -04:00
Aleksandr Bezobchuk
c56915d5a5
Add remaining sections 2020-03-06 12:29:44 -05:00
Aleksandr Bezobchuk
aaa2bcc793
Add section on signing 2020-03-06 11:28:24 -05:00
Aleksandr Bezobchuk
812ed54239
Update transactions section 2020-03-06 10:54:29 -05:00
Aleksandr Bezobchuk
b064e1841c
Update context 2020-03-06 10:16:29 -05:00
Aleksandr Bezobchuk
3753d969af
ADR 020 skeleton 2020-03-06 10:05:01 -05:00
mergify[bot]
6c1e3e53e3
[ADR: 013] Observability (#5188)
* [ADR: 013] Metrics

- Inital ADR for metrics with in the SDK
- extending metrics to be module specific as well

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* add some metrics

* update adr-013 to Observability

* Update docs/architecture/README.MD

Co-Authored-By: Jack Zampolin <jack.zampolin@gmail.com>

* change wording

* minor wording change

* add more things

* undo module work

* Fix formatting and added more info

* Address comments

* Address comments

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Timothy Chen <tnachen@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-03-05 16:02:17 +00:00
mergify[bot]
bc863c9212
Update module spec (#5751) 2020-03-05 15:40:25 +00:00
Anthony
2b75f50604
Merge PR #5708: fix type for the event documentation 2020-02-27 02:37:16 -05:00
Marko
f7486b9395
Merge PR #5634: Protobuf - Migrate x/evidence 2020-02-24 17:05:21 +01:00
Marko
e3dc0fd4a6
Merge PR #5671: CORS - Add a Flag for CORS 2020-02-21 12:17:27 +01:00
Alexander Bezobchuk
2f2e7b99cb
Merge PR #5678: Errors Guidelines Doc 2020-02-19 18:13:25 +01:00
Alexander Bezobchuk
5ee65cb897
Merge PR #5650: ADR 019 - Protocol Buffer State Encoding 2020-02-17 17:10:54 +01:00
gamarin2
fa5120a5d8
Merge PR #5654: Replace Lino with Kava in docs 2020-02-17 15:08:16 +01:00
Marko
605afd49eb
Merge PR #5625: docs: sentence about gas is not correct currently 2020-02-07 10:28:54 -05:00
Marko
e1517e7a1d
Merge PR #5604: docs: minor doc formatting & touchup of the scaffold section 2020-02-04 13:16:56 -05:00
Sunny Aggarwal
5412725b35
Merge PR #5459: ADR 18: Extendable Governance Voting Periods 2020-02-04 11:23:49 -05:00
Federico Kunze
c7a6299eb2
Simulation docs (#5033)
* simulation docs

* update docs with the latest simulation changes

* minor imporvments

* clean up of simulation.md

* expand section on weights

* minor reword

* minor wording fix

Co-authored-by: Marko <marbar3778@yahoo.com>
2020-01-31 16:06:05 +01:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
ethan
ea10d1cfc9
fix chinese sdk tutorials URL (#5590) 2020-01-30 14:11:05 +01:00
Marko
677f27f589
Merge PR #5587: docs: remove yarn 2020-01-29 10:10:59 -05:00
Nicolas Mahé
ca952bc9c6
Merge PR #5583: Add to the docs of events and handler to set a new EventManager to the Context 2020-01-29 08:43:48 -05:00
Alexander Bezobchuk
26d6e49d6a
Merge PR #5491: Protobuf Introduction + Types 2020-01-24 10:32:00 -05:00
gamarin2
13464f234c Add quick start guide (#5517)
* start

* test

* guide

* Apply suggestions from code review

* typo

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-01-17 18:11:22 +01:00
Sunny Aggarwal
0bbb01b5a9 Merged PR #5211: [ADR: 014] Proportional Slashing 2020-01-17 09:54:03 -05:00
ykc
a93a596892 Fix typo (#5523) 2020-01-15 08:14:25 +01:00
Christopher Goes
ca2ca22241 Merge PR #5494: ADR 004: Split Denomination Keys 2020-01-14 10:51:20 -05:00
Alexander Bezobchuk
25be589af6
Merge PR #5482: Update Query Txs by Events Command 2020-01-06 11:49:31 -05:00
b-harvest
0e624429fc Merge PR #5233: ADR 016: Validator consensus key rotation 2020-01-05 16:57:18 -05:00
Christopher Goes
e77496f77e Merge PR #5469: ADR 003 follow-up 2020-01-05 15:25:56 -05:00
Sunny Aggarwal
17d639aa60 Merge PR #5452: Pass in sdk.Context to router.Route() 2020-01-04 14:50:38 -05:00
billy rennekamp
900502fc21 Merge PR #5464: Update config.js 2020-01-02 12:31:55 -05:00
Marko
43e25e283e Merge PR #5463: docs: add link to iavl documentation 2020-01-02 10:25:09 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
Denis Fadeev
13378bd2cf Docs: hide frontmatter, bugfixes (#5413)
* encoding

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* module doc start

* finish intro

* working

* workinnn

* add transactions into core

* hans comments

* add transactions into core

* working

* gautier comments

* clean

* working

* consolidate intro

* querier

* workiiiing

* refactor for new module interface

* karoly review

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* finish intro

* workinnn

* initial commit after rebase

* query-lifecycle and started modules-interfaces

* query-lifecycle first draft done

* module interfaces first draft

* rest and intro skeletons

* rest and intro done

* small edits and links

* comments

* revisions

* cli.md comments

* comments

* minor edits

* better flow for query lifecycle

* add transactions into core

* hans comments

* add transactions into core

* checkout master-docs files

* deleted some

* remove modules readme

* cli.md comments

* comments

* module-interfaces comments

* Merge PR #4857: Add Context concept doc

* working

* working

* finish messages and queries

* handler

* querier

* last comments!

* punctuation

* querier2

* consolidate intro

* querier

* workiiiing

* refactor for new module interface

* karoly review

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* finish intro

* workinnn

* initial commit after rebase

* query-lifecycle and started modules-interfaces

* query-lifecycle first draft done

* module interfaces first draft

* rest and intro skeletons

* rest and intro done

* small edits and links

* comments

* revisions

* cli.md comments

* comments

* minor edits

* better flow for query lifecycle

* checkout master-docs files

* deleted some

* remove modules readme

* cli.md comments

* comments

* module-interfaces comments

* keeper

* genesis

* finish

* Apply suggestions from code review

Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>

* hans review

* Update docs/core/baseapp.md

Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>

* working

* last comment

* workin

* Apply suggestions from code review

* encoding and node

* almost finish store

* finish docs

* fixes

* fede comments + permalinks

* hans review

* add more permalinks

* update docs theme version (#5239)

* R4R: Docs Cleanup (#5246)

* start

* work

* work

* work

* remove table of content

* links intro

* fix links

* remove junk

* cleanup

* cleanup

* work

* finish cleanup

* addback readmes

* remove nft

* fix links

* remove dup

* remove dup

* remove dup

* remove dup

* remove dup

* fix links

* add subscribe events

* refine rest

* index page

* sidebar

* theme version

* theme version

* testing netlify

* theme version

* tooltip example

* version

* testing code embedding

* reverting back

* theme version

* version

* version

* version

* readme and version

* cleanup

* redo app anatomy

* modules readme, theme version

* theme version

* fix modules list

* theme version

* new snippets

* modules readme

* update docs readme

* modify synopsis

* version

* fix yaml

* version

* version

* version

* version

* version

* version

* version

* version

* version

* version

* add hide banner

* version

* version

* version

* small fixes

* modules readme, version

* remove hotkeys dep, version

* version

* version

* version

* version

* version

* version

* version

* slight notice

* fix links and hide

* permalinks

* small clean

* version

* resolve conflicts, add google analytics

* fix merge remants

* version

* changelog 1/2

* Changelog: docs UI

* version

* remove merge conflicts

* Code: Update link for Contributing to the docs to docs_readme

* HTML/CSS: Update layout of homepage footer to match new layout in Figma

* version

* final modifs

* modules, version

* modules readme

* link to module list from homepage

* version

* building modules link

* version

* version

* fonts

* version

* version

* fix link

* fix package.json

* links in explore sdk section

* core concepts

* version

* change delimeters for frontmatter

* frontmatter in comments

* version

* temp add tiny-cookie

* fixed link issues

* fixed styling issues, copy

* hide frontmatter

* hide frontmatter

* layout fixes, padded ascii diagram

* fira sans font for code
2019-12-17 08:44:44 -03:00
Christopher Goes
b04dcf2be0 Merged PR #5397: ADR 003: Dynamic Capability Store 2019-12-16 09:17:35 -05:00
Denis Fadeev
96b384b269 Fix links on homepage, reduce font weight in cards (#5396) 2019-12-12 11:58:22 +00:00
gamarin2
b8f5b09831 One more quickfix to docs (#5394) 2019-12-12 00:50:23 +00:00
gamarin2
5e89009e56 Bump font weight docs website and fix link (#5391) 2019-12-11 22:58:22 +00:00
Joon
5ce4bebf17 Merge PR #5230: [ADR: 015] IBC Packet Receiver 2019-12-11 21:06:45 +01:00
gamarin2
7c9164cdc8 Final updates for new docs website (#5388)
* 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

* module doc start

* finish intro

* working

* workinnn

* add transactions into core

* hans comments

* add transactions into core

* working

* gautier comments

* clean

* working

* consolidate intro

* querier

* workiiiing

* refactor for new module interface

* karoly review

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* finish intro

* workinnn

* initial commit after rebase

* query-lifecycle and started modules-interfaces

* query-lifecycle first draft done

* module interfaces first draft

* rest and intro skeletons

* rest and intro done

* small edits and links

* comments

* revisions

* cli.md comments

* comments

* minor edits

* better flow for query lifecycle

* add transactions into core

* hans comments

* add transactions into core

* checkout master-docs files

* deleted some

* remove modules readme

* cli.md comments

* comments

* module-interfaces comments

* Merge PR #4857: Add Context concept doc

* working

* working

* finish messages and queries

* handler

* querier

* last comments!

* punctuation

* querier2

* consolidate intro

* querier

* workiiiing

* refactor for new module interface

* karoly review

* working on baseapp doc

* baseapp work

* reorg

* almost there

* finish first draft

* remove old files

* finish intro

* workinnn

* initial commit after rebase

* query-lifecycle and started modules-interfaces

* query-lifecycle first draft done

* module interfaces first draft

* rest and intro skeletons

* rest and intro done

* small edits and links

* comments

* revisions

* cli.md comments

* comments

* minor edits

* better flow for query lifecycle

* checkout master-docs files

* deleted some

* remove modules readme

* cli.md comments

* comments

* module-interfaces comments

* keeper

* genesis

* finish

* Apply suggestions from code review

Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>

* hans review

* Update docs/core/baseapp.md

Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>

* working

* last comment

* workin

* Apply suggestions from code review

* encoding and node

* almost finish store

* finish docs

* fixes

* fede comments + permalinks

* hans review

* add more permalinks

* update docs theme version (#5239)

* R4R: Docs Cleanup (#5246)

* start

* work

* work

* work

* remove table of content

* links intro

* fix links

* remove junk

* cleanup

* cleanup

* work

* finish cleanup

* addback readmes

* remove nft

* fix links

* remove dup

* remove dup

* remove dup

* remove dup

* remove dup

* fix links

* add subscribe events

* refine rest

* index page

* sidebar

* theme version

* theme version

* testing netlify

* theme version

* tooltip example

* version

* testing code embedding

* reverting back

* theme version

* version

* version

* version

* readme and version

* cleanup

* redo app anatomy

* modules readme, theme version

* theme version

* fix modules list

* theme version

* new snippets

* modules readme

* update docs readme

* modify synopsis

* version

* fix yaml

* version

* version

* version

* version

* version

* version

* version

* version

* version

* version

* add hide banner

* version

* version

* version

* small fixes

* modules readme, version

* remove hotkeys dep, version

* version

* version

* version

* version

* version

* version

* version

* slight notice

* fix links and hide

* permalinks

* small clean

* version

* resolve conflicts, add google analytics

* fix merge remants

* version

* changelog 1/2

* Changelog: docs UI

* version

* remove merge conflicts

* Code: Update link for Contributing to the docs to docs_readme

* HTML/CSS: Update layout of homepage footer to match new layout in Figma

* version

* final modifs

* modules, version

* modules readme

* link to module list from homepage

* version

* building modules link

* version

* version

* fonts

* version

* Update post.sh
2019-12-11 18:35:27 +01:00
gamarin2
b18bd06a36 Merge PR #5379: New docs V1 (merge master-docs to master) 2019-12-10 09:29:46 -05:00
Marko
7d7821b9af Add Scaffolding tooling to README (#5376)
- added scaffolding tool to README
- removed unnecessary docs

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
2019-12-09 12:32:53 +01:00
Christopher Goes
202cb9be0b Merge PR #5340: ADR 17: Historical header module 2019-12-04 10:18:02 -05:00
Alessio Treglia
a13909a9ff Fix dangling link in docs/spec/ (#5334) 2019-11-21 11:31:17 +01:00
Cyrus Goh
c16c32aefa Add GA for docs.cosmos.network (#5320) 2019-11-19 17:50:24 +01:00
dependabot[bot]
7c975f1700 Bump lodash from 4.17.11 to 4.17.13 in /docs (#5318)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-19 15:16:37 +01:00
Alessio Treglia
f6334f191f Update ADR 006 (#5326) 2019-11-19 09:51:39 +00:00
Paul Weidner
bb221a52ff Merge PR #5324: Fix links to ocap 2019-11-18 11:28:08 -08:00
dependabot[bot]
08ce57bf00 Bump lodash.template from 4.4.0 to 4.5.0 in /docs (#5319)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-18 11:25:50 +00:00
Alessio Treglia
d4c831e63a Drop on-disk keybase in favor of keyring (#5180)
* Switch keys commands to keyring

* Replace NewKeybase with NewKeyring

* Fix delete test

* Purge dead code

* Override COSMOS_SDK_TEST_KEYRING envvar to switch to a test keyring

* s/unningOnServer/unningUnattended/

C'ing @tnachen

* Add deprecated warning, output looks like the following:

```
$ gaiacli keys update --help
Command "update" is deprecated, it takes no effect with the new keyring
based backend and is provided only for backward compatibility with the
legacy LevelDB based backend.
Refer to your operating system's manual to learn how to change your
keyring's password.

Change the password used to protect private key

Usage:
  gaiacli keys update <name> [flags]

Flags:
  -h, --help   help for update

Global Flags:
      --chain-id string   Chain ID of tendermint node
  -e, --encoding string   Binary encoding (hex|b64|btc) (default "hex")
      --home string       directory for config and data (default "/home/alessio/.gaiacli")
  -o, --output string     Output format (text|json) (default "text")
      --trace             print out full stack trace on errors
```

* Update multisign command

* Modify server.GenerateSaveCoinKey()

* GenerateSaveCoinKey more modifications

* Update docs

* Update upgrade module
2019-11-14 15:17:21 +01:00
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
Peng Zhong
997c4129ea Merge PR #4643: Update cosmos sdk image, remove unused images 2019-06-30 16:29:05 -04:00
Aditya
f9dea984c2 Merge PR #4629: Emit Warning Events when Validator Misses Blocks 2019-06-28 13:53:30 -04:00
Alexander Bezobchuk
67f6b02118 Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update
* Update Tendermint to v0.32.0-dev0

* Initial refactor of tags

* Update event types and add unit tests

* Refactor context

* Update module manager

* Update result godoc

* Implement ToABCIEvents

* Update BaseApp

* Minor cleanup

* Fix typo

* Update x/bank message handler

* Update x/bank keeper

* Update x/bank

* Update x/bank events docs

* Update x/crisis module events

* Reset context with events on each message exec

* Update x/distribution events and docs

* Update BaseApp to not set empty events manually

* Implement simple event manager

* Update module manager

* Update modules to use event manager

* Update x/gov module to use events

* Update events docs

* Update gov queries and crisis app module

* Update bank keeper

* Add events to minting begin blocker

* Update modules to use types/events.go

* Cleanup x/mint

* Update x/staking events

* Update x/staking events

* Update events to have sender part of message.sender

* Fix build

* Fix module unit tests

* Add pending log entry

* Update deps

* Update x/crisis/types/events.go

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

* Update x/bank/internal/types/events.go

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

* Update x/distribution/types/events.go

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

* Update x/mint/internal/types/events.go

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

* Update x/slashing/types/events.go

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

* Update x/staking/types/events.go

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

* Update x/gov/handler.go

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

* Update x/gov/handler.go

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

* Update x/mint/abci.go

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

* Update x/mint/abci.go

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

* Update x/slashing/handler.go

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

* Update x/staking/handler.go

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

* Update x/slashing/handler.go

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

* Update x/staking/handler.go

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

* Update x/staking/handler.go

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

* Update x/staking/handler.go

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

* Upgrade TM to v0.32.0-dev1

* Update events as strings

* Update Tendermint to v0.32.0-dev2

* Fix BaseApp unit tests

* Fix unit tests

* Bump tendermint version to v0.32.0

* typos
2019-06-26 18:03:25 +02:00
Alexander Bezobchuk
0feee1c160
Merge PR #4618: Module Structure Spec 2019-06-25 11:14:09 -04:00
Marko
a79749564e Merge PR #4571: Update .vuepress 2019-06-18 08:04:47 -04:00
shirleypyj
36142ab624 Merge PR #4567: Update README.md 2019-06-17 22:54:49 -04:00
frog power 4000
8c89023e9f Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power" 2019-06-12 17:57:47 +02:00
gamarin2
b096357d99 Merge PR #4426: Anatomy of an SDK App Doc 2019-06-12 13:22:27 +02:00
Alexander Bezobchuk
dc84c99dee Revert "Generalize auth/types.StdSignature (#4507)" (#4512)
This reverts commit a32d5a46d7.
2019-06-08 11:04:52 +01:00
Alessio Treglia
a32d5a46d7
Generalize auth/types.StdSignature (#4507)
New Signature interface available in the top level types package.
auth.StdSignature implements such interface. User defined auth
module can now define their own custom signature types.

Work carried out in the context of the following issues:
- #4488
- #4487
2019-06-07 14:21:35 +01:00
gamarin2
d80a980c30 Merge PR #4484: Fix docs build 2019-06-05 14:13:39 -04:00
Federico Kunze
d322e23425 Merge PR #4417: cleanup staking references from types pkg
* cleanup staking references from types pkg

* check interface on runtime

* fixes

* rename validator set from slashing keeper

* final cleanup

* fix test

* fix querier

* fix tests

* rename interfaces

* update bond status

* fixes

* expected pkg

* ensure expected keepers match used funcs

* cha cha cha
2019-06-04 15:06:58 -07:00
Hans Schoenburg
52be449be1 Merge PR #4463: remove docs/_attic 2019-05-31 17:19:30 -04:00
Tiny熊
3968f63099 Merge PR #4430: update "intro docs" cn translation to 05/27 2019-05-29 08:57:23 -04:00
JP Thor
61d0f888b7 Merge PR #4424: Update README.md 2019-05-28 10:37:29 -04:00
Jordan Sexton
8fecc7724b Merge PR #4312: Touch up light client docs 2019-05-27 14:03:06 -07:00
Alexander Bezobchuk
91dc870e97 Merge PR #4404: Update Spec to include params
* Add staking params to spec

* Update format

* Add slashing params

* Update staking params

* Add minting params doc

* Add gov params doc

* Add distr params doc

* Add crisis params doc

* Add bank params doc

* Add auth params doc

* Update SPEC-SPEC
2019-05-24 12:18:07 -04:00
gamarin2
a7a1a469ae Merge PR #4408: remove cosmos hub docs translation 2019-05-24 09:04:28 -04:00
gamarin2
e53d23390d Merge PR #4376: DOCS: Consolidate Intro Material 2019-05-23 15:16:32 -07:00
gamarin2
995aea853c Merge PR #4388: Remove gaia docs from sdk repo 2019-05-21 14:16:55 -04:00
Marko
c0d8fb8a25 Merge PR #4353: Documentation Fixes 2019-05-17 09:24:24 -04:00
Alessio Treglia
4b7d295eca
reproducible builds CI integration (#4337)
Enable reproducible builds on master.

Overhaul build script, update docs accordingly.
2019-05-16 19:05:56 +01:00
Alessio Treglia
805de8b9f5 Merge PR #4343: Update go to 1.12.5 2019-05-15 11:17:20 -04:00
Alessio Treglia
c0486aa532
R4R: Infrastructure for reproducible builds (#4262)
This change set introduces support for building gaia with gitian
on the following GOOS/GOARCH pairs:

- darwin/386
- darwin/amd64
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- windows/386
- windows/amd64

cmd/gaia/contrib/gitian-descriptors/ contains gitian descriptor files.

cmd/gaia/contrib/gitian-keys/ contains:
- a keys.txt file that is meant to list core developers and gitian
  builders PGP keys. 
- README.me to provide instructions on how to import the keys
  into one's personal GPG keyring.

The gosum utility is removed, so is the go.sum hashsum bit from
gaiacli/gaiad version string. It was meant to be a provisional
mitigation to the lack of a reproducible build process.

GOBIN is removed from all Makefiles. When GOBIN is set, go
refuses to cross-compiles binaries for foreign architectures.
export GOBIN=$GOPATH/bin is unnecessary anyway as by
default go install places built binaries in $GOPATH/bin.
Developers are required to update their enviornment files and
replace $GOBIN with $GOPATH/bin in PATH.

circleci configuration file is amended accordingly.

Closes: #4027
Closes: #4280
2019-05-14 00:33:34 +02:00
Hans Schoenburg
3439101421 Merge PR #4286: Add full ledger tutorial
* docs/cosmos-hub/ledger.md Add full ledger tutorial

* Update ledger.md
2019-05-13 11:41:11 -07:00
Frank Yang
3bf1ec501e Merge PR #4334: Align cn-doc to 7558f760 (2019-05-13) and fix some typo of en-doc 2019-05-13 13:56:57 -04:00
Alexander Bezobchuk
2d93efd0d5
Merge PR #4291: Update Gov Spec Abstract 2019-05-08 09:51:59 -04:00
Hans Schoenburg
40f3fdf0f9 Merge PR #4268: Update Gaia Installation Docs 2019-05-04 10:03:22 -04:00
Alessio Treglia
df362ff3e6
Upgrade Go to 1.12.4 (#4261) 2019-05-03 11:33:41 +01:00
Alexander Bezobchuk
67f1e12eec
Merge PR #4253: Change User Supplied Param Change Value to json.RawMessage 2019-05-02 14:21:35 -04:00
Alexander Bezobchuk
5ca93ac574 Merge PR #4206: Param Change Proposal
* Add params error types

* Update param module keeper to take a codespace

* Update imports

* Implement SetRaw and SetRawWithSubkey

* Implement ParamChange and update aliases

* Add types codec

* Implement ParameterChangeProposal

* Implement TestParameterChangeProposal

* Fix linting errors

* Update tags

* Implement content

* Updata params aliases

* Finish params handler and proposal types

* Move deposit and vote logic to types package

* Move proposal type to types package

* Move errors to types package

* Update proposal

* Move gov messages to types package

* Minor updates to naming

* Move keys to types package

* Move codec to types package

* Move proposal types to types package

* Update aliases

* Add governance alias types

* Implement governance router

* Update gov aliases

* Update gov keeper

* Update private functions needed for the keeper

* Update godocs

* Update the gov message handler

* Update Gaia app

* Make updates to auth

* Update the message codec in the keeper

* Update gov end blocker

* Update types tests

* Minor tweaks

* Add legacy genesis logic

* Update gov aliases

* Move gov keys to types package

* Revertt to using gov/types in params

* Implement params handler test

* Update governance tests

* Fix endblocker tests

* Fix governance querier tests

* Add seal support to gov router

* Update simulationCreateMsgSubmitProposal

* Disable software upgrade proposals

* Move params keys to types package

* Implement param module proposal client logic

* Update gov client logic

* Update gaia app client hooks

* Fix linting errors

* Fix ValidateBasic

* Remove legacy files

* Update paramchange to use strings

* Update paramchange cli cmd

* Update ValidateBasic and errors

* Use PostCommands when adding child cmds

* Fix codec logic

* Update params client and handler

* Update IsValidProposalType

* Update SubmitProposal to test exec

* Implement TestGaiaCLISubmitParamChangeProposal

* Implement TestSubmitParamChangeProposal

* Update swagger.yaml

* Update gaiacli.md

* Update gov spec docs

* Fix linting errors

* Fix unit tests

* Add pending log entries

* Update docs

* Update docs

* Update client/lcd/swagger-ui/swagger.yaml

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

* Update docs/cosmos-hub/gaiacli.md

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

* Update cmd/gaia/cli_test/test_helpers.go

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

* Update client/lcd/test_helpers.go

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

* Update docs/cosmos-hub/gaiacli.md

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

* Update docs/cosmos-hub/gaiacli.md

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

* Update docs/cosmos-hub/gaiacli.md

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

* Update x/gov/types/proposal.go

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

* Update docs/cosmos-hub/gaiacli.md

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

* Update docs/cosmos-hub/gaiacli.md

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

* Address PR comments

* Update docs/cosmos-hub/gaiacli.md

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

* Update gov docs to include quorum notes

* Add logs to handleParameterChangeProposal

* Update docs/spec/governance/02_state.md

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

* Support and use new StatusFailed when proposal passes but fails exec

* Add docs/notes warning on param validity

* Update docs

* Update docs/spec/governance/02_state.md

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

* Update docs/spec/governance/02_state.md

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

* Minor doc update

* Update x/gov/client/cli/tx.go

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

* Fix usage of fromAddr

* Rige code style  suggestion

* Update x/params/types/proposal.go

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

* Fix CI lint errors

* Update NewModuleClient godoc

* Add godoc to rtr.Seal() call

* Rename files

* Rename NewProposalHandler
2019-04-30 12:31:38 -04:00
hukkinj1
6bb94ae814 Merge PR #4224: Fix typo in docs 2019-04-29 10:53:00 -04:00
Frank Yang
df2e0bf178 Update docs/translations/cn/cosmos-hub to 36dcd7b7 (#4211)
Update Chinese documents of cosmos-hub to 0e54369.

Remove non-Chinese blogs.

Fix some typo of English documents of cosmos-hub.

Rename gaia to cosmos-hub
2019-04-29 14:25:32 +01:00
mircea-c
36dcd7b7ad Merge PR #4205: Mircea/update contributing md
* Update `CONTRIBUTING.md` branching strategy and release process

* Delete PRIORITIES.md

* Delete RELEASE_PROCESS.md

* Remove RELEASE_TEST_SCRIPT.md

* Update CONTRIBUTING.md

Co-Authored-By: mircea-c <mircea@tendermint.com>
2019-04-26 21:57:03 -04:00
Alexander Bezobchuk
ec4a1e8f2a
Merge PR #4207: Add rewards and commission tags in txs 2019-04-26 19:11:45 -04:00
frog power 4000
1cc1148807
Update docs/cosmos-hub/upgrade-node.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2019-04-25 21:49:43 -04:00
Aleksandr Bezobchuk
e7ca82d808
Merge branch 'develop' into release/v0.34.2 2019-04-25 21:40:33 -04:00
Ethan Buchman
296a8c81c8
Merge branch 'master' into release/v0.34.2 2019-04-25 17:11:59 -04:00
Alexander Bezobchuk
66a913c205
Merge PR #4181: Cherry pick 4135 v0.34.2 2019-04-24 11:56:28 -04:00
Juan Leni
29755e66f6 Merge PR #3659: KMS Documentation/Tutorial. How to run a Validator with a Ledger device 2019-04-24 11:00:33 -04:00
gamarin
dcdd597350 udate upgrade node doc 2019-04-23 19:57:30 +02:00
gamarin
d48436fb0f fix conflicts 2019-04-23 19:18:40 +02:00
gamarin
5d10a6f05b code review 2019-04-23 19:17:36 +02:00
Federico Kunze
0a51d56e90
Apply suggestions from code review
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2019-04-23 19:17:13 +02:00
gamarin
4742e406ae few nits 2019-04-23 16:14:56 +02:00
gamarin
8e9210664f docs update 2019-04-23 16:11:16 +02:00
Alexander Bezobchuk
c6cb84c558
Merge PR #4059: Add support for graceful halt via server config 2019-04-23 09:33:11 -04:00
Alessio Treglia
93e8f467fe
Turn --from into a positional argument in gaiacli tx send (#4146)
Closes: #4142
2019-04-18 19:48:52 +01:00
mircea-c
fc1c58a246 Updated release process documentation (#4133) 2019-04-17 18:02:06 +01:00
Frank Yang
1b726ad88a Translate doc clients to chinese. (#4129) 2019-04-17 17:10:57 +01:00
Alexander Bezobchuk
0c23dec59f
Merge PR #4135: Minor Fixes
* Add clarification to gen-only
* Add nil type check in NewResponseFormatBroadcastTxCommit
* Add small note to docs re: generate-only
2019-04-16 13:02:36 -04:00
Frank Yang
c4f53facd9 R4R: Fix incorrect $GOBIN in Install Go. (#4113)
Fix empty path in `Install Go`.

This bug was fixed by #3975, and broken by #4089
2019-04-16 10:05:28 +01:00
Frank Yang
dfe58f8d8d Merge PR #4123: Fix typo in docs; fix url error and outdated command description of doc clients 2019-04-15 18:47:17 -04:00
Aleksandr Bezobchuk
f8b9a60d67
Fix docs config 2019-04-10 19:22:15 -04:00
gamarin2
958029680e Merge PR #4093: Fix Docs 2019-04-10 19:19:48 -04:00
Federico Kunze
8550d87319 unified sender tag (#4057)
Closes: #3775
2019-04-10 18:03:44 +01:00
gamarin2
cf0f73a9ca Merge PR #4091: Fix docs 2019-04-10 12:28:48 -04:00
Alexander Bezobchuk
eb94252011
Merge PR #4089: Update docs from release/v0.34.0 2019-04-10 11:55:33 -04:00
Federico Kunze
2cd2289a11 add category tags (#4049)
Closes: #3774
2019-04-09 13:55:01 +01:00
zxh0
d742b9e6ef Merge PR #4074: Fix Docs Typo 2019-04-09 08:53:34 -04:00
Frank Yang
9e7440a92c Merge PR #4064: Remove dep/vendor from documentation and version cmd
* Remove `dep` and `vendor` from documentation
* Replace vendor with go.sum hash in version command
2019-04-08 11:00:17 -04:00
gamarin2
1a8ab1c321 Merge PR #4019: Update Docs from Staging 2019-04-05 10:37:13 -04:00
Frank Yang
055d219301 Add GO111MODULE=on to environment. (#4042) 2019-04-04 15:38:02 +01:00
Jack Zampolin
7f1b46ecc1
Merge PR #4041: Manual for the Crisis Module 2019-04-03 13:38:10 -07:00
rigelrozanski
2c4823865c crisis manual
int
2019-04-03 16:16:39 -04:00
Aleksandr Bezobchuk
fbc3fcb0f0
Merge branch 'master' into release/v0.34.0 2019-04-03 10:58:46 -04:00
gamarin2
ecba8a154a Merge PR #4037: Fix doc conflicts 2019-04-03 10:36:19 -04:00
Christopher Goes
5b87966ee2
Merge PR #4022: Link to latest IBC spec 2019-04-02 18:19:06 +02:00
Frank Yang
3e26ea7819 Merge PR #4015: Fix Documentation Inconsistency 2019-04-01 14:42:02 -04:00
Alexander Bezobchuk
b95ade93bd Merge PR #4011: Mint/Inflation Querier, LCD and CLI
* A few godoc updates

* More minor tweaks and reformatting

* Implement initial minting querier

* Implement stringer interface for minting params

* Minor cleanup

* Add minting CLI commands

* Implement inflation query command

* Implement annual provisions query and CLI command

* Update x/mint/client/module_client.go

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

* Update x/mint/client/module_client.go

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

* Update x/mint/client/module_client.go

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

* Update x/mint/querier.go

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

* Add minting REST client routes/handlers

* Fix build issues

* Implement querier unit tests

* Update gaiacli docs

* Implement LCD tests

* Update Swagger docs

* Add pending log entry

* add examples

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

* revert adding examples

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
2019-04-01 10:28:36 -07:00
frog power 4000
df4394185e
Merge PR #3656: Broken-Invar Tx - aka. Crisis module
* beginning thinking on issue

* ...

* working

* working

* working fee pool distribution

* spek outline

* spec update

* gas refund calculations

* simulation saved to ~/.gaiad/simulations/

* lean simulation output

int

* cleanup bank simulation messages

* operation messges

int

* lint

* move simulation to its own module

* move simulation log code to log.go

* logger overhaul

int

* distribution comments

* fix compiling

* cleanup modifications to x/distribution/keeper/allocation.go

int

int

int

* gov bug

* result.IsOK() minimization

* importExport typo bug

* pending

* address @alexanderbez comments

* simple @cwgoes comments addressed

* event logging unified approach

* distr module name constant

* implementing

* compiles

* gaia integration

* proper constant fee removal

* crisis genesis

* go.sum update

* ...

* debugging

* fix sum errors

* missing err checks

* working implementing CLI

* remove query command

* crisis expected keepers in other modules

* crisis testing infrastructure

* working

* tests complete

* modify handler to still panic if not enough pool coins, docs working

* spec tags

* docs complete

* CL

* assert invariants on a blockly basis gaiad functionality

* gaiad CL

* transaction details in runtime invariance panic

* Apply suggestions from code review

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* sender tags

* @mossid suggestions

int

* @cwgoes comments final

* Apply suggestions from code review

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* bug seems fixed (#3998)

* delete unused line in zero height export bug
2019-03-28 19:27:47 -04:00
Frank Yang
e5897d8d91 Merge PR #3996: Update DOCS_README
Update references to make targets
2019-03-28 12:39:21 -04:00
Jack Zampolin
38b7c0705c Implement client functionality for the community pool (#3939)
Fixes: #3937
2019-03-28 01:05:36 +00:00
Aaron Craelius
82d437f206 Fix broken cosmos-sdk go module (#3982)
The unicode characters in the filename of the Chinese language launch article were breaking the cosmos-sdk go module for module consumers.
2019-03-27 17:45:08 +00:00
Frank Yang
83f3d1e192 Merge PR #3975: Missing source ~/.bash_profile when setting the go environment 2019-03-25 22:04:55 -07:00
Alexander Bezobchuk
2b43e25d55
Merge PR #3954: Tx Broadcasting Sync by Default 2019-03-25 20:54:23 -04:00
Frank Yang
5c2077c150 Merge PR #3935: Modify stake to uatom in gaia's doc
* Modify stake to atom in gaia's doc. #3833

* Scale up the amount from atom to uatom.

* Scale up the amount from atom to uatom.

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>

* modify for review
2019-03-25 17:15:54 -04:00
Alexander Bezobchuk
59765cecb1 Merge PR #3857: Remove Shares Concept from Unbond/Redelegate UX
* Remove shares concept from unbonding and redelegation

* Remove redundant staking REST type declerations

* Rename staking REST request types

* Fix slashing tests

* Fix staking tests

* Fix integration tests

* Add safety checks for when validator tokens are zero

* Attempt to fix simulation

* Add pending log entry

* Update docs

* Implement and use SharesFromTokens

* Rename ShareTokens and ShareTokensTruncated

* Rename Delegation to Amount in DelegateRequest

* Implement and use SharesFromTokensTruncated

* Update MsgDelegate to use Amount instead of Value

* Use constructors in staking sim messages

* Implement and use ValidateUnbondAmount
2019-03-25 17:13:02 -04:00
Zaki Manian
2788c2250d Merge PR #3968: Documentation on how to sign Cosmos transactions 2019-03-25 18:20:03 +01:00
frog power 4000
2ca86c8605 Merge PR #3898: Circuit breaker high level explanation 2019-03-25 16:37:05 +01:00
gamarin2
294ac8e980 Merge PR #3965: Cherry pick docs update to develop 2019-03-22 13:53:37 -07:00
wangjj9219
160928b8f3 Merge PR #3955: update docs chinese translation 2019-03-22 12:06:55 -07:00
Alessio Treglia
8421008042
Remove REST server's secure mode altogether 2019-03-19 18:20:53 +01:00
gamarin2
ce82e01ec4 Merge PR #3922: DOCS: gamarin/master docs update 2019-03-18 16:58:11 -07:00
Chris Remus
faefc80769 Merge PR #3931: DOCS: Update validator-setup.md 2019-03-18 15:12:58 -07:00
frog power 4000
ea9aecdff4
Merge PR #3894: Minting mechanism explanatory docs
* minting spec concepts

* cl

* Update docs/spec/mint/01_concepts.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* typo address @alexanderbez

* Apply suggestions from code review

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* commit for CI to restart
2019-03-18 11:11:31 -04:00
Alessio Treglia
6ce4d5efd1
replace dep with go mod (#3907)
Replace sha1sum with jack's gosum and get rid of
vendor-deps.
Also don't compute hash on vendor/ contents.
Instead hash go.sum.

Disable unconvert lint check. It does not
work very well with go mod.

Remove update_vendor_deps once and for all.

Upgrade to go 1.12

Closes: #3919 #3630
2019-03-18 13:45:25 +01:00
Frank Yang
3d2886dc49 Remove Height Flag from CLI Queries #3883 (#3910)
Closes: #3883
2019-03-16 17:26:40 +01:00
Ismail Khoffi
5115dd4a6a Merge PR #3912: Fix a bunch of typos while skimming through the docs 2019-03-15 18:10:11 +01:00
Joon
465bb02d6a Merge PR #3779: Split Proposal Interface 2019-03-15 17:47:47 +01:00
shirleypyj
868d44879c Merge PR #3904: Create Blastoff — The Cosmos Hub Mainnet is Live-CN 2019-03-15 15:35:36 +01:00
Chjango Unchained
dd0378da88 Merge PR #3902: docs: create blog-3-en.md 2019-03-15 08:12:38 +01:00
dogemos
1bc7716010 Merge PR #3879: Update Korean CLI delegator guide to mainnet spec 2019-03-14 19:13:51 +01:00
Karoly Albert Szabo
48b6b3884f Merge PR #3891: Fix link to genesis 2019-03-14 17:09:39 +01:00
Frank Yang
7e53da86ee Merge PR #3884: steak to stake 2019-03-14 10:32:46 -04:00
gamarin
f39cc0d548 typo fix 2019-03-13 15:37:26 +01:00
gamarin
bd1b693bc6 chris review 2019-03-13 15:32:51 +01:00
Christopher Goes
85b0733a6a
Apply suggestions from code review
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2019-03-13 15:30:48 +01:00
gamarin2
5b62109334 Merge PR #3838: Update Docs for mainnet 2019-03-13 07:09:39 -07:00
gamarin
9e446dfeb7 melekes review 2019-03-13 13:57:09 +01:00
gamarin
5b5960c5e9 fix version 2019-03-12 18:31:23 +01:00
Jack Zampolin
e111162f0c
Update docs/gaia/delegator-guide-cli.md 2019-03-11 14:57:49 -07:00
Jack Zampolin
3f87671232
Apply suggestions from code review
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
2019-03-11 14:57:04 -07:00
gamarin
d563a26415 bez review 2019-03-11 19:20:46 +01:00
gamarin
1662d6b037 finalize mainnet docs 2019-03-11 19:01:05 +01:00
gamarin
7ec3d3d6fc update docs for mainnet 2019-03-11 19:01:05 +01:00
Luigi
db421fc0a6 Merge PR #3847: Fix typos, and update deprecated links 2019-03-11 18:23:46 +01:00
Jae Kwon
4b765b6ab4
Merge pull request #3844 from cosmos/master
Temporarily remove snap from installation instructions
2019-03-09 19:19:31 -08:00
Jae Kwon
506712341d
Temporarily remove snap from installation instructions
Temporarily remove snap from installation instructions until it's been more thoroughly audited.
2019-03-09 19:13:27 -08:00
shirleypyj
c57de3daea Merge PR #3827: Create delegator-guide-cli.md 2019-03-07 21:51:42 -08:00
Alexander Bezobchuk
51c03aa6fe Merge PR #3803: Validator Creation Updates 2019-03-05 17:55:46 +01:00
frog power 4000
52bf9ef9fd Revert "Merge PR #3762: Allow Validator w/ No Self-Delegation to Unjail (Transfers Disabled)"
This reverts commit c2aecb8b0e.
2019-03-01 19:04:37 -05:00
Alexander Bezobchuk
47a44fb580 Merge PR #3748: Multisig Display UX Improvements 2019-03-01 13:29:33 -08:00
Alexander Bezobchuk
c2aecb8b0e Merge PR #3762: Allow Validator w/ No Self-Delegation to Unjail (Transfers Disabled) 2019-03-01 13:19:27 -08:00
Jae Kwon
10bd98e58e Merge PR #3717: Allow the undelegation of more coins than were delegated; More validity checks. 2019-02-27 22:09:26 +01:00
Christopher Goes
e2baa3806a Merge PR #3758: Remove governance_penalty 2019-02-27 08:44:05 -08:00
Jack Zampolin
c3e69c9d36
Create blog-2-cn (#3756)
* Create blog-2-cn

* Update and rename blog-2-cn to blog-2-cn.md
2019-02-27 07:11:01 -08:00
gamarin2
afb21b504a Merge PR #3757: DOCS: val faq review 2019-02-27 07:10:33 -08:00
dogemos
77b9412c04 DOCS: (KR) fix typo, add description (#3755)
- Fixed a few typos
- Added Korean descriptions for command line inputs
2019-02-27 13:07:17 +01:00
shirleypyj
0bb398705c
Update and rename blog-2-cn to blog-2-cn.md 2019-02-27 11:38:35 +08:00
shirleypyj
36ed444caa
Create blog-2-cn 2019-02-27 11:02:40 +08:00
dogemos
3804d0dbb4 Merge PR #3754: DOCS: add launch blog post 2 KR translation 2019-02-26 16:13:05 -08:00
Chjango Unchained
58ee9c955b Merge PR #3749: DOCS: minor link edits to blog 2 2019-02-26 11:25:10 -08:00
Chjango Unchained
1316e2d2eb Merge PR #3742: DOCS: add launch blog post 2 2019-02-26 08:00:02 -08:00
Karoly Albert Szabo
cc938b8ec7 Merge PR #3694: Tagged docker images 2019-02-25 07:53:26 -08:00
Alexander Bezobchuk
b9be1166f7 Merge PR #3673: Message & Codec Registration Consistency 2019-02-25 16:16:52 +01:00
frog power 4000
a814e5ce66
Merge PR #3679: Consistent Operators
* Minus->Sub Plus->Add Div->Quo

* pending

* Update PENDING.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* fix

* typo
2019-02-21 12:35:55 -05:00
frog power 4000
a07b235f67
Merge PR #3683: spec-spec update, spec file reorg, TOC updates
* spec reorg

* ...

* PENDING.md

* @alexanderbez comments
2019-02-20 13:21:57 -05:00
frog power 4000
cf2cdabe6b Merge PR #3690: Update deploy-testnet.md 2019-02-20 06:17:07 -08:00
gamarin2
de3a882adb Merge PR #3695: fix typo del guide 2019-02-20 06:13:07 -08:00
Alessio Treglia
8371095fcd Merge PR #3579: Update installation.md, mention snap packages 2019-02-15 16:36:37 +01:00
gamarin2
fb2d902c43 Merge PR #3649: improve ledger docs 2019-02-14 07:50:39 -08:00
gamarin2
9e9d64ec69 Merge PR #3637: DOCS: Add readme to specs 2019-02-13 10:05:03 -08:00
Juan Leni
787f46546d Merge PR #3620: Indicate build flags in version 2019-02-13 09:53:16 -08:00
dogemos
c71893ed2d Merge PR #3615: Add 'translations/kr' 2019-02-13 15:38:48 +01:00
Jack Zampolin
fe47c103f2 Add kr and cn translations of blog 1 2019-02-12 15:57:59 -08:00
Chjango Unchained
221b1ea3e0 Merge PR #3616: DOCS: add launch blog post 2019-02-12 08:53:51 -08:00
gamarin2
8e6a0d166b Merge PR #3608: DOCS: Fix delegator guide typo 2019-02-11 12:40:35 -08:00
gamarin2
f9b2809dc9 Merge PR #3605: DOCS: fix withdraw instructions in delegator guide 2019-02-11 09:10:04 -08:00
gamarin2
69eddb748c Merge PR #3602: Improve delegator's guide 2019-02-11 08:40:00 -08:00
Ethan Buchman
288df6fe69 add warning and disclaimer 2019-02-09 10:34:07 -05:00
Alessio Treglia
1e65ac4f0d Merge PR #3571: Update RELEASE_PROCESS.md
Update release procedure to ensure both master and develop sit on top of the same commit after release.
2019-02-09 04:15:32 +01:00
frog power 4000
7f74b33e21 Merge PR #3357: Staking spec upgrades / some renaming 2019-02-09 00:57:33 +01:00
Alexander Bezobchuk
7bc837aa06 Merge PR #3555: Reintroduce Fees OR Semantics 2019-02-07 18:14:54 -08:00
Christopher Goes
38068a59ea Merge PR #3507: Results from x/staking & x/slashing peer review 2019-02-07 17:41:23 -08:00
Peng Zhong
31f9938950 Merge PR #3540: Docs: fix broken docs build
missing quote
2019-02-07 11:17:22 -08:00
gamarin2
1be7490d63 Merge PR #3539: Docs: Add delegator guide to website 2019-02-07 10:37:00 -08:00
Jack Zampolin
408484e6d4
Merge PR #3503: CLI flags to args 2019-02-06 16:15:37 -08:00
Alessio Treglia
b63b6254c8 Merge PR #3522: get rid of double negatives: IsNotNegative -> IsAnyNegative 2019-02-06 14:45:15 -08:00
gamarin2
81ba3cf531 Merge PR #3521: Docs: Fix table of content delegator guide 2019-02-06 11:48:34 -08:00
gamarin2
37b8e37567 Merge PR #3444: docs, delegator CLI guide 2019-02-06 08:50:03 -08:00
Alessio Treglia
df94f522f9 Merge PR #3498: various improvements to gaiad gentx/init 2019-02-05 20:57:36 -08:00
Alessio Treglia
ac1d2c73b2 Merge PR #3500: Update RELEASE_PROCESS.md 2019-02-05 19:09:25 +01:00
Joon
f15ad04a57 Merge PR #2605: Paramstore Subkey 2019-02-04 18:13:04 -08:00
Alexander Bezobchuk
082295172e Merge PR #3447: Consume Gas Proportional to Tx Size 2019-02-04 15:35:12 -08:00
Alessio Treglia
857a65dc61 gaiacli switches back to insecure mode by default (#3470) 2019-02-01 19:06:54 -08:00
Alexander Bezobchuk
097a640412 Allow Simulation and Gen Only in REST Client (#3467) 2019-02-01 17:04:13 -08:00
Alessio Treglia
45d59b0792 Merge PR #3464: Upgrade to go 1.11.5 2019-02-01 02:20:58 +01:00
Alexander Bezobchuk
3864d5b1bd Query all Delegator Distribution Rewards (#3433) 2019-01-29 16:06:38 -08:00
Alexander Bezobchuk
90797f5e09 Gaia Lite Generate Only Support (w/o Keybase) (#3396) 2019-01-29 11:22:47 -08:00
Alexander Bezobchuk
1a656e7023 Merge PR #3425: Add Vesting Account Genesis Validation 2019-01-29 19:11:33 +01:00
Sunny Aggarwal
3e6ce3de8d Merge PR #3103: Tombstone specification 2019-01-29 19:10:35 +01:00
Zach
bb76903230 fix docs navbar RPC link (#3414) 2019-01-28 12:41:28 -08:00
gamarin2
7988686e75 Update docs get_vendor_deps -> vendor-deps (#3402) 2019-01-28 09:49:13 -08:00
Jack Zampolin
9440c3c272 Merge PR #3385: Docs Hotfix 2019-01-25 12:13:56 +01:00
frog power 4000
dc75eb4eb8 Merge PR #3372: Limit unbonding delegation / redelegations 2019-01-24 23:44:31 +01:00
Jack Zampolin
af60c75dd3 Merge PR #3352: Reenable simulation tests 2019-01-24 22:01:32 +01:00
Zaki Manian
f5e6685dfd Merge Pull Request #3241: Add Fee & Gas Spec 2019-01-24 08:38:27 -08:00
Jack Zampolin
0043912548 Merge PR #3338: Remove unused code and examples 2019-01-24 11:18:45 +01:00
Christopher Goes
b5e245fee3
Merge PR #3333: F1 storage efficiency improvements 2019-01-23 12:37:03 +01:00
Jack Zampolin
9f50c9f5b6
R4R: Ensure all CLI queries respect output flags (#3320) 2019-01-22 09:28:39 -08:00
Alessio Treglia
cffa39cf44 Add bash completion for gaiad and gaiacli (#3334) 2019-01-21 19:42:15 -08:00
frog power 4000
7f789d2ed3
Merge PR #3281: Staking Spec Upgrade
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* spec folder cleanup

* cleanup docs folder cont.

* ...

* find-replace and folder rename

* supplimentary find/replace

* pending

* supplimentary

* pending

* few undos, stakingd -> staked

* to staking -> to stake

* undos

* most staking -> most stake

* ...

* undos

* simplestake->simplestaking

* ...

* pending update

* capital letter replacements

* ...

* working

* staking doc updates from rigel/delegation-index branch

* spec-spec

* spec-spec

* LooseTokens -> NotBondedTokens

* staking state.md updates

* updates to hook and endblock spec

* Update docs/gaia/gaiacli.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* comment undo

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* further updates to endblock and state

* msg json update

* working transaction updates

* working

* complete transaction rewrite

* PENDING.md

* typo

* add todo

* address @jackzampolin @cwgoes comments

* couple leftover comments, rename

* Update x/staking/types/pool.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* cwgoes additions

* cwgoes suggestions x2
2019-01-21 19:52:03 -05:00
Thane Thomson
332a5a34c5 Merge PR #3142: Basecoind BECH fixes
Adds a function to initialise the Cosmos SDK to use the same Bech32
prefixes as those which basecli uses.
2019-01-21 18:59:35 -05:00
Christopher Goes
f65ae49356
Merge PR #3319: Distribution Queriers & CLI query commands 2019-01-18 20:38:40 +01:00
Alexander Bezobchuk
36d1736a08 Refactor Gas/Fee Model (#3258) 2019-01-18 08:45:20 -08:00
frog power 4000
8f7a222308 Merge PR #3314: Staking misc rename 2019-01-17 18:53:22 +01:00
Alexander Bezobchuk
f2e87ad81f Merge PR #3308: Genesis Vesting Accounts & Simulation
* Update vesting spec and impl time fields and constructors
* Update genesis to support vesting accounts
* More spec and godoc updates
* Update genesis section in vesting spec
* Fix bank unit tests
* Add test cases to ToAccount in genesis
* Update RegisterCodec to include vesting interface and types
* Fix GetVestedCoins bug where block time is past vesting end time
* Add vesting accounts to simulation
* Update vesting genesis logic to panic on invalid accounts
* Change randomness of vesting accounts in simulation
2019-01-17 17:15:13 +01:00
Alessio Treglia
20bcacfaf4 Merge PR #3316: Fix regression in gaiacli config file handling
* --chain-id must be a persistent flag to be successfully read from config
* Prevent panic when not enough arguments
* Add docs on gaiacli config
* Small tweak
2019-01-17 16:40:34 +01:00
Christopher Goes
2942f83ff5
Merge PR #3099: F1 fee distribution 2019-01-16 22:38:05 +01:00
Alessio Treglia
26cb0a125a Multi-signature workflow support (#3264)
- New keys add --multisig flag to store multisig keys
  locally.
- New multisign command to generate multisig
  signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
  addresses and key names.

Closes: #3198
2019-01-16 09:30:57 -08:00
frog power 4000
133934ae37
Merge PR #3243: allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* Update x/staking/keeper/slash.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* address @alexanderbez comments
2019-01-16 05:35:18 -05:00
cong
916ea85630 Merge PR #2730: add tx search pagination related CLI/REST API parameter 2019-01-15 16:34:48 +01:00
gamarin2
11738de624 What is gaia intro to docs (#3294) 2019-01-14 13:03:18 -08:00
Alexander Bezobchuk
a984a22373 Merge PR #2694: Vesting Account(s) Implementation 2019-01-14 17:11:24 +01:00
frog power 4000
78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
Alessio Treglia
df567616a9 Upgrade tendermint to 0.28.0-dev0 (#3279) 2019-01-11 09:19:01 -08:00
Sunny Aggarwal
4aec6cd41c R4R: Tombstone Implementation (#3225) 2019-01-10 17:22:49 -08:00
Hleb Albau
867f8a7467 Merge PR #3195: Configurable pruning. Fix docs and create strategies const. 2019-01-09 16:06:22 +01:00
Federico Kunze
74aa9844fc Fix swagger (#3232) 2019-01-08 08:13:04 -08:00
Dev Ojha
e855780df7 Merge PR #3216: F1: Add O(1) slashing section
* Add O(1) slashing section
* Update abstract
2019-01-07 07:33:13 +01:00
gamarin2
7ff29246df Fix broken docs links and other small docs improvements (#3218) 2019-01-03 08:08:10 -08:00
frog power 4000
a98a5a056a
Merge PR #2958: Validator Power Dec-> Int
* Validator Power Dec-> Int, working

* non-test code compiles

* working, many test compile fixes

* all test compile errors resolved

* ...

* slashing test fixes minor

* test cover passes

* invariant rounding issue

* comment update

* PENDING and doc updates

* @cwgoes comments

* RemoveDelShares trimmings to the final delegation share

* fixes

* ...

* fix the oopsie

* @alexanderbez comments

* merge fixes

* address @cwgoes comments
2019-01-02 15:29:47 -05:00
Nicolas Pinto
0d63c92be1 Merge PR #3154: minor doc update to validator-setup 2018-12-27 01:17:25 -05:00
Alexander Bezobchuk
b0662aa4f6 Implement Proposal Proposer client interfaces (#3184) 2018-12-21 09:30:46 -08:00
Alessio Treglia
abbd2d4dd3 Change --gas=simulate to --gas=auto when sending txs (#3170) 2018-12-20 11:21:07 -08:00
Alexander Bezobchuk
217a2925dc Auth Module Param Store (#2998) 2018-12-20 11:09:43 -08:00
Alessio Treglia
0c0bff7ea0 Fix Makefile's all target (#3085)
- Rename get_dev_tools to devtools
- tools and devtools now create a stamp after execution so
  that they are not executed twice on the same pipeline
- Add clean target to remove stamps
2018-12-20 10:03:59 -08:00
Alexander Bezobchuk
5a13e75367 Tags Cleanup & Docs (#3137) 2018-12-19 19:28:38 -08:00
Jack Zampolin
14ebc65daf Merge PR #3119: Move all store keys into constants
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Zach
5241c3c7c1 go one.eleven.four (#3169) 2018-12-19 11:41:59 -08:00
gamarin2
d98745fbb2 Improve SDK Intro (#3149) 2018-12-19 11:41:30 -08:00
Harun Đulić
7c8a76a093 Fix link to ABCI in SDK Application Architecture (#3167) 2018-12-19 09:07:22 -08:00
Jack Zampolin
0360b12075
Remove unimplemented gaiacli init command (#3156) 2018-12-19 08:25:27 -08:00
Zach
26fc5163e3 Update go version in docs (#3123) 2018-12-18 12:48:30 -08:00
Alessio Treglia
500fa2b694 Make coins denoms case insensitive (#3092) 2018-12-18 11:14:11 -08:00
Zach
ec9c4ea543 Add RPC docs link to docs navbar (#3131) 2018-12-17 16:04:39 -08:00
Zach
131f93b898 Update docs README (#3124) 2018-12-17 09:22:11 -08:00
Alexander Bezobchuk
110fd63e22 Add Slashing Query Params (#3117) 2018-12-14 11:09:39 -08:00
Zach
5802becf09 Docs configuration changes (#3106) 2018-12-13 10:16:23 -08:00
Arve Knudsen
0ccdb204e3 Fix directory listing in intro (#3097)
Fix directory listing in SDK intro so that it gets the path to the examples right (docs/examples/ as opposed to examples/).
2018-12-13 09:55:28 -08:00
zramsay
f97b5070d1 docs: algolia full-text search 2018-12-13 09:48:55 -05:00
Jack Zampolin
9ae3a8a04e
Docs: Reference -> Concepts (#3090) 2018-12-12 15:00:53 -08:00
Artur Albov
0c6d53dc07 Merge PR #2959: Add TxEncoder to client TxBuilder 2018-12-12 22:29:42 +01:00
Federico Kunze
f0ba58e422
Update docs/.vuepress/config.js
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2018-12-12 21:56:57 +01:00
gamarin
a0a49d80a7 sdk tuto sidebar 2018-12-12 17:37:35 +01:00
gamarin
93e3d2950d merge 2018-12-12 14:17:07 +01:00
gamarin
e1d9fac340 reference to concepts 2018-12-12 14:16:00 +01:00
Alessio Treglia
f5e0379ef5 Merge PR #3087: Fix gaia lite docs on REST server's SSL flags
* Fix gaia lite docs on REST server's SSL flags

Closes: #3086

* Fix rest-server command call

Advanced was removed long ago
2018-12-12 13:17:15 +01:00
Dev Ojha
a31dc20e6a Merge PR #2990: Update f1 spec
* Update f1 spec:

* Improves exposition of the base scheme
* Fix inflation section / add sketch of how to do it
* Add future work section

I've also realized that using the ideas of the inflation section,
we could even remove the iteration over slashes when withdrawing!
(Note, inflation section equations / proof of correctness has not been
thoroughly transcribed from my head onto paper, so its not guaranteed to
be correct at the moment. However the inflation section of this describes
something separate from inflation in the hub. It has inflation happen by
having each staked token produce more staked tokens, instead of having it come
through block rewards. This inflation can also happen per validator,
so as to enable non-signing validators to not get inflation)

* Fix grammar

Co-Authored-By: ValarDragon <ValarDragon@users.noreply.github.com>

* Add proof of correctness to the inflation section

* Re-update PDF after merging chris' fixes

* address more of @cwgoes' suggestions
2018-12-12 13:13:53 +01:00
Jack Zampolin
b2f458ab48
Update broken links (#3035) 2018-12-11 11:52:22 -08:00
zramsay
490a8d61c0 update release test script links, closes #2606 2018-12-11 14:40:25 -05:00
zramsay
e46afe00d6 make sidebar titles nicer 2018-12-11 12:12:29 -05:00
Alessio Treglia
24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
Sunny Aggarwal
945803d586 Governance Quorum (#3053) 2018-12-10 02:50:20 -08:00
Christopher Goes
ba5e87ca6f x/auth module spec / code reconciliation (#2964) 2018-12-05 16:48:08 -08:00
Christopher Goes
dfd00a661a Inflation bug fixes (#2982)
* PENDING.md; swap BeginBlocker ordering
* Calculate inflation every block
* Update x/mint spec
* Reset distribution info bond height instead
2018-12-04 10:17:02 -08:00
Jack Zampolin
07b0ad3c9e Merge PR #2987: Add shorthand flag to address output on gaiacli keys show and update docs
* Add shorthand flag to address output on gaiacli keys show

* Update docs and add PENDING

* Update client/keys/show.go

Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>

* pk -> p
2018-12-04 17:38:43 +01:00
Jack Zampolin
886bd35670
Address gov cli ux issues and add additional input validation for better errors (#2938)
* Fix governance cli ux issues and add additional transaction validation
2018-12-03 12:48:51 -08:00
Zach
fedecd5436 docs: add tutorial to sidebar (#2865)
* add tutorial
2018-12-03 08:23:49 -08:00
gamarin2
5c5ea48623 Improve testnet docs (#2928)
* improve testnet docs
2018-12-01 09:54:59 -08:00
Christopher Goes
98caf44e35
Merge PR #2853: Write bank module specification, check spec/code consistency
* Update PENDING.md

* New structure

* Start transactions section

* Remove MsgIssue

* Update keepers.md

* Add state.md

* Update keepers.md, discovered #2887

* Move inputOutputCoins to BaseKeeper

* Remove no-loner-applicable tests

* More spec updates

* Tiny cleanup

* Clarify storage rationale

* Warn the user

* Remove extra newline
2018-11-29 22:56:42 +01:00
Alessio Treglia
c3965f5509 Remove inconsistent gaiacli keys new/add dualism (#2904)
* Remove inconsistent gaiacli keys new/add dualism
2018-11-29 12:59:41 -08:00
Jack Zampolin
ddab04e55f
R4R: Update single node network bootstrapping documentation (#2931)
* Update single node network bootstrapping documentation to reflect changes to gentx
* Update docs/gaia/networks.md
* Address PR comments
2018-11-29 12:39:09 -08:00
Hendrik Hofstadt
ca43225851 Merge PR #2943: Fix tag usage in handlers and EndBlocker
* Fix tag usage in handlers and EndBlocker
* Prepend action tag in baseApp
* Fix LCD
* Remove unnecessary conversion
* Fix invalid consensus pubkey in CLI tests
* Fix tag usage in cli_test
* Shorten bechify in test
* Update docs and PENDING
2018-11-29 15:34:57 +01:00
BigManing
619b60f207 Merge PR #2908: Fix file path error 2018-11-28 00:10:12 +01:00
Christopher Goes
1a18a428a4
Merge PR #2842: Fix tx search 2018-11-28 00:09:14 +01:00
Federico Kunze
7cf5da2f72 address Chris' comments 2018-11-28 00:00:38 +01:00
Aleksandr Bezobchuk
252030c6b6 Update examples 2018-11-27 16:09:20 -05:00
Federico Kunze
9c85e935fd Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge develop
2018-11-27 16:38:08 +01:00
Federico Kunze
666fafb97a add other tests and update docs 2018-11-27 15:16:33 +01:00
Jae Kwon
d1e76221d8
Jae/simulator improvements (#2900)
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
Alessio Treglia
469b8eff6b R4R: Update genesis docs (#2833)
* Extend validator-setup.md
2018-11-26 12:21:09 -05:00
Christopher Goes
ad121f1498 Add a flag to export for zero-height start (#2827)
Closes #2812

This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.

It also:

* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
frog power 4000
7cb1ba625e blockly minting (#2825)
* update mechanism to use average block time
* correctly sets accum height for zero-delegations
* update Decimal Format()
* clip withdrawal tokens
* PositiveDelegationInvariant
* DelegatorSharesInvariant
* DelAccumInvariants
2018-11-26 04:13:47 -08:00
Christopher Goes
c21961b21d
Merge PR #2886: Don't get command through client.{Get,Post}Commands()
* Don't get command through client.{Get,Post}Commands()

Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-26 12:46:22 +01:00
Sunny Aggarwal
b7da2eaa33 Merge PR #2799: Account numbers and sequences to uint64 2018-11-26 12:29:21 +01:00
rigelrozanski
0861112b70 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-22 12:34:41 -05:00
Alessio Treglia
c22b400ba8 Add missing cmd 2018-11-22 15:49:56 +00:00
Alessio Treglia
b8b502c43a Same for democli 2018-11-22 14:42:35 +00:00
Alessio Treglia
c245a3deb1 Don't get command through client.{Get,Post}Commands()
Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-22 13:51:51 +00:00
John McDowall
f09fa33cfd Merge PR #2802: Correct the usage of misspelling of English word 'depositor'.
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
rigelrozanski
70e60c2f30 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-21 01:51:56 -05:00
Jae Kwon
bd982b1423 Merge reference/baseapp and spec/baseapp/WIP_abci_application.md 2018-11-20 20:23:09 -08:00
Jae Kwon
10bdf8fa03 Store ConsensusParams to main store 2018-11-20 16:44:49 -08:00
Alexander Bezobchuk
41fc538ac7 Add Safety Measures to Coin/Coins (#2797) 2018-11-20 01:22:35 -08:00
rigelrozanski
56dc2363fa Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-20 02:58:33 -05:00
Alexander Bezobchuk
6e813ab3a8 Change gas & related fields to unsigned integer type (#2839)
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -08:00
Jack Zampolin
f525717054
Standardize CLI Exports from Modules (#2840)
* Move query and tx commands to modules
* Move GetAccountDecoder to prevent import cycle and replace calls to it with one call in WithAccountDecoder
* Add moduleClients interface and implement in all applicable modules
* Use module clients in cli initialization
2018-11-19 09:02:34 -08:00
Jack Zampolin
9676ce7d48
Expose LCD router, allowing devs to register custom routes from their modules (#2836)
* Fixes #1081
2018-11-16 14:21:36 -08:00
Alexander Bezobchuk
15b6fa0959 Cache-wrap context during ante handler exec (#2781)
* Use cache-wrapped multi-store in ante
* Implement TestBaseAppAnteHandler
* Add reference documentation for BaseApp/CheckTx/DeliverTx
2018-11-16 10:33:47 -08:00
Sunny Aggarwal
8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08:00
Zach
ca2270c87e Merge PR #2831: Fix dead link 2018-11-16 14:48:38 +01:00
rigelrozanski
4818e67145 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-16 03:32:55 -05:00
gamarin2
e04d32c8d5 DOCS: fix links and add cli to sidebar (#2830)
* fix links and add cli to sidebar
2018-11-15 11:54:54 -08:00
Alessio Treglia
815a6de82f R4R: Remove AppInit (#2801)
* Remove AppInit
* Update PENDING.md
2018-11-15 10:01:19 -08:00
rigelrozanski
2a594fe338 basic cwgoes comments 2018-11-15 11:13:18 -05:00
Alessio Treglia
7b7d45ddd2 Merge PR #2800: Limit total number of signatures per transaction
* Limit total number of signatures per transaction
* Fail if limit is exceeded
* Loop over all sigs and count subkeys
* No need for a type switch, adopt early return
* Test rejection logic
* Mention sigs limit
2018-11-15 15:30:24 +01:00
Christopher Goes
ac0319fd3c Update docs 2018-11-14 18:23:20 -08:00
Christopher Goes
17b9afaaa7 Export specific height 2018-11-14 18:23:20 -08:00
Zach
555b61e3ae deleted obsolete file (#2817) 2018-11-14 14:32:41 -08:00
Jack Zampolin
0453992ddb
Update contributing.md with new merge policy (#2789)
* Update contribuiting.md with new merge policy
2018-11-14 13:12:03 -08:00
rigelrozanski
90217e2313 docs and pending 2018-11-14 15:14:34 -05:00
gamarin2
7f07e93601 Bring back banner (#2814) 2018-11-14 12:01:59 -08:00
rigelrozanski
7be5179982 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-14 14:45:02 -05:00
gamarin2
addcfbf5cb Documentation Structure Change and Cleanup (#2808)
* Update docs/sdk/clients.md
* organize ADR directory like tendermint
* docs: move spec-proposals into spec/
* remove lotion, moved to website repo
* move getting-started to cosmos-hub, and voyager to website
* docs: move lite/ into clients/lite/
* move introduction/ content to website repo
* move resources/ content to website repo
* mv sdk/clients.md to clients/clients.md
* mv validators to cosmos-hub/validators
* move deprecated sdk/ content to _attic
* sdk/modules.md is duplicate with modules/README.md
* consolidate remianing sdk/ files into a single sdk.md
* move examples/ to docs/examples/
* mv docs/cosmos-hub to docs/gaia
* Add keys/accounts section to localnet docs
2018-11-14 11:44:17 -08:00
Rigel
6feab55e1e
Merge PR #2765: Slight cleanup of distribution specification
[R4R] Slight cleanup of distribution specification
2018-11-14 13:53:11 -05:00
Alexander Bezobchuk
bba7a3053d
Update overview.md 2018-11-14 13:26:31 -05:00
Rigel
b1a1f192fb
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:55 -05:00
Rigel
4b5be088c4
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:26 -05:00
Rigel
9118cd7e13
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:00 -05:00
Sunny Aggarwal
d1614ebb7e R4R: Query Gov Params (#2576)
* gov query params
2018-11-13 15:45:37 -08:00
Aleksandr Bezobchuk
46b331de07 Address PR review 2018-11-13 09:02:19 -05:00
Aleksandr Bezobchuk
795a76d489 More cleanup 2018-11-11 15:53:43 -05:00
Aleksandr Bezobchuk
338b49b2cd Slight distribution spec cleanup 2018-11-11 15:51:27 -05:00
Christopher Goes
4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-09 15:28:03 +01:00
Christopher Goes
94f45311a0 Fix state export/import, add to CI (#2690)
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Sunny Aggarwal
1d3a04a61c Switch gov proposal-queues to use iterators (#2638)
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Christopher Goes
dfddac394d Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-05 11:56:32 +01:00
Alexander Bezobchuk
50926fffff Update to TM v0.26.0 - Part I (#2679)
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Sunny Aggarwal
4c3ac3f512 addressed comments 2018-11-03 22:56:33 -07:00
Alexander Bezobchuk
c5238b0d1e Merge PR #2589: Update Vesting Spec 2018-11-01 23:13:40 +01:00
Zach
ddba4fc810 Merge PR #2657: Fix config.js 2018-11-01 23:12:22 +01:00
Alessio Treglia
bb734c43c6
Docs updated 2018-10-31 13:42:42 +00:00
Rigel
89047d8ebd Merge PR #2642: Add todo diagrams 2018-10-31 12:07:06 +01:00
Jae Kwon
1538ab8de9
Merge branch 'develop' into release/v0.25.0 2018-10-30 17:54:54 -07:00
zramsay
ba7ed9d7cb fix flags in docs, closes #2530 2018-10-29 13:42:44 -04:00
Federico Kunze
855e0ac70a Merge PR #2596: Cmds for validator unbondings and redelegations 2018-10-28 22:28:12 +01:00
Christopher Goes
9c28c69c40 Rectify validator setup documentation 2018-10-26 16:33:27 +02:00
Christopher Goes
860245e6fa '--voter' is no longer required 2018-10-26 16:09:17 +02:00
Christopher Goes
8288490430 More docs fixes 2018-10-26 15:57:18 +02:00
Christopher Goes
cce48dc68c Docs fixes in progress while running through the release process 2018-10-26 15:47:07 +02:00
Christopher Goes
a9d9eb578c Merge branch 'master' into release/v0.25.0 2018-10-24 15:35:47 +02:00
Christopher Goes
c577831261
Merge PR #2554: Make gaiacli keys show multisig-ready 2018-10-24 15:24:12 +02:00
Alessio Treglia
68f869a24d
s/number/weight/ 2018-10-23 18:16:03 -07:00
Sunny Aggarwal
d666658ca9 Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() 2018-10-23 21:23:55 +02:00
Christopher Goes
33c8238392 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-23 17:54:58 +02:00
ValarDragon
48b8775121 F1 fee distribution draft 00
This was written up in latex, because github markdown doesn't support latex.
2018-10-22 17:56:31 -07:00
Christopher Goes
7f43860ca9 Merge branch 'cwgoes/check-supply-in-simulation' of github.com:cosmos/cosmos-sdk into cwgoes/check-supply-in-simulation 2018-10-23 02:39:25 +02:00
Alessio Treglia
ca049fd453
Add some docs 2018-10-22 13:43:18 -07:00
rigelrozanski
278d23776b call hook on slashing 2018-10-22 14:59:00 -04:00
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
Closes: #2540
2018-10-20 23:22:48 -07:00
Christopher Goes
c9e5c324c4 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-20 01:40:18 +02:00
Federico Kunze
57277d1143 Merge PR #2537: Staking REST utils refactor and querier tests (pt 1 redelegation PR) 2018-10-20 00:49:10 +02:00
Christopher Goes
7770aec306 Withdraw rewards on bonded to unbonding 2018-10-20 00:13:44 +02:00
Rigel
b48d0d5623 Merge PR #2527: Minting 2018-10-19 20:36:00 +02:00
Alessio Treglia
593921d04d Merge PR #2524: Replace GenTx with StdTx
Rework the process of loading a genesis.json file to load a starting app state and set of initial transactions to process.

* New function to create genesis account from MsgCreateValidator
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* New func processStdTxs()
* Remove gen-tx command
* Cleanup, return validators as they need to be written into genesis.json
* Modify gaiad init to allow auto-create of stdTx
* Remove server/testnet.go
* Don't load node_key.json, which might not be available
* Get the txs through DeliverTx
* Add app.slashingKeeper.AddValidators at the end of genesis
* On InitChain(), Signature's account number must be 0
* Add (tentative?) command to generate {node_key,priv_validator}.json files
* Reintroduce gaiad testnet
* Prompt user for passwords
* Update gaia to work with auth.StdTx
* Remove test_utils, NewTestGaiaAppGenState is now deprecated
* Combine --genesis-format and --generate-only
* Improve sign command's --offline flag documentation
* Moniker must be set
* Call app.slashingKeeper.AddValidators() even if len(txs) == 0
* Refactoring, introduce gaiad init --skip-genesis, code cleanup
* Drop unnecessary workaround to make lcd_tests pass
* Reintroduce gentx
* Simple name changes, GenesisState.Txs -> .GenTxs; OWK -> OverwriteKey; OverwriteKeys -> OverwriteKey
2018-10-19 20:00:27 +02:00
Sunny Aggarwal
505c356f20 Merge PR #2514: Refactor validator deletion 2018-10-18 21:58:18 +02:00
gamarin2
a7e6969029 Merge PR #2493: Fix service provider docs
* Fix link

* Default curve

* Link to website

* Update to latest docs

* test relative link

* test links 2

* Link test 3

* test link 4

* Proper docs + links

Note: Current swagger doc lives on cosmos staging site. The doc on here refer to the main website and will therefore 404 until staging is deployed to main site
2018-10-18 20:50:05 +02:00
Zach
ce23ad41ce Merge PR #2447: Cleanup docs/light 2018-10-18 02:46:03 +02:00
Jack Zampolin
2e59e2626b Merge PR #2510: Update PRIORITIES.md 2018-10-17 21:41:36 +02:00
Christopher Goes
2514d6d828 Merge branch 'develop' into nylira-patch-1 2018-10-17 18:39:01 +02:00
Christopher Goes
3f59cf1517
Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-16 19:23:57 +02:00
Christopher Goes
2803830c7e
Merge PR #2236: Distr-PR-5 Implement Distribution 2018-10-16 08:18:21 +02:00
Peng Zhong
d0a00b4174
add Google Analytics for documentation pages
Also renames the static docs site to "Cosmos Documentation", which is a better representation of the contents than "Cosmos Network".
2018-10-16 12:11:57 +08:00
Christopher Goes
83f7a4cb7b Bugfix; update slashing spec 2018-10-15 23:01:29 +02:00
Joon
047c3d1456
Merge branch 'develop' into joon/2490-copy-godocs 2018-10-16 04:14:40 +09:00
Christopher Goes
2c4d9a0be4 Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-15 21:04:49 +02:00
rigelrozanski
5de0c9a1f8 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-15 02:43:36 -04:00
rigelrozanski
2ece2ff37c address @cwgoes comments 2018-10-15 02:34:01 -04:00
Sunny Aggarwal
6c9e71b654 Merge PR #2451: implement validator queue
* unbonding redelegation queue

* address some of bez and chris review

* delete old timeslices from queue

* added Rigel's test case

* added end-time to tags

* fixed bug in staking

* removed prints

* Get -> Queue

* called Endblocker in test

* implement validator queue

* Docs and PENDING

* address federicos comments

* unexposed UnbondingToUnbonded

* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
mossid
fb78f1d0af add docs, fix GetSubspace, address comments
rm Subspace.ptr
2018-10-14 02:44:29 +09:00
Christopher Goes
1ff2e865a8 Back to greater than 2018-10-12 21:15:39 +02:00
Christopher Goes
a83535aef3 Greater than to greater than or equal to 2018-10-12 21:09:23 +02:00
rigelrozanski
dba20d1725 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-12 06:06:24 -04:00
Christopher Goes
6e4a8d9e16 Update spec 2018-10-12 01:04:57 +02:00
Christopher Goes
963bcaf66f Fix IBC paper link 2018-10-09 23:13:37 +02:00
rigelrozanski
600532575b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-08 20:15:17 -04:00
Sunny Aggarwal
cd21427a7b Merge PR #2405: Unbonding and Redelegations Queue 2018-10-08 06:43:47 +02:00
rigelrozanski
e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
rigelrozanski
45f0dd0e3b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-04 18:33:12 -04:00
HaoyangLiu
9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Zach
a4690bbe58 Merge PR #2434: config.js 2018-10-03 20:09:35 +02:00
gamarin2
f8cc0af144 Merge PR #2403: Update doc on website 2018-10-03 19:11:34 +02:00
Zach
a7fabbea16 Merge PR #2431: Update some links 2018-10-03 18:02:34 +02:00
Christopher Goes
482a22da90
Merge PR #2428: Update priorities file 2018-10-03 17:27:59 +02:00
Dev Ojha
6cbac79912 Merge PR #2419: Add quick start section to the docs readme 2018-10-02 14:02:22 +02:00
gamarin2
a3b31c7a6b Merge PR #2427: Fix typo val faq 2018-10-02 13:58:58 +02:00
rigelrozanski
436d2a0178 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-27 22:48:16 -04:00
rigelrozanski
0436f50c00 ... 2018-09-27 19:54:41 -04:00
Zach
e7134e8742 Merge PR #2414: docs: add version 2018-09-27 16:52:24 +08:00
Dev Ojha
7d5bc459fa Merge PR #2413: Remove reflection from handlers 2018-09-27 05:04:06 +08:00
Dev Ojha
cb86efa054 Merge PR #2376: auth: Don't recalculate mempool fees for every msg signer, misc. cleanup
This PR begins improving the godocs for the auth module, and begins cleaning
up the Ante handler.

Additionally we previously calculated if the fee was sufficient for the tx
on every single signer. This is now refactored to be more efficient, and have
a better logical flow. No changelog entry as this is new to this release.
2018-09-27 02:34:01 +08:00
Alessio Treglia
a2caefc8ae Merge PR #2390: CLI subcommands reorganization 2018-09-26 22:00:49 +08:00
Rigel
b54801b4b3 [RETRY] Distr-PR-3 More staking hooks (#2404)
* update commission hook for new commission work
* comment update
2018-09-25 23:11:57 -07:00
rigelrozanski
3846894c3a Merge branch 'rigel/new-hooks' into rigel/fee-distribution 2018-09-25 20:09:33 -04:00
rigelrozanski
9e9756a6a9 Merge remote-tracking branch 'origin/develop' into rigel/new-hooks 2018-09-25 18:31:12 -04:00
rigelrozanski
47e899bb61 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-25 17:45:48 -04:00
Sunny Aggarwal
15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal
a04d5cf26d Merge PR #2072: WIP Bank Denom Metadata Spec
* Bank Denom Metadata Spec

* moved to WIP filename

* val comment
2018-09-25 14:18:04 -04:00
Rigel
6b595842ed Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369)
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
rigelrozanski
f5116b9d57 Merge branch 'rigel/truncate-decimal' into rigel/new-hooks 2018-09-24 22:52:12 -04:00
rigelrozanski
16594f7daf Merge remote-tracking branch 'origin/develop' into rigel/stake-cons-addr 2018-09-24 21:54:30 -04:00
Alexander Bezobchuk
9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
rigelrozanski
df0d5825be add staking hooks to staking spec 2018-09-22 16:43:29 -04:00
rigelrozanski
14792f2b23 val comments 2018-09-22 13:50:26 -04:00
rigelrozanski
a2b2ef92f2 Merge remote-tracking branch 'origin/develop' into rigel/stake-cons-addr 2018-09-22 13:42:37 -04:00
gamarin2
6835adb477 Merge PR #1652: Service Provider doc
* Add wip service provider doc

* rm space

* small modif

* Finalize service provider doc

* Integrate jb comments
2018-09-21 20:41:16 -04:00
Zach
0ac0301467 Merge PR #2371: how to build docs locally 2018-09-21 20:37:42 -04:00
Alessio Treglia
e2da4caae4 Merge PR #2364: Implement HTTPS for the LCD REST server
In order to guarantee a secure connection between apps and the LCD the
communication must be encrypted - even if clients and server run on the
same local machine, credentials must never be transmitted in clear text.

Upon start up, the server generates a self-signed certificate and a key.
Both are stored as temporary files; removal is guaranteed on exit.

This new behaviour is now enabled by default, though users are provided
with a --insecure flag to switch it off.
2018-09-22 00:33:58 +08:00
rigelrozanski
72e3025481 doc update 2018-09-20 22:43:11 -04:00
Sunny Aggarwal
8721dd6ff8 Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
Zach
fcd32c2f3d Merge PR #2271: docs: automated local/remote testnet instructions 2018-09-20 02:30:41 +08:00
rigelrozanski
97f7dbc5e6 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-19 13:25:23 -04:00
Zach
1167e07b98 Merge PR #2341: Link to DOCS_README 2018-09-20 01:24:31 +08:00
Alessio Treglia
b74a6a9066 Merge PR #2328: Support min fees-based anti spam strategy 2018-09-19 23:25:52 +08:00
rigelrozanski
a18b89539a handler, tags, msgs, codec 2018-09-18 23:30:00 -04:00
rigelrozanski
2eff69a575 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-17 17:53:42 -04:00
Dev Ojha
b09e8599d9 Merge PR #2334: ADR for global message counter 2018-09-17 23:26:21 +08:00
Dev Ojha
65137f6331 Merge PR #2343: Add a name field to the message type
This is to facillitate ease of implementing #1406. (Tags for messages
could then be added dynamically)

Ultimately once we make the router support hiearchical routing, (#770)
we can then remove the name field and just the parse info for tags from that.

Until then, we can parse the tag name as
`fmt.Sprintf("%s %s", msg.Type(), msg.Name())`
2018-09-17 22:34:06 +08:00
Peng Zhong
98005b03c4 Merge PR #2338: Update chinese whitepaper 2018-09-15 02:55:04 +08:00
Dev Ojha
9cf40e2df5 Merge PR #2337: Update revoked -> jailed in the docs, and in minor places within cmd 2018-09-15 02:52:23 +08:00
Dev Ojha
b5f8350dff Merge PR #2333: Copy ADR template from Tendermint
* Copy ADR template from Tendermint

* Modify @alexanderbez 's ADR template
2018-09-13 22:01:30 -04:00
Dev Ojha
6b55093c75 Merge PR #2324: rename wire to codec
* rename wire to codec

* fix formatting and cli

* fix the docs
2018-09-13 14:17:32 -04:00
rigelrozanski
46db96bdb7 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-13 02:11:07 -04:00
Zach
f1ac53b4ad Merge PR #2270: docs: lotion update 2018-09-12 15:39:34 +08:00
Alexander Bezobchuk
854aca2f7d Merge PR #2238: Ensure Tendermint Validator Update Invariants 2018-09-12 15:16:28 +08:00
Alessio Treglia
fb0cc0b078 Merge PR #2306: Change --gas=0 semantic and introduce --gas=simulate
* Change --gas=0 semantic and introduce --gas=simulate

Make --gas flag accept a conventional "simulate" string value in addition
to integers. Passing --gas=simulate would trigger the tx simulation and
set the gas according to the gas estimate returned by the simulation.
Any other integer value passed to --gas would be interpreted as-is and
and set as gas wanted value.

Closes: #2300

* Add test cases with gas=0

* ACK suggestion from @alexanderbez

* s/GasFlagSimulateString/GasFlagSimulate/

* Drop TODO comment on Gas type

* Enrich TODO with ref
2018-09-11 20:31:30 -04:00
rigelrozanski
7d864fee11 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-10 18:42:26 -04:00
Alexander Bezobchuk
e13cdc0260 Merge PR #2146: x/bank: Keeper Interfaces
* Update banking module to implement and use keeper interfaces

* Cleanup/consolidate x/bank keeper interface
2018-09-10 14:25:34 -04:00
Alessio Treglia
4448d175ad Merge PR #2240: New broadcast command
Implement broadcast command/REST endpoint to submit transactions
generated offline with --generated-only and the sign command.
2018-09-08 17:26:20 +08:00
Alexander Bezobchuk
0edfa17b53 Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
ValarDragon
e812919649 Rename coinKeeper -> bankKeeper
Closes #2267
2018-09-07 22:34:32 -07:00
Christopher Goes
5494e3c2dc
Merge branch 'develop' into cwgoes/revert-governance-bft-time 2018-09-07 17:24:37 +02:00
Christopher Goes
72e9664ce1 Revert "Merge PR #2217: Governance BFT Time"
This reverts commit 94b86f85c1, reversing
changes made to 2a4edcca48.
2018-09-07 17:00:57 +02:00
Alessio Treglia
e6a8a4df55
Implement command/REST endpoint for offline tx sign off #1953
* Add sign CLI command to sign transactions generated with the
  --generate-only flag.
* Add /sign REST endpoint for Voyager support.

Redirect password prompt to STDERR to avoid messing up cli
commands output. As a rule of thumb, program's output should
always go to STDOUT, whilst errors&diagnostics go to STDERR
as per POSIX's philosophy and specs.
2018-09-07 12:57:50 +01:00
Christopher Goes
94b86f85c1
Merge PR #2217: Governance BFT Time 2018-09-07 08:53:42 +02:00
Christopher Goes
72b3a45778
Merge branch 'develop' into sunny/gov-bft-time 2018-09-07 07:47:14 +02:00
Christopher Goes
693aea8985 Suggest opening pending PR back to develop 2018-09-07 01:04:58 +02:00
rigelrozanski
b40909906d update spec 2018-09-05 19:15:15 -04:00
rigelrozanski
8ab25fa78c Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-05 18:29:37 -04:00
Rigel
e9e83f0b6d
Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -04:00
rigelrozanski
38c6090a9b Merge branch 'rigel/move-spec' into rigel/fee-distribution 2018-09-04 22:17:45 -04:00
Christopher Goes
a6120686f9
Merge PR #2165: Implement generate-only option for commands that create txs 2018-09-05 01:12:03 +02:00
rigelrozanski
43ab06678f move WIP-lamborghini-distribution 2018-09-04 17:21:38 -04:00
rigelrozanski
4ddf6ca082 undo spec move for PR clarity 2018-09-04 17:17:13 -04:00
rigelrozanski
48aa9a6ad5 working, moved WIP distribution spec to attic 2018-09-04 16:19:37 -04:00
Christopher Goes
1039388207
Merge PR #1944: Piggy-bank distribution spec 2018-09-04 14:19:09 +02:00
Alessio Treglia
86395809cb
Implement generate-only option for commands that create txs
The new CLI flag builds an unsigned transaction and writes it to STDOUT.
Likewise, REST clients can now append generate_only=true to a request's
query arguments list and expect a JSON response carrying the unsigned
transaction.

Closes: #966
2018-09-04 02:32:05 +02:00
rigelrozanski
d7794b483d Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-03 15:53:54 -04:00
rigelrozanski
469334d7f6 Merge branch 'rigel/piggy-bank-fee-spec' into rigel/fee-distribution 2018-09-03 15:53:21 -04:00
rigelrozanski
5c600f2e2b jae comments 2018-09-03 15:49:36 -04:00
Sunny Aggarwal
92eef7a4fa docs 2018-09-03 00:16:38 -07:00
Alessio Treglia
599923fb99
Introduce simulate mode
Add a simulate only flag '--dry-run' to both CLI tx commands
and RESTful endpoints to trigger the simulation of unsigned
transactions.

* Turning --dry-run on causes the --gas flag to be ignored.
  The simulation will return the estimate of the gas required
  to actually run the transaction.
* Adjustment is no longer required. It now defaults to 1.0.
* In some test cases accounts retrieved from the state do not
  come with a PubKey. In such cases, a fake secp256k1 key is
  generated and gas consumption calculated accordingly.

Closes: #2110
2018-08-31 19:04:11 +02:00
Jordan Bibla
3fe942bf16 double curlies breaks vuepress - single curlies does not 2018-08-31 12:10:00 -04:00
rigelrozanski
b2eab0d0c4 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-08-31 02:41:16 -04:00
Alexander Bezobchuk
2d92803b9f Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing
* Add new account bech32 prefixes with godocs

* Restructure spacing of existing account code

* Update account godocs

* More account godoc updates + new tm pub/addr helpers

* Update validator type to use new account types/bech32 prefixes

* Fix account documentation errors

* Update Bech32 prefix for consensus nodes

* Update Bech32 spec doc

* Fix account type tests

* Add missing account consensus functions, clear up godocs, and fix tests

* Add to TestRandBech32PubkeyConsistency check

* Update initialization of validator public keys

* Update query signing info command

* Implement new ConsAddress type with associated unit tests

* [WIP] Update stake and slashing parameters

* Update all calls to MustBech32ifyValPub

* [WIP] Validator operator API updates

* [WIP] Fix and update unit tests

* Fix gov logs (helping to debug failing tests)

* Fix gov tally

* Fix all broken x/ unit tests

* Update gaia app genesis address logic

* Fix linting errors

* Fix broken LCD tests

* Fix broken CLI tests

* Implement command to get validator address and pubkey from key name

* Add support for getting validator key information via REST endpoint

* Update PENDING log

* Update docs

* Revert GaiaGenTx.PubKey bech32 prefix

* Fix broken docs and cli tests

* Update genesis to use correct Bech32 (cons) prefix for pubkeys

* Update docs and unit tests to reflect new cosmos account bech32 prefix

* minor formatting
2018-08-31 00:06:44 -04:00
Matthew Slipper
03c56fc024 Merge PR #2190: Rename --gen-txs to --with-txs
* Rename --gen-txs to --with-txs

Closes #1088.

* Update CHANGELOG.md
2018-08-30 21:33:48 -04:00
Christopher Goes
153756bb75
Merge PR #2171: Add documentation regarding environment variables 2018-08-30 23:24:11 +02:00
Fabian
5cd17d07f1 Update config.js 2018-08-29 15:38:02 -04:00
Greg Szabo
4928c1950b Updating config.js for docs website build process
This change will put the documentation to the right folder for website deployment.
2018-08-29 15:37:56 -04:00
Zach Ramsay
84fc6ea5a7 docs: add config.js for ToC sidebar 2018-08-29 15:37:47 -04:00
rigelrozanski
222597165e trigger -> hooks 2018-08-28 18:23:57 -04:00
Jack Zampolin
dfd29a523c Update PRIORIEIES.md 2018-08-28 11:13:21 -07:00
Ethan Buchman
a804dec76e
Merge pull request #2039 from cosmos/cwgoes/update-priorities
Update PRIORITIES.md
2018-08-28 13:15:37 -04:00
Fabian
e89e860524
Update config.js 2018-08-28 16:18:06 +02:00
Christopher Goes
73f90e8f92
Merge PR #2047: Simulate transactions by default to set gas automatically 2018-08-28 13:53:29 +02:00
Matthew Slipper
4ddfef6204 Add documentation regarding environment variables
Closes #1973.
2018-08-28 01:29:46 -07:00
Greg Szabo
909a68ed65
Updating config.js for docs website build process
This change will put the documentation to the right folder for website deployment.
2018-08-27 12:34:16 -04:00
Jae Kwon
bec53fb1df fixed bech32 for validator pubkeys 2018-08-26 16:44:51 -07:00
Jae Kwon
305589faf4
Update bech32 human readable spec to simply "cosmos" (#2103)
Update bech32 human readable to simply "cosmos"
2018-08-26 16:41:08 -07:00
Alessio Treglia
76a16ab288
Modify AnteHandler to take a simulate boolean parameter 2018-08-25 20:12:14 +01:00
Jordan Bibla
96fc6c6f7b double curlies breaks vuepress - single curlies does not 2018-08-24 15:05:40 -04:00
Christopher Goes
15b4b338df Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-24 14:25:29 +02:00
Alessio Treglia
47d55bd572
Add/refresh docs 2018-08-24 10:16:51 +01:00
Christopher Goes
c5d44bcaf0
Merge PR #2001: Update slashing spec for slashing-by-period 2018-08-24 02:09:29 +02:00
Christopher Goes
63a85aaacf Change ASCII diagram slightly 2018-08-23 22:45:38 +02:00
Christopher Goes
81e5ce15aa
Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-23 14:01:16 +02:00
Christopher Goes
4475a8c7e8 Fixup links 2018-08-23 13:46:44 +02:00
Christopher Goes
4cc2054d7b Address @rigelrozanski comments 2018-08-23 13:43:01 +02:00
Christopher Goes
55de750dbe
Merge PR #2054: docs: add config.js for ToC sidebar 2018-08-23 13:17:34 +02:00
Rigel
d0edcc5066
Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-23 04:05:16 -04:00
rigelrozanski
cce4cbc9ec expand on shortcomings of the system 2018-08-23 04:02:26 -04:00
rigelrozanski
b32285ec3b commission actively calculated, withdrawDelegationReward Tx 2018-08-23 03:19:21 -04:00
Christopher Goes
bb9c265590
Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-22 18:31:04 +02:00
Christopher Goes
41df6db9ae Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-22 18:29:38 +02:00
Christopher Goes
879f78cfc0 Rename revoke(d) to jail(ed) 2018-08-22 17:56:13 +02:00
Christopher Goes
337869257b Merge branch 'develop' into temp 2018-08-22 16:13:13 +02:00
Christopher Goes
1adb53e5a5
Merge PR #1875: Vesting Spec 2018-08-22 15:07:49 +02:00
Christopher Goes
b23fe15e4a
Merge PR #1918: Keeper custom queries & QueryRouter 2018-08-22 12:50:59 +02:00
Christopher Goes
4b5bb45a09
Merge PR #2062: Support a proposal JSON file in submit-proposal 2018-08-22 12:31:58 +02:00
Sunny Aggarwal
0eed9d1b60 PENDING 2018-08-22 00:15:18 -07:00
Matthew Slipper
62d6fd2f98 Merge PR #2014: Remove advanced gaiacli command
Closes #1965
2018-08-21 23:22:18 -04:00
Matthew Slipper
f7d8675234 Support a proposal JSON file in submit-proposal
Closes #1852.
Closes #1776.
2018-08-21 14:34:15 -07:00
Federico Kunze
cfb5acca6e Merge PR #2099: Query staking Pool and Params 2018-08-21 17:32:54 +02:00
Jack Zampolin
68f5ee786c Merge PR #1987: Fix broken link in validator setup guide 2018-08-21 16:28:52 +02:00
Federico Kunze
011e61a8de Merge PR #2066: Rename LCD endpoints (Docs) 2018-08-21 16:00:43 +02:00
Christopher Goes
1eadb510b8
Merge PR #1882: ICS 30 - Cosmos Signed Message Spec 2018-08-21 15:29:48 +02:00
Max Levy
bb473e98fb
Merge pull request #1 from maxim-levy/patch-5
The URL to abci-spec.md fixed
2018-08-21 14:29:00 +09:00
Alexander Bezobchuk
9dd8e28104
Remove cosmosSignBytesPassword 2018-08-20 15:15:25 -04:00
Christopher Goes
f18895532d Clarify which offenses utilize the slashing period 2018-08-20 18:37:16 +02:00
Christopher Goes
c9e5745cd7 Clarify example 2018-08-20 18:34:03 +02:00
Christopher Goes
d0c87ff5bc Go => pseudocode 2018-08-20 18:31:55 +02:00
Christopher Goes
da92b1bb1d h_n => h_n-1 2018-08-20 18:28:40 +02:00
Christopher Goes
6e3e57e23e Typos; tiny wording changes 2018-08-20 17:50:13 +02:00
Christopher Goes
b8d6465613 Conceptual overview & ASCII diagrams of slashing period 2018-08-20 16:58:24 +02:00
Christopher Goes
e3cb1e1274 Add safety note 2018-08-20 15:13:17 +02:00
Christopher Goes
94dc512034 Fix typos 2018-08-20 15:07:23 +02:00
Christopher Goes
79e3c05367 Revert "Changes WIP" - we decided not to do this
This reverts commit 21be609f52.
2018-08-20 15:01:18 +02:00
Max Levy
459f126e9b
The URL to abci-spec.md fixed
docs/abci-spec.md -> docs/app-dev/abci-spec.md
2018-08-20 11:29:03 +09:00
Max Levy
8747eaac7d
A URL to abci-spec.md fixed
/docs/abci-spec.md -> /docs/app-dev/abci-spec.md
2018-08-20 11:22:46 +09:00
Ethan Buchman
af73b885e7 Merge branch 'develop' into bucky/merge-master 2018-08-19 16:24:45 -04:00
Federico Kunze
466e0c04d5 R4R: Update cli docs (#2076)
* Update cli docs, fixes #2026

* Fixed merge conflicts

* Updated chain_id
2018-08-17 18:49:57 +02:00
Alessio Treglia
187bc1972a Merge PR #1950: Validator.Owner -> .Operator
* Rename --address-validator flag to --validator

See #1901

* Update PENDING.md

* Rename Validator.Owner -> Validator.Operator

See #1901
2018-08-16 16:47:59 -04:00
rigelrozanski
90e1c9fdb1 Merge branch 'rigel/piggy-bank-fee-spec' of https://github.com/cosmos/cosmos-sdk into rigel/piggy-bank-fee-spec 2018-08-16 16:41:57 -04:00
rigelrozanski
3c564c01b9 clearer names, missing commission logic 2018-08-16 16:41:32 -04:00
Aditya Sripal
c79e130d0f jae comments 2018-08-16 12:07:09 -07:00
Rigel
54cc27fde9
Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-15 23:54:44 -04:00
rigelrozanski
5ef0f5d70e finalize txs 2018-08-15 23:33:26 -04:00
rigelrozanski
31d5348c4a txs pretty much ready 2018-08-15 20:03:39 -04:00
Zach Ramsay
63367a00c8 docs: add config.js for ToC sidebar 2018-08-15 19:22:23 -04:00
Aditya Sripal
599b8ba4cf Fix bug, clearer logic 2018-08-15 13:54:03 -07:00
Alexander Bezobchuk
a9f240035c
Rename ics-xxx-signed-messages.md to ics-030-signed-messages.md 2018-08-15 15:13:51 -04:00
Alexander Bezobchuk
629c18541d
Update ICS number to 030 2018-08-15 15:12:04 -04:00
Christopher Goes
53242681fe Two bullet points 2018-08-15 12:50:07 +02:00
Christopher Goes
5624b1d7e5 Update PRIORITIES.md 2018-08-15 11:57:11 +02:00
rigelrozanski
37ed3b1a6e agasg 2018-08-15 04:12:44 -04:00
rigelrozanski
360eb75c8e working 2018-08-14 23:33:40 -04:00
Rigel
d9dc061b4f
Merge pull request #1819: rational -> decimal
* changelog

* ...

* decimal func working

* decimal complete, untested

* fixing tests

* decimal compile errors resolved

* test compile errors

* precision multiplier test

* 1% laptop battery

* fixed TestNewDecFromStr

* equalities working

* fix bankers round chop

* ...

* working, some decimal issues resolved

* fix rounding error

* rounding works

* decimal works

* ...

* deleted rational

* rational conversion working

* revert changelog

* code compiles (not tests)

* went through all NewDec, made sure they were converted from NewRat properly

* test debugging

* all testing bugs besides the json marshalling fixed

* json unmarshal

* lint

* document update

* fix lcd test

* cli test fix

* mostly undo Dece -> Rate

* val comments

* Efficiency improvements

This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)

* Cache another precisionInt() call.

* Improve banker rounding efficiency

* remove defer, make negation in-place.

* chris val comments

* bez comments

* Aditya comments

* ...

* val comments

* rebasing start

* ...

* compiling

* tests pass

* cli fix

* anton, cwgoes, val comments

* val and jae comments

* type

* undo reuse quo
2018-08-14 20:15:02 -04:00
rigelrozanski
5e5fad4548 txs 2018-08-14 13:45:13 -04:00
Aleksandr Bezobchuk
f252f3e36c Update Cosmos signed messages ICS doc
- Address PR comments
- Fix markdown lint errors
2018-08-14 13:36:51 -04:00
Christopher Goes
21be609f52 Changes WIP 2018-08-14 19:04:57 +02:00
Christopher Goes
a2463d038b Clarify points from PR review 2018-08-14 18:04:32 +02:00
Christopher Goes
32263ffe4d Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-14 17:56:46 +02:00