Commit Graph

2211 Commits

Author SHA1 Message Date
Denis Fadeev
ced06f22a4
Docs website update (#5958)
* 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

* scrollbar color

* move synopsis from frontmatter

* move synopsis from frontmatter

* code styling in synopsis fix

* tutorial link

* active headers

* 404 fix

* homepage links fix

* fix link in footer

* misc fixes

* version

* prerequisite links on mobile

* version

* version

* Fix footer links

* version

* Fix permalink popup

* Update version

* package-lock.json

* Update Questions section in the footer

* Config for Algolia Docsearch

* Update version

* Update to the latest version of the theme

* Use docs-staging as a branch for staging website

* Update version

* Add google analytics

* Remove {hide} from Pre-Requisite Readings

* Replace Riot with Discord

Co-Authored-By: billy rennekamp <billy.rennekamp@gmail.com>

* Fix yaml syntax error in docs

* Fix formatting in keyring.md

* Change versions file

* Change versions file

* versions

* version

* Escaping HTML entities

* Newline

* Fix

* Update version

* Version

* Remove test string from code block

* Revert formatting

Co-authored-by: Gloria Zhao <gzhao408@berkeley.edu>
Co-authored-by: gamarin <gautier@tendermint.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Hans Schoenburg <hschoenburg@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-04-17 09:01:11 +00:00
Aditya
7ce3c470eb
Merge PR #6007: update 03 adr 2020-04-16 14:19:06 -04:00
Alexander Bezobchuk
09a55f68b5
Merge PR #5952: Refactor Evidence Age Util + Governable Consensus Params 2020-04-16 11:10:39 -04:00
Aaron Craelius
58a6c4c007
Merge PR #5942: Tx Client Migration: x/gov 2020-04-14 15:05:14 -04:00
Federico Kunze
b5a6587291
x/ibc: IBC alpha (#5277)
* IBC alpha

* ICS 23 Implementation (#4515)

* add mapping

* rm unused mapping/*, rm interfaces

* rm unused code

* mv mapping -> state, rm x/ibc

* rm GetIfExists

* add key

* rm custom encoding/decoding in enum/bool

* fix lint

* rm tests

* add commitment

* newtyped remote values

* newtyped context

* revert context newtype

* add README, keypath

* reflect downstream ics

* add merkle

* add test for proving

* soft coded root keypath

* add update

* remove RootUpdate

* separate keypath and keuprefix

* add codec

* separate root/path

* add path to codec

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* reformat test

* rm XXX

* add godoc

* add query

* update query.go

* update query.go

* add Query to boolean.go

* fix key

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* revise querier interface to work both on cli & store

* rm commented lines

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* remove Mapping

* remove store accessors

* refactor ICS23

* cleanup types

* implement batch verification

* gosimple suggestion

* alias

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* start batch-verify tests

* minor changes on commitment types

* use testsuite

* upstream changes

* context changes

* ICS 02 Implementation (#4516)

* add mapping

* rm unused mapping/*, rm interfaces

* rm unused code

* mv mapping -> state, rm x/ibc

* rm GetIfExists

* add key

* rm custom encoding/decoding in enum/bool

* fix lint

* rm tests

* add commitment

* newtyped remote values

* newtyped context

* revert context newtype

* add README, keypath

* reflect downstream ics

* add merkle

* add test for proving

* soft coded root keypath

* add update

* remove RootUpdate

* separate keypath and keuprefix

* add codec

* separate root/path

* add path to codec

* add client

* add counterpartymanager

* fix manager

* add Is() to counterobject

* add readme, reflect ICS02 revision

* reflect downstream ics

* test in progress

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* rm freebase, reformat query

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* rm commented lines

* address review in progress

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* add verification functions

* ICS02 module.go

* top level x/ibc structure

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* ICS 03 Implementation (#4517)

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* fix

* ICS 05 implementation (#5193)

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* ICS 04 Implementation (#4548)

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* add port

* fix test

* add mocks

* fix connid -> portid in handshake.go

* add mock

* add ibc module.go, finalize mock

* add keeper

* add StoreKey const

* fix test

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* IBC v1.0.0 (#5245)

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* use testsuite

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* upstream changes

* IBC demo fixes (#5267)

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* use testsuite

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* Add print debugging (old-school)

* Add log line

* More debugging

* Set prove flag to true

* More debugging

* Use store query

* Fix query, hopefully

* Fix query path

* Hmm

* Fix context bug

* Generate & return & use consensus state proof

* Print debugging

* Add debugging

* Begin working on the channel creation command

* remove submodule prefix from keypath, fix addConnectionToClients to treat nil as empty array

* fix OpenConfirm, rm debugging code

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* Update bound port

* Add from flag to ICS 20 commands

* Undefine flag

* add debug

* Uncomment channel message handlers

* fix validatebasic identifier failure

* Fix printing

* add debug code

* CLI debugging

* fix counterpartyHops, channel handshake working w/o port

* Fix compilation error

* Push channel query command update

* Remove unused code

* Add gaiacli keys test

* Update error

* Add printf

* fix token restriciton

* comment out port

* fix querier to retrieve the next sequence

* Alter command to take arguments

* Name it packet-sequence

* add packet query utils

* Use the querier

* Packet is JSON

* printf the value

* fix query packet

* fix packet receive in progress

* lol

* export Packet fields, rename Packet.XXX() -> Packet.GetXXX()

* fix route

* add debug

* comment out port logic from packet.go

* token transfer now working

* fix client tx

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* Apply suggestions from code review

* clean up

* finish tendermint tests

* complete merge

* Add tests for msgs

* ICS02 changes

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* upstream changes

* more cleanup

* Add unit tests for ICS03 (#5275)

* add Is() to counterobject

* add readme, reflect ICS02 revision

* reflect downstream ics

* test in progress

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* implement ics25

* update comment

* refactor method name

* fix file name

* add test case

* refactor code

* refactor code

* blocked the consensusState check

* refactor code

* fix golangci comments

* refactor testcase

* replace rootMultiStore with simApp

* remove unless code

* remove unless code & refactor test case

* refactor testcase

* goimports code

* clean up

* Add unit tests for ICS04 (#5286)

* fix test

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* add channel unit test

* add more channel tests

* fix channel test

* refactor channel test

* add capability test for channel

* make channel testing work

* optimize channel test

* delete types/errors.go

* modify capability test

* uncomment

* add msg tests for channel

* fix port capability store

* fix channel test

* use simapp

* modify channel test

* refactor channel msg test

* go fmt

* IBC alpha general cleanup (#5291)

* remove prefix from keeper; update client queries; address ICS02 comments from @cwgoes

* add proof for root query

* golangci

* remove hardcoded bind port logic

* space

* WIP: register errors

* register errors; make format

* use new instead of register; unescape path

* golangci

* Fix codec issue in ics23

* Modify codec registration style to match previous working state

* write port tests

* ICS-02: Keeper Tests (#5329)

* add keeper tests

* fix tendermint tests

* Fix proof verification; remove store key prefixes; add additional path validations (#5313)

* fix poof verify

* minor cleanup

* fix tests

* remove key prefixes

* fix tests

* Add ICS20 tests (#5308)

* add ics20 test

* delete debug

* fix ics20 test

* revert and modify

* optimize test

* add ics20 msg test

* fix test

* add packet tests and more msgs tests

* add ReceivePacket and callbacks tests

* fix callbacks test

* add handler tests for ics20

* fix handler tests

* minor cleanup

* test all positive amounts

* update test suite NotNil to Error

* fix ics20 tests

* expected error

* Add IBC REST endpoints (#5310)

* add rest framework

* add rest endpoints for ibc connection

* add rest endpoints for ibc client

* add rest endpoints for ibc channel

* modify ibc rest api

* add rest endpoints for ibc transfer

* fix query route

* fix receive packet

* fix query client state api

* use sub module name instead of icsxx

* use const for prove judgement

* modify ibc rest api

* add api docs to swagger

* add ibc config

* fix proof path in swagger

* return query result proof

* update swagger docs

* parse prove

* clean up

* fix ibc rest api and swagger docs

* fix host validate

* fix typo

* add submitMisbehaviour error response in swagger

* fix rest queryRoot and swagger doc

* add response comments for each REST functions

* fix rest function comments

* fix IBC proofs (#5351)

* fix ICS02 proofs

* fix ICS03 proofs

* fix ICS04 proofs

* fix ICS20 proofs

* make format

* fix build; comment handshakes

* ICS-2 Implement Misbehavior (#5321)

* ibc client evidence route

* split evidence from misbehaviour

* clean up client events

* test misbehaviour and evidence

* remove comments

* remove frozen comments from demo

* Update x/ibc/02-client/types/tendermint/evidence_test.go

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

* change evidence to detect malicious chain

* remove unnecessary sort

* fix evidence and persist committers to check misbehaviour

* minor fixes and remove incorrect tests

* add evidence tests

* remove debug statements

* cleanup evidence test

* start misbehaviour tests

* fix nondeterministic bug

* add same height and next height checks in misbehaviour

* fix bugs

* apply fede review suggestions

* finish code review changes

* fix GetCommitter and write keeper-level misbehaviour tests

* remove incorrect special case checking

* save

* final fixes

* save

* fix conflict

* fix conflicts and add back submit misbehaviour msg

* Apply suggestions from code review

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

* save

* add godocs and fix test

* fix test panics in other modules

* Update x/ibc/02-client/keeper/client.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* add back aliases

* Misc ibc fixes (#5357)

* fix cli ExactArgs

* remove full handshakes

* rm dup flag

* fix error handling

* Implement Query Committer methods in ICS-02 (#5402)

* add query methods for committers in ICS-02

* Update x/ibc/02-client/keeper/keeper.go

* add REST docs

* fix test

* IBC UX improvements (#5364)

* ICS02 iterators

* ICS03 iterators

* ICS04 iterators

* ICS02 client updates

* CLI connections

* setup queriers

* clean up queriers

* add tests

* IBC top-level querier tests

* update ICS02 keys

* update ICS03 keys

* make format

* update ICS04 keys

* fix a few tests

* fix ICS20 tests

* update keys

* fix ICS02 queries (#5425)

* fix CLI JSON param unmarshaling (#5431)

* Fix inconsistent string lookup functions (#5437)

* fix inconsistent string lookup functions

* test client type and ordering

* channel and connection state tests

* address golangcibot comments

* fix test

* Update x/ibc error handling (#5462)

* Merge PR #5428: Add mod, exponentiation for uint

* Modified examples in distribution module (#5441)

* Merge PR #5442: Remove of the client/alias.go

* Merge PR #5445: Mock rpcclient in tests for votes pagination

* Merge PR #5435: Added iterator that allows to read only requested values

* Merge PR #5427: Remove code duplication in x/auth/client/cli

* Merge PR #5421: Refactor Error Handling

* update x/ibc error handling

* update ICS24 and ICS02 errors

* ICS03, ICS23 and common errors

* updates from master and errors from ICS04

* build

* fix ics20 tests

* fix tests

* golangcibot fixes

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: kaustubhkapatral <54210167+kaustubhkapatral@users.noreply.github.com>
Co-authored-by: Ferenc Fabian <qwer.kocka@gmail.com>
Co-authored-by: Dmitry Shulyak <yashulyak@gmail.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* ADR 015 Implementation (#5401)

* implement in progress

* rm unneccessary change under simapp, modify baseapp for codetxbreak

* fix test in progress

* fix test error

* fix golangci

* address minor comments

* mv antehandler to ante/, address comments

* fix GetCommitment => GetData, fix syntax

* checkout types/ to ibc-alpha

* checkout to origin/ibc-alpha

* fix branch problem

* fix syntax error

* recover PacketI interface

* mv recvpacket rest from 20 -> 04

* address minor comments

* Apply suggestions from code review

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

* rm wrong files

* Apply suggestions from code review

* PacketDataI field is now named, not embed

* add acknowledgement hashing

* rename finalization functiosn

* Apply suggestions from code review

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

* Rename GetCommitment() to GetBytes()

* Add recv sequence incr to RecvPacket()

* Revert but where is PacketExecuted() called

* Call PacketExecuted(), check seq in RecvPacket()

* The port is called "bank"

* Apply suggestions from code review

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

* Update simapp/app.go

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

* Remove omitempty

* Add godoc

* Move events

* set ProofVerificationDecorator on AnteHandler

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* format

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* IBC alpha

* ICS 23 Implementation (#4515)

* add mapping

* rm unused mapping/*, rm interfaces

* rm unused code

* mv mapping -> state, rm x/ibc

* rm GetIfExists

* add key

* rm custom encoding/decoding in enum/bool

* fix lint

* rm tests

* add commitment

* newtyped remote values

* newtyped context

* revert context newtype

* add README, keypath

* reflect downstream ics

* add merkle

* add test for proving

* soft coded root keypath

* add update

* remove RootUpdate

* separate keypath and keuprefix

* add codec

* separate root/path

* add path to codec

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* reformat test

* rm XXX

* add godoc

* add query

* update query.go

* update query.go

* add Query to boolean.go

* fix key

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* revise querier interface to work both on cli & store

* rm commented lines

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* remove Mapping

* remove store accessors

* refactor ICS23

* cleanup types

* implement batch verification

* gosimple suggestion

* alias

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* start batch-verify tests

* minor changes on commitment types

* use testsuite

* upstream changes

* context changes

* ICS 02 Implementation (#4516)

* add mapping

* rm unused mapping/*, rm interfaces

* rm unused code

* mv mapping -> state, rm x/ibc

* rm GetIfExists

* add key

* rm custom encoding/decoding in enum/bool

* fix lint

* rm tests

* add commitment

* newtyped remote values

* newtyped context

* revert context newtype

* add README, keypath

* reflect downstream ics

* add merkle

* add test for proving

* soft coded root keypath

* add update

* remove RootUpdate

* separate keypath and keuprefix

* add codec

* separate root/path

* add path to codec

* add client

* add counterpartymanager

* fix manager

* add Is() to counterobject

* add readme, reflect ICS02 revision

* reflect downstream ics

* test in progress

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* rm freebase, reformat query

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* rm commented lines

* address review in progress

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* add verification functions

* ICS02 module.go

* top level x/ibc structure

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* ICS 03 Implementation (#4517)

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* fix

* ICS 05 implementation (#5193)

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* start batch-verify tests

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* ICS 04 Implementation (#4548)

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* add port

* fix test

* add mocks

* fix connid -> portid in handshake.go

* add mock

* add ibc module.go, finalize mock

* add keeper

* add StoreKey const

* fix test

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* use testsuite

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* IBC v1.0.0 (#5245)

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* use testsuite

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* finish tendermint tests

* complete merge

* Add tests for msgs

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* upstream changes

* IBC demo fixes (#5267)

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* start batch-verify tests

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* use testsuite

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* Add print debugging (old-school)

* Add log line

* More debugging

* Set prove flag to true

* More debugging

* Use store query

* Fix query, hopefully

* Fix query path

* Hmm

* Fix context bug

* Generate & return & use consensus state proof

* Print debugging

* Add debugging

* Begin working on the channel creation command

* remove submodule prefix from keypath, fix addConnectionToClients to treat nil as empty array

* fix OpenConfirm, rm debugging code

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* WIP channel shake 🕺

* Update bound port

* Add from flag to ICS 20 commands

* Undefine flag

* add debug

* Uncomment channel message handlers

* fix validatebasic identifier failure

* Fix printing

* add debug code

* CLI debugging

* fix counterpartyHops, channel handshake working w/o port

* Fix compilation error

* Push channel query command update

* Remove unused code

* Add gaiacli keys test

* Update error

* Add printf

* fix token restriciton

* comment out port

* fix querier to retrieve the next sequence

* Alter command to take arguments

* Name it packet-sequence

* add packet query utils

* Use the querier

* Packet is JSON

* printf the value

* fix query packet

* fix packet receive in progress

* lol

* export Packet fields, rename Packet.XXX() -> Packet.GetXXX()

* fix route

* add debug

* comment out port logic from packet.go

* token transfer now working

* fix client tx

* Integrate Evidence Implementation into ICS-02 (#5258)

* implement evidence in ics-02

* fix build errors and import cycles

* address fede comments

* remove unnecessary pubkey and fix init

* add tests

* Apply suggestions from code review

* clean up

* finish tendermint tests

* complete merge

* Add tests for msgs

* ICS02 changes

* upstream changes

* fix

* upstream changes

* fix cons state

* context changes

* fix cli tx

* upstream changes

* upstream changes

* upstream changes

* upstream changes

* more cleanup

* Add unit tests for ICS03 (#5275)

* add Is() to counterobject

* add readme, reflect ICS02 revision

* reflect downstream ics

* test in progress

* add test

* in progres

* fin rebase

* in progress

* fin rebase

* add CLIObject in progress

* cli in progress

* add CLIObject

* separate testing from tendermint

* add key to node

* add root and storekey to tests/node, add codec

* rm cli/query.go

* fix test

* fix lint

* fix lint

* add handler/msgs/client

* rm relay

* finalize rebase on 23 root/path sep

* fix lint, fix syntax

* fix querying

* extract out context withstore

* fix 02-client test

* fix 23-commitment test

* add query in progress

* rm freebase, reformat query

* add cli/handler/msg in progress

* add cli/msg/handler

* add CLIQuery, fix tests

* fix golangci

* add docs in progre

* add comments

* add comments

* Apply suggestions from code review

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

* add comments in progress

* add comments

* fix comment

* add comments in progress

* recover IntEncoding scheme for integer

* add uint tests, don't use codec in custom types

* finalize merge

* add godoc

* add godoc in progress

* reformat test

* rm XXX

* add godoc

* modify store

* add query

* update query.go

* update query.go

* cli refactor in progress

* cli refactor in progress

* add Query to boolean.go

* fix key

* fix cli / merkle test

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* godoc cleanup

* fix test

* fix client

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* merge from ics04 branch

* fix lint

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix dependency

* fix dependency

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* update expected client keeper and export verification funcs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* minor changes on commitment types

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* implement ics25

* update comment

* refactor method name

* fix file name

* add test case

* refactor code

* refactor code

* blocked the consensusState check

* refactor code

* fix golangci comments

* refactor testcase

* replace rootMultiStore with simApp

* remove unless code

* remove unless code & refactor test case

* refactor testcase

* goimports code

* clean up

* Add unit tests for ICS04 (#5286)

* fix test

* Apply suggestions from code review

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

* applying review in progress

* apply review - make querier interface

* fix cli errors

* fix dependency

* fix dependency

* reflect method name change

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* revise querier interface to work both on cli & store

* reflect downstream change

* fix cli

* reflect downstream changes

* reflect downstream changes

* fix from address in tx cli

* fix cli in progress(squash later)

* fix cli

* remove timeout, add channel cli

* fix golangci

* fix cli

* Clean up

* fix mock cli in progress

* finalize cleanup, mock cli wip

* add cli for mocksend

* fix handler

* rm commented lines

* address review in progress

* address review, rm cleanup/closing

* rename mock packages

* fix interface for gaia

* rename Path -> Prefix

* Store accessor upstream changes (#5119)

* Store accessor upstream changes (#5119)

* add comments, reformat merkle querier

* rm merkle/utils

* ICS 23 upstream changes (#5120)

* ICS 23 upstream changes (#5120)

* update Value

* update test

* fix

* ICS 02 upstream changes (#5122)

* ICS 02 upstream changes (#5122)

* ICS 03 upstream changes (#5123)

* ICS 03 upstream changes (#5123)

* update test

* cleanup types and submodule

* more cleanup and godocs

* remove counterPartyManager/State and cleanup

* implement SubmitMisbehaviour and refactor

* errors

* events

* fix test

* refactors

* WIP refactor ICS03

* remove Mapping

* remove store accessors

* proposed refactor

* remove store accessors from ICS02

* refactor queriers, handler and clean keeper

* logger and tx long description

* ineffassign

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove store accessors

* refactor handshake to update it to the latest ICS03 spec

* update handler and msgs

* add verification functions

* update verification

* ICS02 module.go

* top level x/ibc structure

* update connection queries

* update connection tx

* remove extra files

* refactor: remove store accessors, update keeper and types to match spec (WIP)

* update handshake and packet

* implement packet timeouts

* implement send and receive packet

* implement packet ACK

* update handler

* add channel errors

* channel querier

* update expected client keeper and export verification funcs

* ICS 05 Implementation

* release port and godocs

* Update x/ibc/02-client/client/cli/query.go

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

* Update x/ibc/02-client/types/tendermint/consensus_state.go

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

* address some of the review comments

* resolve some TODOs and address comments from review

* update connection versioning

* minor error updates

* update ICS04 with downstream changes

* Implement tx cli actions

* add MsgSendPacket handler; msg validation, errors and events

* update errors and add port Keeper to ibc Keeper

* minor UX improvements

* rename pkg

* fixes

* refactor ICS23

* cleanup types

* ICS 5 updates (#5222)

* Validate port identifiers

* Refactor to static bind

* Add comments

* Add 'GetPorts' query function

* rename pkg and fix import

* implement batch verification

* gosimple suggestion

* various fixes; remove legacy tests; remove commitment path query

* alias

* minor updates from ICS23

* renaming

* update verification and rename root funcs

* rm legacy tests; add query proofs support

* remove capability key generation and authentication logic

* move querier to x/ibc

* update query.go to use 'custom/...' query path

* add tests

* ICS 24 Implementation (#5229)

* add validation functions

* validate path in ics-23

* address @fede comments

* move errors into host package

* flatten ICS23 structure

* fix ApplyPrefix

* updates from ICS23 and ICS24

* msg.ValidateBasic and ADR09 evidence interface

* complete types testing

* delete empty test file

* remove ibc errors from core error package

* custom JSON marshaling; msg.ValidateBasic; renaming of variables

* minor update

* custom JSON marshaling

* use host validation for port ids

* downstream changes; custom marshal JSON; msg validation, and update errors

* update errors and aliases

* update msg validation and CLI UX

* minor changes on commitment types

* fix channel and packet check (#5243)

* R4R - Store consensus state correctly (#5242)

* store consensus state correctly

* fix client example

* update alias

* update alias

* update alias and keeper.GetPort()

* authenticate port ID; remove send packet msg from CLI

* comment out handlers

* add ibc module to simapp

* ICS20 implementation (#5204)

* add ibc bank mock

* modify handler

* import channel

* add receiving logic

* add cli proof handling

* modify cli

* modify receiver type

* modify errcode

* optimize codes

* add denom prefix when source is true

* refactor code

* error return

* switch ibc antehandler to decorator pattern

* fix name/comment

* ICS 20 implementation (#5250)

* move ics20 code to 20-transfer

* clean code

* fix compiling error

* add transfer module

* address ICS20 comments from review

* add routing callbacks

* clean code

* add missing err return

* modify err type

* modify err type

* add supply handling

* modify proof type

* add comments for msg and packet data

* add timeout supply handling

* modify module account name

* use supply keeper for burn and mint coins

* restructure keeper

* update alias and module.go

* golangci linter

* add ics20 handler to IBC handler

* update callbacks

* update ICS20 escrow address

* fix querier routes

* fix create client cli

* minor updates

* ibc querier test

* Refactor ibc/mock/bank into ICS 20 (#5264)

* Most of code port from mock module to ICS 20

* A few minor fixes

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix suggestions from autolinter

* Apply suggestions from code review

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

* Fix order of messages

* Add invalid height error code, check non-nil proof

* Fix linter error

* Return the underlying error

* Tendermint starts at height 1

* Apply suggestions from code review

* setup ics20 test suite

* add event to MsgRecvPacket

* update ibc keeper test to use test suite

* Add handshake commands

* WIP connection handshake

* WIP Connection Handshake

* Add cliCtx.WaitForNBlocks

* fix connection handshake in progress

* fix connection handshake in progress

* add channel unit test

* add more channel tests

* fix channel test

* refactor channel test

* add capability test for channel

* make channel testing work

* optimize channel test

* delete types/errors.go

* modify capability test

* uncomment

* add msg tests for channel

* fix port capability store

* fix channel test

* use simapp

* modify channel test

* refactor channel msg test

* go fmt

* IBC alpha general cleanup (#5291)

* remove prefix from keeper; update client queries; address ICS02 comments from @cwgoes

* add proof for root query

* golangci

* remove hardcoded bind port logic

* space

* WIP: register errors

* register errors; make format

* use new instead of register; unescape path

* golangci

* Fix codec issue in ics23

* Modify codec registration style to match previous working state

* write port tests

* ICS-02: Keeper Tests (#5329)

* add keeper tests

* fix tendermint tests

* Fix proof verification; remove store key prefixes; add additional path validations (#5313)

* fix poof verify

* minor cleanup

* fix tests

* remove key prefixes

* fix tests

* Add ICS20 tests (#5308)

* add ics20 test

* delete debug

* fix ics20 test

* revert and modify

* optimize test

* add ics20 msg test

* fix test

* add packet tests and more msgs tests

* add ReceivePacket and callbacks tests

* fix callbacks test

* add handler tests for ics20

* fix handler tests

* minor cleanup

* test all positive amounts

* update test suite NotNil to Error

* fix ics20 tests

* expected error

* Add IBC REST endpoints (#5310)

* add rest framework

* add rest endpoints for ibc connection

* add rest endpoints for ibc client

* add rest endpoints for ibc channel

* modify ibc rest api

* add rest endpoints for ibc transfer

* fix query route

* fix receive packet

* fix query client state api

* use sub module name instead of icsxx

* use const for prove judgement

* modify ibc rest api

* add api docs to swagger

* add ibc config

* fix proof path in swagger

* return query result proof

* update swagger docs

* parse prove

* clean up

* fix ibc rest api and swagger docs

* fix host validate

* fix typo

* add submitMisbehaviour error response in swagger

* fix rest queryRoot and swagger doc

* add response comments for each REST functions

* fix rest function comments

* fix IBC proofs (#5351)

* fix ICS02 proofs

* fix ICS03 proofs

* fix ICS04 proofs

* fix ICS20 proofs

* make format

* fix build; comment handshakes

* ICS-2 Implement Misbehavior (#5321)

* ibc client evidence route

* split evidence from misbehaviour

* clean up client events

* test misbehaviour and evidence

* remove comments

* remove frozen comments from demo

* Update x/ibc/02-client/types/tendermint/evidence_test.go

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

* change evidence to detect malicious chain

* remove unnecessary sort

* fix evidence and persist committers to check misbehaviour

* minor fixes and remove incorrect tests

* add evidence tests

* remove debug statements

* cleanup evidence test

* start misbehaviour tests

* fix nondeterministic bug

* add same height and next height checks in misbehaviour

* fix bugs

* apply fede review suggestions

* finish code review changes

* fix GetCommitter and write keeper-level misbehaviour tests

* remove incorrect special case checking

* save

* final fixes

* save

* fix conflict

* fix conflicts and add back submit misbehaviour msg

* Apply suggestions from code review

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

* save

* add godocs and fix test

* fix test panics in other modules

* Update x/ibc/02-client/keeper/client.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* add back aliases

* Misc ibc fixes (#5357)

* fix cli ExactArgs

* remove full handshakes

* rm dup flag

* fix error handling

* Implement Query Committer methods in ICS-02 (#5402)

* add query methods for committers in ICS-02

* Update x/ibc/02-client/keeper/keeper.go

* add REST docs

* fix test

* IBC UX improvements (#5364)

* ICS02 iterators

* ICS03 iterators

* ICS04 iterators

* ICS02 client updates

* CLI connections

* setup queriers

* clean up queriers

* add tests

* IBC top-level querier tests

* update ICS02 keys

* update ICS03 keys

* make format

* update ICS04 keys

* fix a few tests

* fix ICS20 tests

* update keys

* fix ICS02 queries (#5425)

* fix CLI JSON param unmarshaling (#5431)

* Fix inconsistent string lookup functions (#5437)

* fix inconsistent string lookup functions

* test client type and ordering

* channel and connection state tests

* address golangcibot comments

* fix test

* Update x/ibc error handling (#5462)

* Merge PR #5428: Add mod, exponentiation for uint

* Modified examples in distribution module (#5441)

* Merge PR #5442: Remove of the client/alias.go

* Merge PR #5445: Mock rpcclient in tests for votes pagination

* Merge PR #5435: Added iterator that allows to read only requested values

* Merge PR #5427: Remove code duplication in x/auth/client/cli

* Merge PR #5421: Refactor Error Handling

* update x/ibc error handling

* update ICS24 and ICS02 errors

* ICS03, ICS23 and common errors

* updates from master and errors from ICS04

* build

* fix ics20 tests

* fix tests

* golangcibot fixes

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: kaustubhkapatral <54210167+kaustubhkapatral@users.noreply.github.com>
Co-authored-by: Ferenc Fabian <qwer.kocka@gmail.com>
Co-authored-by: Dmitry Shulyak <yashulyak@gmail.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* ADR 015 Implementation (#5401)

* implement in progress

* rm unneccessary change under simapp, modify baseapp for codetxbreak

* fix test in progress

* fix test error

* fix golangci

* address minor comments

* mv antehandler to ante/, address comments

* fix GetCommitment => GetData, fix syntax

* checkout types/ to ibc-alpha

* checkout to origin/ibc-alpha

* fix branch problem

* fix syntax error

* recover PacketI interface

* mv recvpacket rest from 20 -> 04

* address minor comments

* Apply suggestions from code review

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

* rm wrong files

* Apply suggestions from code review

* PacketDataI field is now named, not embed

* add acknowledgement hashing

* rename finalization functiosn

* Apply suggestions from code review

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

* Rename GetCommitment() to GetBytes()

* Add recv sequence incr to RecvPacket()

* Revert but where is PacketExecuted() called

* Call PacketExecuted(), check seq in RecvPacket()

* The port is called "bank"

* Apply suggestions from code review

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

* Update simapp/app.go

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

* Remove omitempty

* Add godoc

* Move events

* set ProofVerificationDecorator on AnteHandler

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* format

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix build errors

* remove tmcmn instance

* remove tmcmn instance

* Fix compliation errors

* Fix build errors

* Fix build errors

* ICS07 Tendermint Client implementation (#5485)

* implement ICS07

* build

* update tests and cleanup

* x/ibc/02-client/types: remove misbehaviour in favor of evidence

* remove root query, update queriers, implement verification funcs

* remove committer; cleanup

* move keys to ibc/types

* fix paths

* update ICS03 connection verification

* move order and states to exported pkg

* update ICS04 to latest spec

* fix build

* move ics02 types/errors package to /types

* update a few tests

* update tests; fix codec registration

* minor changes from code review

* ibc/client/types: fix tests

* ibc/02-client/keeper: fix tests

* ibc/03-connection/keeper: begin tests for verify.go

* ibc/23-commitment: add IsEmpty() to Prefix, Path and Proof

* address comments from review

* add tests for evidence

* x/ibc/07-tendermint: add tests for consensus state, header and update

* ibc/07-tendermint: fix verification panic and add tests

* ibc/07-tendermint: add failure test cases

* x/ibc/03-connection/keeper: add verification tests for failing cases

* remove unused queriers

* Update ICS 7 tests (#5556)

* Update ICS 7 tests

* Fix one problem

* Also set consensus state for height 1

* Apply same fixes to ICS 4 tests

* Remove unnecessary change

* Fix ante tests; remove printfs

* Remove printf

* Update x/ibc/ante/ante_test.go

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

* add TODOs for ADR 03 dynamic store

* add tests for msgs and packet (#5559)

* Add skeleton for ValidateBasic tests

* Move tests; basic one passes

* Add more ValidateBasic tests

* Add more ValidateBasic testcases

* Fix minor typo

* Add `ValidateBasic` tests for Packet

* Move to packet_test.go

* use app.Commit for tests

* update verify.go

* Fix all ICS 07 Tests (#5565)

* ICS 07 Debugging

* WIP Debugging

* Foo bar baz, baz bar foo, 🤷‍♂️

* cleanup print statements

* cleanup verification test

* add return err for proof verification

* cleanup; start handshake testing

* connection handshake tests

* scopelint

* WIP Test refactor

* fix ICS03 tests

* fix ICS04 tests

* nolint

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

* cleanup comments and add a few tests

* typo

Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>

* fix build

* IBC historical info support (#5475)

* implement GetConsensusState

* introspect past consensus states on ICS03 handshake

* implement ToTmValidator staking util function

* add test cases

* update tests

* Fix various compile erros

* fix historical info

* fix dep cycle

* Fix golint issues

* Fix proto docs lint fail

* move consensus state query downstream to ICS03

* remove unused funcs on expected keeper

* update tests and move get consensus state to ICS03

* increase cov for verification funcs

* fix tests

* interfacer fix

* fix expected keeper

* remove TODOs

Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>

* cleanup ibc-alpha diff with master

* Add bank alias for gaia

* Moar bank alias gaia

* Moar bank alias gaia

* Fix query all clients

* update to current Tendermint master

* TxSearchMock: add orderBy field to TxSearch method

* fix build errors

* Small changes for compilation of gaia

* Small changes for compilation of gaia

* Add 07-tm.Header.ConsensusState() to make conversions easy

* Add additional IBC Channel Tests (#5578)

* Add stubbed out tests

* one working testcase and mocked packet types

* Finish TestSendPacket

* Move mocked proofs to ibc/types and finish TestRecvPacket

* Implement TestPacketExecuted

* WIP TestAckPacket

* Start on timeout tests, 1 passing

* WIP Tests

* first cleanup

* test send transfer

* add packet tests

* fixes and more tests

* finish tests

* Update x/ibc/04-channel/keeper/packet.go

* golangcibot fixes

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>

* merge master

* ICS07 follow up changes (#5606)

* ADR07 follow up changes

* add assertion checks

* update ICS02 tests

* update ICS07 tests

* add trusting and ubd period to msg

* tests

* more test updates

* ICS07 follow ups (#5631)

* refactor tendermint package to move msgs here

* fix rest of package to accomadate 07 refactor

* added GetHeight to ConsensusState and moved clientstate struct creation to 07-tendermint

* start work on making misbehavior retrieve consensusState LTE misbehavior

* allow misbehavior submission at height not equal to persisted consensusState

* optimize submitMisbehavior by erroring earlier

* cleanup misbehavior and propose lazy fix

* fix bug

* Update x/ibc/02-client/keeper/client.go

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

* address fede review

* add chain-id into clientstate

* address necessary fede review

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

Co-authored-by: Aditya <adityasripal@gmail.com>

* IBC SDK specification (#5426)

* IBC SDK specification

* update events

* add implementation mapping

* minor additions to readme

* fix conflicts

* add missing ADRs, modules and ICS

* fix build

* Merge PR #5670: Fix Packet Timeout Bug

* add destination height to MsgSendTransger

* quick fix

* Add defensive checks before setting param keytables in keeprs

* ICS 20 Cleanup and Tests (#5577)

* Add comments, remove unused code and attempt to point to places where the spec is being implemented

* close channel when transfer fails

* rename packer data transfer to align to spec; refactor table tests

* ICS 20 implementation cleanup work (#5602)

* 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>

* Merge PR #5597: Include Amount in Complete Unbonding/Redelegation Events

* Add bank alias for gaia

* Moar bank alias gaia

* Moar bank alias gaia

* Call `TimeoutExecuted`, add wrappers

* Remove unused `MsgRecvPacket`

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>

* Merge PR #5603: Remove acknowledgement interface in favour of []byte

* fixes and cleanup

* spec compliance

* refactor relay prefixes and tests

* Fix test compilation

* cleanup; add notes and additional test case

* Receive transfer test

* Apply suggestions from code review

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Fix autolinter application

* Add testcase with incorrect prefix

* golangcibot fixes

* delete extra comment

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Merge PR #5666: Use Tendermint lite client verification

* Disambiguate error codes

* Fix binary marshalling for state storage

* readd MsgSubmitClientMisbehaviour

* Fix double flag registration

* ICS23 refactor (#5710)

* ICS23 restructure directories

* more fixes

* format

* Merge PR #5711: Switch mock proofs to real proofs

* Add key, path, value to mock proofs

* Also alter mock types (why are there duplicates)

* Remove mock proofs from handshake_test.go

* Use actual proofs

* Try to fix historical info, no luck

* Have test-cases produce consensus heights

* Fix consensus height / proof height difference in verifyClientConsensusState

* Bug fixes contd.

* Fix some identifier issues

* `TestConnOpenConfirm` now works

* further on proof

* fix debugger print statement

* IT PASSES

* revert identifier changes

* refactor query proof to generate proofs from either chain

* fix ack and confirm

* Remove temporary break

* fix connection and channel verify tests

* fix everything but verify client consensusstate

* fix all verify tests

* fix ics07 tests

* fix handshake tests

* fix packet tests

* fix timeout tests

Co-authored-by: Aditya Sripal <adityasripal@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>

* Try to fix store decoding issue

* Sim issue update

* add error in msg

* remove next validator set from ibctmtypes.Header

* remove warning msg

* Make IBC updating more robust

* blh

* bump tm dependency

* remove redundant clockdrift correction

* remove blh commit

* fix test build failures

* Change time from PST to UTC

* Merge PR #5770: Update error message in connection keeper

* Merge PR #5774: Debug timestamp issues

* Merge PR #5786: Fix MsgTransfer routing

* Fix test-case

* register MsgPacket

* Flip boolean

* emit packet event on SendPacket

* Fix attribute setting

* Implement in-memory KVStore

* Start keeper and types

* Add codec

* Add keys logic

* Update types

* Update keeper

* Implement NewCapability

* Implement InitializeAndSeal

* Update simapp

* Implement GetCapability

* Add logging for new and claimed caps

* Call InitializeAndSeal in SimApp

* Update keeper semantics + unit tests

* Use big endian

* More unit tests

* Increase keeper test coverage

* Remove TODO

* Add module doc

* Update doc

* Apply suggestions from code review

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

* Update NewCapability godoc

* Clarify owner

* Add forgery test case to TestAuthenticateCapability

* Format doc

* Update to tm@v0.33.2

* Update ADR

* Explicitly take pointer in FwdCapabilityKey

* Update set to be logn

* Update app module

* Lint

* Fix broken test after packet format changed

* Add stub and unit tests for ReleaseCapability

* Finish implementation

* Add test case to TestAuthenticateCapability for releasing a cap

* remove swagger files from ibc module (#5893)

* Move IBC packet data interpretation to the application module (#5890)

* fix: move IBC packet data interpretation to the application module

This also adds a channelexported.NewOpaquePacketData(rawBytes)
implementation to assist apps in being able to manipulate the
raw packet data using the codec layer.

* feat: use an internal-to-module PacketDataI type

This one only has a GetBytes() method, which is implemented by
OpaquePacketData.

* fix: remove OpaquePacketData

No need to wrap the []byte packet.GetData().  If the caller wants
it, they can use it directly.

* docs: update adr-015

* fix: put the TimeoutHeight back into the packet commitment

* refactor: simplify unmarshalling of transfer packet

* docs: update for new unmarshal steps

* fix: clean up usage of sdkerrors.Wrapf

* Apply suggestions from code review

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

* chore: remove unnecessary "encoding/binary" import

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

* fix ibc-alpha sims (#5909)

* fix some simulations

* fix HistoricalInfo sim decoders

* add staking sim decoder test case for HistInfo

* Merge PR #5901: Add & update IBC queriers for relayer use

* Add identifier to connection responses (ref #5829)

* Update querier as well

* Fix test-case

* Update for consistency

* Add querier for connection channels; fix linter

* Fix build (?)

* Add JSON & Yaml tags

* Add tags

* Add identifiers to channels as well

* fix test

* Merge PR #5914: x/capability: Fix Object Capability Model

* Merge PR #5918: Remove source field from ICS 20 packet & message types per latest spec

* fix ics20 client args (#5924)

* Merge PR #5930: Add GetChainID to ClientState interface

* Merge PR #5925: Add additional events to x/ibc

* Migrate x/capability to Protobuf (#5926)

* migrate x/capability to protobuf

* fixes

* format

* remove capability from codec std

* return pointer for getOwners

* remove &

* Update x/capability/keeper/keeper.go

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* rename remove Capability interface; rename CapabilityKey -> Capaility; cc @cwgoes

* x/capability: remove RegisterCapabilityTypeCodec and seal amino cdc

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

* Merge PR #5939: Unmarshal packets as JSON

* Merge PR #5888: Dynamic Capabilities with Routing

* cleanup ibc-alpha (#5945)

* cleanup ibc-alpha

* remove HasKeyTable()

* add preexisting checks

* undo remove checks

* x/staking: import and export HistoricalInfo

* staking/types: add HistoricalInfo to GenesisState

* changelog

* add staking module to app BeginBlockers

* remove JSON files

* address comments from review

* cleanup ibc-alpha

* fix ibc-alpha lint (#5959)

* x/ibc: changelog (#5960)

* x/ibc: changelog

* add reference to the spec

* Merge PR #5954: Bind Transfer Port on InitChain

* Bind transfer port in InitChain

* push fixes

* address @fedekunze review

* Apply suggestions from code review

* lint

Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>

Co-authored-by: Joon <torecursedivine@gmail.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: vincent <vincent.ch.cn@gmail.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Aditya Sripal <adityasripal@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: kaustubhkapatral <54210167+kaustubhkapatral@users.noreply.github.com>
Co-authored-by: Ferenc Fabian <qwer.kocka@gmail.com>
Co-authored-by: Dmitry Shulyak <yashulyak@gmail.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Michael FIG <michael+github@fig.org>
Co-authored-by: Segue <huoda.china@163.com>
2020-04-08 20:57:52 -04:00
Aaron Craelius
e8a82f78ca
Merge PR #5894: ADR 021 - Protocol Buffer Query Support 2020-04-02 12:07:34 -04:00
eosforce
c87a1e00de docs(cn): match new docs in intro and basics 2020-04-01 20:52:04 +08:00
Alexander Bezobchuk
fb599adb9b
Merge branch 'master' into bez/tx-client-proto-i 2020-03-26 14:03:48 -04:00
Christopher Goes
07b8210dee Update ADR 3: add ReleaseCapability 2020-03-26 16:40:57 +01:00
Alexander Bezobchuk
c77b2b90bb
Update docs/architecture/adr-020-protobuf-transaction-encoding.md
Co-Authored-By: Aaron Craelius <aaron@regen.network>
2020-03-26 11:11:03 -04:00
Alexander Bezobchuk
37885b8d38
Merge branch 'master' into bez/tx-client-proto-i 2020-03-25 14:25:58 -04:00
Aleksandr Bezobchuk
e77d5cb677
Update ADR + changelog 2020-03-25 11:09:26 -04:00
Aleksandr Bezobchuk
f20db1c835
Update ADR 2020-03-25 11:03:36 -04:00
Aleksandr Bezobchuk
ef29fef514
Fix test and update ADR 2020-03-24 18:00:22 -04:00
billy rennekamp
2be38d0304
Improve keyring docs (#5822)
* Update cli.md

* Update cli.md

* Update docs/interfaces/cli.md

Co-Authored-By: Alessio Treglia <alessio@tendermint.com>

* Update docs/interfaces/cli.md

Co-Authored-By: Alessio Treglia <alessio@tendermint.com>

* replace cli modifications with keyring md

* update pasword to keypasswd

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-03-24 16:30:35 +00:00
Denis Fadeev
43627d0d1c
Update docs website (#5827)
* 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

* scrollbar color

* move synopsis from frontmatter

* move synopsis from frontmatter

* code styling in synopsis fix

* tutorial link

* active headers

* 404 fix

* homepage links fix

* fix link in footer

* misc fixes

* version

* prerequisite links on mobile

* version

* version

* Fix footer links

* version

* Fix permalink popup

* Update version

* package-lock.json

* Update Questions section in the footer

* Config for Algolia Docsearch

* Update version

* Update to the latest version of the theme

* Use docs-staging as a branch for staging website

* Update version

* Add google analytics

* Remove {hide} from Pre-Requisite Readings

* Replace Riot with Discord

Co-Authored-By: billy rennekamp <billy.rennekamp@gmail.com>

* Fix yaml syntax error in docs

* Fix formatting in keyring.md

Co-authored-by: Gloria Zhao <gzhao408@berkeley.edu>
Co-authored-by: gamarin <gautier@tendermint.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Hans Schoenburg <hschoenburg@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
2020-03-24 16:20:30 +00:00
Marko
999a83d698
docs: link checker (#5860) 2020-03-24 11:21:30 +01:00
Alessio Treglia
a1ac04c96b
add keyring backends docs (#5854)
In addition to #5822.
2020-03-23 19:02:10 +01:00
Alexander Bezobchuk
e0021ad409
Update docs/architecture/adr-020-protobuf-transaction-encoding.md
Co-Authored-By: Marko <marbar3778@yahoo.com>
2020-03-16 10:48:37 -04:00
Aleksandr Bezobchuk
98f62db242
Fix linting 2020-03-15 14:10:15 -04:00
Aleksandr Bezobchuk
f60cd5a2b5
Merge branch 'master' into bez/proto-client-init 2020-03-14 12:34:34 -04:00
Jonathan Gimeno
2e42f9cb74
Favor marshal unmashal binare bare (#5799)
* change abci file to use BinaryBare

* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.

* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.

* update decoder test

* migrate decoder

* migrate gov simulation decoder

* migrate baseapp_test

* refactor QuerySubspace

* refactor coedc std codec

* migrate keybase

* migrate iavl store

* migrate root multi

* migrate ante basic

* migrate tx type to bare

* migrate auth client

* update auth types

* update decoder

* migrate supply decoder

* migrate stake encoding

* migrate staking simulation

* migrate genutil

* migrate simapp test helpers

* migrate docs

* upgrade changelog

* Update CHANGELOG.md

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

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Aleksandr Bezobchuk
c49af0b8dd
Update context 2020-03-13 13:59:14 -04:00
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
Christopher Goes
52475b1684 Fix minor typos 2018-08-14 11:31:39 +02:00
Matthew Slipper
8fa2c3b4ea Merge PR #1984: Replace _ with - in command names
Closes #1955
2018-08-14 10:23:42 +02:00
Federico Kunze
63713c9378 Merge pull request #2000: tests for staking lcd
* Added tests for Delegator Validators routes

* Updated tests for undelegations

* Updated Gaia-lite docs

* Updated PENDING.md

* Updated comments

* Deleted more comments

* Add spacing
2018-08-13 18:06:48 -04:00
Jack Zampolin
c9cbb0b094 Merge PR #2010: Add RELEASE_TEST_SCRIPT.md 2018-08-13 21:41:07 +02:00
Christopher Goes
8b7d6e0979 Update state machine, contd. 2018-08-13 17:52:58 +02:00
Christopher Goes
2445718295 State machine contd. 2018-08-13 17:03:39 +02:00
Christopher Goes
07a7db7fda Update links 2018-08-13 16:12:59 +02:00
Christopher Goes
a8af4a4fad End block to begin block, add README 2018-08-13 16:04:35 +02:00
Christopher Goes
53fa4a28dc Start update of state-machine.md 2018-08-13 15:55:30 +02:00
Christopher Goes
ff01cbb093 Update state.md 2018-08-13 15:48:23 +02:00
Christopher Goes
98a278d564 Reorganize sections 2018-08-13 14:56:10 +02:00
Christopher Goes
84e9b215b2 Fix typo 2018-08-13 14:54:42 +02:00
Christopher Goes
4f8c9e4917 Update transactions.md 2018-08-13 14:51:01 +02:00
Zach
f18c01d291 Merge PR #1994: Delete install.md 2018-08-13 13:15:01 +02:00
gamarin2
c5fcc9b65f Add SDK_By_Examples to doc (#1795)
* Add simple gov example and sdk-by-example folder

* Add simple gov example

* Add simple gov example and sdk-by-example folder

* Add simple gov example

* fix sectino title

* Jb feedback + Offload some of the content in other docs

* Add what is cosmos back

* platform to framewoork

* Reemove testnet
2018-08-12 03:37:26 -04:00
Dev Ojha
b2a4aecc44 Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs.

* (squash this) Fix staking tests

* wip

* note what changes need to be made to make this work on tm v0.23.0

* Fix addr -> pubkey map

* cleanup code

* Fix slashing test failures except for begin blocker

* fix all slashing tests

* fix lcd tests

* Address PR comments

* add link to changelog.

* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.

* Use the correct method of storing a map

* (squash this) address PR comments

* Did you run 'make'?

* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Ethan Buchman
691048c88a
Merge pull request #1917 from gamarin2/update_val_faq
Update validator faq
2018-08-12 03:32:59 -04:00
Christopher Goes
8f05d052f2 Merge branch 'master' into cwgoes/stage 2018-08-11 15:04:28 +02:00
Aleksandr Bezobchuk
6675be23d2 Add proposed status 2018-08-09 15:02:50 -04:00
Aleksandr Bezobchuk
aa01e9954c Simply Cosmos signed message spec (using TM canonical JSON) 2018-08-09 11:35:22 -04:00
rigelrozanski
e7ebe35b0a updating transactions 2018-08-09 00:34:19 -04:00
rigelrozanski
5285489977 general updates 2018-08-08 23:43:40 -04:00
Jae Kwon
0600d7356d
Update PRIORITIES.md 2018-08-08 13:06:01 -07:00
Jae Kwon
bd65dbe2df
Update PRIORITIES.md 2018-08-08 12:59:21 -07:00
Jae Kwon
9342e34da2
Update PRIORITIES.md 2018-08-08 12:58:27 -07:00
Jae Kwon
b333d56b36
Update PRIORITIES.md 2018-08-08 12:55:23 -07:00
Jae Kwon
950f151e02
Update PRIORITIES.md 2018-08-08 12:49:02 -07:00
rigelrozanski
a0e05a8f03 triggers, endblock, transactions 2018-08-08 15:03:43 -04:00
rigelrozanski
2d613cefe7 move lamborghini distribution to subfolder 2018-08-08 14:24:38 -04:00
rigelrozanski
eb6f51ed45 piggy bank state 2018-08-08 13:28:30 -04:00
rigelrozanski
97397e63da simple distribution overview 2018-08-08 13:09:51 -04:00
Ethan Buchman
e6dc01ec27
Bucky/docs (#1843)
* docs: updates for 7002

* docs: use master instead of versions

* Update validator-setup.md

* 7002 -> 7005
2018-08-08 12:26:31 -04:00
Federico Kunze
1da1115a24 Merge PR #1880: Staking Gaia-lite (ex LCD) refactor 2018-08-08 12:38:39 +02:00
Rigel
7fb626f548 Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
Aditya Sripal
7539e212ee more readable pseudo 2018-08-07 17:04:22 -07:00
Aditya Sripal
feb9a22663 Cleaned up spec further 2018-08-07 17:02:28 -07:00
Aditya Sripal
2ac55ebb1d even better pseudocode 2018-08-06 15:23:47 -07:00
Aditya Sripal
d56e3a7ef9 better pseudocode 2018-08-06 13:03:58 -07:00
Christopher Goes
46382994a3
Merge PR #1925: Fix develop from FF merge
* Update types/coin_test.go from FF merge
* 'make format'
2018-08-06 21:49:17 +02:00
Aditya Sripal
9c1918efdc improve readability 2018-08-03 13:16:41 -07:00
Aditya Sripal
10b2e830a2 addressed comments, added formulas for easy verification 2018-08-03 13:12:34 -07:00
gamarin
f90fd2b90c update val faq 2018-08-03 17:43:31 +02:00
Zach
3c4985c315 Merge PR #1913: Delete gaiacli.md 2018-08-03 02:18:48 +02:00
Aleksandr Bezobchuk
9cfe2c59f1 Update schema 2018-08-02 14:35:54 -04:00
Aleksandr Bezobchuk
43420936e5 Fix link 2018-08-02 14:31:09 -04:00
Aleksandr Bezobchuk
11abc3f4f4 Update encoding and schema spec 2018-08-02 14:28:23 -04:00
Aleksandr Bezobchuk
508c54d3cd Update API section to be more spec-defined 2018-08-01 15:38:54 -04:00
Aleksandr Bezobchuk
00e116c0c7 Update preliminary 2018-08-01 14:53:34 -04:00
Aditya Sripal
d4d7658166 New idea for spec 2018-07-31 18:11:19 -07:00
Jae Kwon
9841a2dd91
Update PRIORITIES.md 2018-07-31 16:46:43 -07:00
Jae Kwon
a5114ea1a2
Create PRIORITIES.md 2018-07-31 12:43:02 -07:00
Aleksandr Bezobchuk
fd64da8587 Update assumptions 2018-07-31 10:04:21 -04:00
Aleksandr Bezobchuk
da0d907d12 Update ICS cosmos signed messages 2018-07-31 09:38:29 -04:00
Aleksandr Bezobchuk
02a7552f18 Remove ADR 001 and related directories/files 2018-07-30 16:59:58 -04:00
Aditya Sripal
41130f8742 Addressed basic comments 2018-07-30 13:25:44 -07:00
Aleksandr Bezobchuk
f875b446e1 Add notes on replay protection and algos 2018-07-30 12:47:26 -04:00
Aleksandr Bezobchuk
3fe0b73b03 Update ADR 001 context 2018-07-30 12:19:39 -04:00
Aleksandr Bezobchuk
6d75b69a5c Initial ADR directory, templates, and ADR 001 2018-07-30 11:16:33 -04:00
Aditya Sripal
89494ef73e improve readability 2018-07-29 19:35:23 -07:00
Aditya Sripal
69d1fe2fb1 clarify requirements 2018-07-29 19:33:17 -07:00
Aditya Sripal
39d1cf69b5 simplify spec 2018-07-29 19:29:54 -07:00
Aditya Sripal
3445a85aad initial progress on vesting spec 2018-07-27 18:35:21 -07:00
Christopher Goes
02d52e4326 Hotfix/0.23.1: Tendermint 0.22.7 (#1844)
* Tendermint 0.22.7; bump patch version

* 0.23.0 -> 0.23.1; update CHANGELOG.md
2018-07-26 19:24:51 -04:00
Jack Zampolin
12ef51dc7a Add a Release Process for SDK (#1803)
* Add docs/RELEASE_PROCESS.md

* Address PR comments
2018-07-26 16:55:41 -04:00
Dev Ojha
78c58bfa15 Merge PR #1836: docs: Fix build errors on latest tendermint 2018-07-26 10:19:48 +02:00
Ethan Buchman
a627526639
Bucky/docs (#1832)
* deprecate gaia testnets dir for testnets repo

* update docs for gaia-7002
2018-07-26 01:10:22 -04:00
Dev Ojha
bac91f7a7b Update to tendermint v0.22.6 (#1798)
* Update to tendermint v0.22.6

- This was cherry-picked and fixed from develop
- Updates all crypto imports for changes from v0.22.5
2018-07-25 17:13:30 -04:00
Dev Ojha
5d02a743fb Update to tendermint v0.22.6-rc0 (#1798)
* Update to tendermint v0.22.6-rc0

This is comprised of updating the crypto imports / API

* (squash this) switch to v0.22.6

If this passes tests, I'll squash this commit and update the PR.
2018-07-25 16:43:37 -04:00
Rigel
d6cd0d4acc Merge PR #1818: CLI keybase-sig -> identity 2018-07-25 20:43:13 +02:00
Aditya
671d8494b4 Merge PR #1682: Docs example app tests 2018-07-24 06:13:55 +02:00
Aditya Sripal
48885b4093 merge 2018-07-19 11:38:44 -07:00
Ethan Buchman
27840abb38
Merge pull request #1617 from cosmos/adrian/lcd_spec_final
LCD and API Specification / Documentation
2018-07-19 17:44:13 +02:00
Rigel
d2f70ec8af Merge PR #1748: CLI use --from consistently 2018-07-19 08:53:12 +02:00
Rigel
8e26eb73a5
Merge branch 'develop' into svaishnavy/cosmos-sdk-cli 2018-07-18 21:27:04 -04:00
Aditya Sripal
218c9b3702 Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-18 17:48:15 -07:00
Aditya Sripal
8cdbc4b267 fix baseapp docs 2018-07-18 16:37:02 -07:00
Aditya Sripal
ca5e1591b1 update documentation 2018-07-18 16:32:50 -07:00
Aditya Sripal
81f3e794fe make breaking changes 2018-07-18 16:24:16 -07:00
svaishnavy
1d9415eae0
Replacing with a single backtick 2018-07-18 21:37:11 +02:00
svaishnavy
b7783a8a26
Making suggested changes 2018-07-18 21:20:38 +02:00
Sridhar Ganesan
9c5406891e Changing docs for cosmos-sdk-cli - including $ before beginning shell command 2018-07-18 12:18:57 +02:00
Sridhar Ganesan
8edac192e0 Moving cli.md to cosmos-sdk-cli.md 2018-07-17 21:50:25 +02:00
Sridhar Ganesan
dedb2e4278 Formatting the command properly 2018-07-16 22:30:11 +02:00
Sridhar Ganesan
0bde720c80 Adding docs for cosmos-sdk-cli 2018-07-16 22:28:21 +02:00
Zach Ramsay
4e1cbb7d51 docs: how they're updated 2018-07-16 14:19:11 -04:00
Aditya Sripal
5b98a3da48 Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-13 17:22:56 -07:00
Rigel
3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Aditya Sripal
cd23f8b370 Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-13 12:35:55 -07:00
Ethan Buchman
faa88d83c7
Merge pull request #1656 from cosmos/jordan/cosmos-docs
update docs folder to match cosmos.network/docs/
2018-07-13 20:24:08 +01:00
Ethan Buchman
32496c7b89
Merge pull request #1129 from cosmos/gamarin/update_gov_spec
WIP: Update gov spec
2018-07-13 20:00:17 +01:00
Aditya Sripal
4751727351 fmt 2018-07-12 19:06:54 -07:00
Aditya Sripal
98c19516c5 merge 2018-07-12 18:34:54 -07:00
Aditya Sripal
fa31165438 Refactor BaseApp without breaking change 2018-07-12 18:32:48 -07:00
Jordan Bibla
28da104e1a
Merge branch 'master' into jordan/cosmos-docs 2018-07-12 20:01:27 -04:00
Alexander Bezobchuk
5983a07fb6 Merge PR #1599: Implementation of TraceKVStore 2018-07-13 01:58:51 +02:00
Jordan Bibla
97cf9a3173 deleted attic and .rst file, moved /core into /sdk, added getting-started, introduction, lotion, validators, resources and documentation image 2018-07-12 16:58:12 -04:00
gamarin2
894d0cf5e3
Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
Adrian Brink
42c2712543
Address comments
* Move from specs to docs folder
* Attempt to fix markdown links
* Address general comments from the PR
* Remove overview.md due to duplication with readme.md
2018-07-11 13:50:09 +02:00
Ethan Buchman
3f44589861 Merge branch 'develop' 2018-07-10 20:31:05 -04:00
Adrian Brink
9cdbe493fb
Finalise LCD spec 2018-07-10 13:48:43 +02:00
mossid
bc12880394 Merge pull request #1379: Account constructor in AccountMaper
fix

fix democoin

fix tests

pass lint

last fix

apply requests

fix build failing

fix docs
2018-07-09 20:29:14 -07:00
Sunny Aggarwal
9f2f47a0a5 changelong 2018-07-09 02:15:36 -07:00
sunnya97
7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
Christopher Goes
0c47e6ffdf
Merge PR #1568: cli: deprecate --name in favor of --from 2018-07-06 04:37:45 +02:00
ValarDragon
bf8cde1d3a cli: deprecate --name in favor of --from 2018-07-05 17:24:02 -07:00
Liamsi
b7f902fba5 sort *all* GetSignBytes:
- call MustSortJSON before return JSON bytes to guarantee alphabetic
ordering

- moved SortJSON and MustSortJSON to types package to avoid cyclic
package dep
2018-07-06 01:12:57 +01:00
Christopher Goes
7a9bca5f33
Merge branch 'develop' into zach/docs-and-links 2018-07-04 20:32:38 +02:00
Zach Ramsay
557e652530 docs: fix dead links, closes #1508 2018-07-04 09:23:01 -04:00
Alexander Bezobchuk
0b9e0f2afc Merge PR #1492: Improve Module Test Coverage
* Merge pull request #1492: Improve Module Test Coverage
* Revert renaming of SignCheckDeliver [#1492]
* Remove named fields from stake unit tests & fix comments [#1492]
* update for tmlibs->tendermint/libs
* Remove tmlibs dependency
2018-07-04 06:21:36 +02:00
Yukai Tu
f1194019cd Merge PR #1534: Check new rat decimal string length 2018-07-04 05:29:05 +02:00
Jack Zampolin
270e216262 Merge PR #1512: Add Ledger Instructions
* Add ledger instructions
* Address PR comments
2018-07-04 00:10:56 +02:00
Ethan Buchman
f78f30c67a update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
gamarin
b2e9e1724b Spec conforms to current module 2018-07-02 13:50:55 +02:00
Christopher Goes
3654579ea7
Merge PR #1278: Slashing v2
Implement semifinal Gaia slashing spec (#1263), less #1348, #1378, and #1440 which are TBD.
2018-06-30 05:34:55 +02:00
Dev Ojha
0d28eda146 Merge PR #1463: docs: Fix dependencies, from monorepo merge
Closes #1456
2018-06-29 22:02:45 +02:00
Zach Ramsay
11e929ac0f add link to new docs location 2018-06-29 09:42:50 -04:00
Dev Ojha
b4e70e356e Merge PR #1453: Fix build error on develop 2018-06-29 09:06:49 +02:00
Ethan Buchman
a7cdea5931 minor fix 2018-06-29 02:03:59 -04:00
Ethan Buchman
4e87cdf444 add links for modules and clients 2018-06-29 01:59:52 -04:00
Ethan Buchman
822ebdb501 cleanup _attic 2018-06-29 01:53:43 -04:00
Ethan Buchman
12a180786a started app5 2018-06-29 01:31:06 -04:00
Ethan Buchman
f405bdf761 template app4.md. simplify app4.go 2018-06-29 00:41:44 -04:00
Ethan Buchman
1d4d9e922f simplify and complete app3 2018-06-28 23:42:04 -04:00
Ethan Buchman
d1a42e0691 satisfy linter 2018-06-28 20:23:09 -04:00
Ethan Buchman
d0efeb1020 fill in app3 todos. simplify app3.go 2018-06-28 20:17:50 -04:00
Ethan Buchman
778b102a52 more app1/app2 cleanup 2018-06-28 20:08:38 -04:00
Ethan Buchman
e7081040d0 address TODOs in app 1 and 2 2018-06-28 19:41:40 -04:00
Ethan Buchman
e8946e9b36 fixes from review 2018-06-28 19:06:37 -04:00
Aditya Sripal
4e2eb240f3 Appease linter 2018-06-28 15:08:39 -04:00
Aditya Sripal
e3f38b6f6c Added some documentation 2018-06-28 15:08:34 -04:00
Aditya Sripal
98be0e7f76 Improved apps with better handling/routing and simpler MsgIssue 2018-06-28 15:08:30 -04:00
Ethan Buchman
6bbe295d7f app3 coin keeper 2018-06-27 12:45:01 -04:00
Ethan Buchman
0c5e3fdc74 some cleanup, remove old files 2018-06-27 10:08:55 -04:00
Ethan Buchman
b335d3bb70 app3 ante handler 2018-06-27 09:53:00 -04:00
Ethan Buchman
bd581b22e8 working on app3 2018-06-27 09:02:11 -04:00
Ethan Buchman
d6a01ba3a4 minor updates in App2 2018-06-27 08:24:40 -04:00
Ethan Buchman
0987787896 more app1 cleanup 2018-06-27 08:11:11 -04:00
Ethan Buchman
6a5a8b4721 minor cleanup 2018-06-27 07:59:20 -04:00
Ethan Buchman
fc81c14a16 update/finish app1 go and md 2018-06-27 07:51:46 -04:00
Ethan Buchman
354f9760f8 move AnteHandler to app2 and some cleanup in app3 2018-06-27 07:15:30 -04:00
Aditya Sripal
41c61d2cc7 Revert changes to app1 router 2018-06-27 07:15:30 -04:00
Aditya Sripal
e11e469340 Initialize coin metadata in app4 and fmt 2018-06-27 07:15:30 -04:00
Aditya Sripal
c0445e52b0 Remove unnecessary fields from simple account 2018-06-27 07:15:30 -04:00
Aditya Sripal
d1c9b8bdb9 Finish app1-3, app4 done minus staking 2018-06-27 07:15:30 -04:00
Ethan Buchman
e6aec82f40 update readme 2018-06-27 07:15:30 -04:00
Ethan Buchman
72c1381a4d some reordering in app1 and app3 2018-06-27 07:15:30 -04:00
Ethan Buchman
dde8abf9d7 more structure for app2 and app3 md 2018-06-27 07:15:30 -04:00
Ethan Buchman
69a4737659 more minor fixes 2018-06-27 07:15:30 -04:00
Ethan Buchman
cc4f2541c5 fix comment 2018-06-27 07:15:30 -04:00
Ethan Buchman
bc35c72952 minor fixes 2018-06-27 07:15:30 -04:00
Ethan Buchman
7566ac2a94 consolidate files into appX.md 2018-06-27 07:15:30 -04:00
Ethan Buchman
b3b075cc12 finish docs for app1 2018-06-27 07:15:30 -04:00
Aditya Sripal
05db92f154 Added handler to app1 2018-06-27 07:15:30 -04:00
Ethan Buchman
234d7498de docs/examples: templates for more examples 2018-06-27 07:15:30 -04:00
Ethan Buchman
7e50e7d125 docs: update readme structure with example apps 2018-06-27 07:15:30 -04:00
Ethan Buchman
9233e35716 example app1 2018-06-27 07:15:30 -04:00
Rigel
6f140d7296 Merge PR #1119: Unbonding, Redelegation
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322)
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
Sunny Aggarwal
9ca3a16bb3 Merge PR #1397: Fix spelling changes
* fixed spelling changes
* extra spelling error
2018-06-27 01:58:42 +02:00
Zaki Manian
7e9859d388 Added a bech32 spec doc 2018-06-21 22:38:40 -07:00
Sunny Aggarwal
dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
Ethan Buchman
b983bd3ddf /docs/sdk -> /docs 2018-06-21 15:46:33 -07:00
Ethan Buchman
f0c3f0e47a remove old files. move rest to _attic 2018-06-21 15:46:33 -07:00
Ethan Buchman
84f0c6d609 updates from feedback 2018-06-21 15:46:33 -07:00
Ethan Buchman
03f3b96085 docs/sdk: various updates 2018-06-21 15:46:33 -07:00
Ethan Buchman
671956c74c baseapp 2018-06-21 15:46:33 -07:00
Ethan Buchman
bfe6eed02c update readmes 2018-06-21 15:46:33 -07:00
Ethan Buchman
aafd06ed91 update store.md 2018-06-21 15:46:33 -07:00
Ethan Buchman
7f603c8d57 deprecate /docs/guides/sdk 2018-06-21 15:46:33 -07:00
Ethan Buchman
a051091219 docs/spec: update readme 2018-06-21 15:46:18 -07:00
Ethan Buchman
d95cb82741 reorg docs/sdk and move stuff from docs/guide/sdk 2018-06-21 15:46:18 -07:00
Ethan Buchman
5573beffa7 bust up guide.md into docs/sdk 2018-06-21 15:46:18 -07:00
Aditya
f049a56376 Merge PR #1266: Multiple messages
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Ethan Buchman
c4a70f683c Merge branch 'aditya/guide' into develop 2018-06-16 17:46:59 -07:00
Ethan Buchman
190d87d750 docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
Ethan Buchman
2219c3b1c7 docs/spec/slashing: point to Tendermint evidence 2018-06-16 00:29:02 -07:00
Christopher Goes
0a6d09ebb3 Fix two typos, ensure nonnegative tokens 2018-06-16 00:29:02 -07:00
Ethan Buchman
902d066f52 docs/spec/slashing: separate out a proper state.md 2018-06-16 00:29:02 -07:00
Ethan Buchman
1b93f468bc docs/spec/staking: clean up state.md 2018-06-16 00:29:02 -07:00
Ethan Buchman
cab0a9bbae docs/spec/slashing 2018-06-16 00:29:02 -07:00
Ethan Buchman
85389f0db9 docs/spec/staking: update state.md 2018-06-16 00:29:02 -07:00
gamarin
9d5425b806 latest change 2018-06-15 16:18:50 +02:00
Aditya Sripal
eb5113af55 Added documentation to guide 2018-06-14 19:18:48 -07:00
Ethan Buchman
1cac5e7a0f Merge branch 'develop' into rigel/spec-staking 2018-06-14 11:22:29 -07:00
Fabian
42e72956f4 Merge PR #1252: Query node version
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
rigelrozanski
ab028a7805 cwgoes comments, improved pseudocode 2018-06-13 21:58:36 -07:00
rigelrozanski
14c1ff27f3 Merge remote-tracking branch 'origin/develop' into rigel/spec-staking 2018-06-13 20:50:59 -07:00
Dev Ojha
bd362ee590 Merge PR #1090: Switch away from ephemeral ports
* Switch ports 4665x to be 2655x
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Missed one doc file, change dep so gaiad works
* Update changelog, fix Gopkg.lock
2018-06-14 00:13:51 +02:00
Sunny Aggarwal
161cb474d4 Account Numbers for Replay Protection with Account Pruning (#1077)
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
gamarin
09ea8dac11 additional chekc in VoteMsg 2018-06-07 12:30:49 +02:00
gamarin
b525989319 Split procedures and add grace period 2018-06-07 12:02:21 +02:00
Fabian
5f409ce832 Merge PR #1086: Bech32Cosmos output/input for the LCD
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
rigelrozanski
02559e725a cwgoes spec comments 2018-06-05 09:25:27 -07:00
ValarDragon
508af391fe docs: Add disclaimer for install scripts 2018-06-05 09:25:27 -07:00
ValarDragon
40df73adc2 docs: Add BSD install script 2018-06-05 09:25:27 -07:00
Zach Ramsay
cd4499c15f docs: link to quick install script 2018-06-05 09:25:27 -07:00
Zach Ramsay
d87dfce8e4 docs: rst => md 2018-06-05 09:25:27 -07:00
Christopher Goes
e78a232e85 Move over slashing spec changes from #1011 2018-06-05 09:23:23 -07:00
rigelrozanski
605dfbbe54 changelog, update spec README 2018-06-05 09:23:23 -07:00
Zach Ramsay
d587a6f6c3 docs: some files need to be in root & path fixes 2018-06-05 09:23:23 -07:00
rigelrozanski
25ae026958 spec complete unbonding, redelegation txs 2018-06-05 09:23:23 -07:00
rigelrozanski
e39ba70c08 complete staking spec update 2018-06-05 09:23:23 -07:00
rigelrozanski
b8cf5f347e transaction stake updates 2018-06-05 09:23:23 -07:00
rigelrozanski
35956c1c78 staking spec state revisions 2018-06-05 09:23:23 -07:00
rigelrozanski
55cc086f55 docs reorganization 2018-06-05 09:23:23 -07:00
rigelrozanski
c66ded7646 staking overview.md revisions, moving files 2018-06-05 09:23:23 -07:00
rigelrozanski
18aa9a9909 stake/fees spec updates 2018-06-05 09:23:23 -07:00
gamarin
8c800eb42a Sunnys feedback 2018-06-05 16:43:56 +02:00
Jeremiah Andrews
5a831bd0f8 additional changes 2018-06-04 18:35:07 -07:00
Jeremiah Andrews
3f4b041d0b changed to new cli commands in docs 2018-06-04 16:40:04 -07:00
gamarin
6f8a2d562c better display 2018-06-04 17:34:31 +02:00
gamarin
bd8c481064 Small fix 2018-06-04 17:22:38 +02:00
gamarin
5735075b05 Revamp gov spec 2018-06-04 17:20:07 +02:00
Zaki Manian
f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Fabian
5b32a0ed7a
Merge branch 'develop' into fabo/downgrade-swagger-to-v2 2018-05-24 10:34:29 +02:00
Fabian
a7f21e2b63
downgrade swagger 2018-05-23 16:36:33 +02:00
Christopher Goes
d47fdc1667
baseserver => Gaia 2018-05-19 00:07:33 +02:00
Fabian
27085cf75a updated rest spec 2018-05-14 17:52:52 +02:00
Ethan Buchman
0cf51da799 update valset-changes.md 2018-05-09 09:55:39 -04:00
Ethan Buchman
077ffeb706 spec: explicit CandidateStatus enum 2018-05-09 09:55:19 -04:00
Ethan Buchman
f4b2750b4f update readme 2018-05-08 17:46:08 -04:00
Ethan Buchman
b8b200ac34 consolidate into valset-changes.md 2018-05-08 17:45:05 -04:00
Ethan Buchman
111e7ecd52 spec: bust up staking into files 2018-05-08 17:35:24 -04:00
Ethan Buchman
2cad1aab3d remove governance.md 2018-05-08 17:17:49 -04:00
Ethan Buchman
b3421a884d spec/governance: update transactions.md 2018-05-08 15:53:23 -04:00
Ethan Buchman
ac8597e49d spec/governance: update state.md 2018-05-08 15:31:37 -04:00
Ethan Buchman
8a6ec9a257 slashing wip 2018-05-08 10:50:09 -04:00
Ethan Buchman
b452859f6a staking spec: minor cleanup 2018-05-08 10:50:02 -04:00
Ethan Buchman
ffed398035
Merge branch 'develop' into feature/ibc 2018-05-07 09:42:40 -04:00
Ethan Buchman
bf178ba041 spec/ibc -> spec/ibc/mvp 2018-05-07 09:47:17 -04:00
Christopher Goes
7dc29c0785
Update appendices 2018-05-02 18:01:17 +02:00
Rigel
a674d75016
Merge pull request #895 from cosmos/sunny/remove-msg-get
Remove Get function from Msg interface
2018-04-30 22:12:19 -04:00
Adrian Brink
d52d74582a
Change fermion to steak 2018-04-30 16:24:46 -07:00
Sunny Aggarwal
339c02af27
docs/guide.md 2018-05-01 00:15:27 +02:00
Sunny Aggarwal
52478de857
updated documentation 2018-05-01 00:15:27 +02:00
Christopher Goes
f9b5d8c648
Minor README updates 2018-04-26 22:03:25 +02:00
rigelrozanski
0f28f6738a updated some testnet docs, gen-txs now in the config folder 2018-04-26 15:52:20 -04:00
Christopher Goes
9eeffaa06d
Fix vector clock reference 2018-04-23 12:09:04 +02:00
Christopher Goes
43f97496cf
Update optimizations section 2018-04-23 11:57:40 +02:00
Christopher Goes
25a146d43f
Update optimizations section 2018-04-21 20:56:53 +02:00
Christopher Goes
dddf818e20
Move Byzantine failure section to Appendix D 2018-04-21 15:04:06 +02:00
Christopher Goes
1ac8a4b38e
Connection / channel / packet clarifications 2018-04-21 14:33:21 +02:00
Adrian Brink
fbfec1c9cf
Start prep for IBC standard for Ethereum community 2018-04-21 13:43:57 +02:00
Christopher Goes
37fd166829
Formatting updates 2018-04-20 19:22:00 +02:00
rigelrozanski
3e7481d00f updated docs for new key work
updated docs for new key work
2018-04-20 13:16:03 -04:00
Christopher Goes
00489162ac
Clarify connections intro, Byzantine recovery strategies 2018-04-20 13:28:17 +02:00
Rigel
3186898db5
Merge pull request #848 from cosmos/zach/docs
docs: update read the docs
2018-04-19 14:10:00 -04:00
Zach Ramsay
57b150960c docs: add key generation pseudo code 2018-04-19 12:25:00 -04:00
Zach Ramsay
0fd69d56ee docs: PR comments 2018-04-19 12:14:06 -04:00
Zach Ramsay
f9fc2e88d9 lil fixes 2018-04-19 12:03:17 -04:00
Zach Ramsay
9924b1cb11 docs: build fixes 2018-04-19 12:03:17 -04:00
Zach Ramsay
90d03a81b0 docs: rst-ify testnet doc 2018-04-19 12:03:17 -04:00
Zach Ramsay
c3cabbf786 docs: add testnet doc from @kidinamoto01 2018-04-19 12:03:17 -04:00
Zach Ramsay
4c0a5a6c20 docs: move back updated intro 2018-04-19 12:03:17 -04:00
Zach Ramsay
d7d09f3fea docs: cleanup 2018-04-19 12:03:17 -04:00
Zach Ramsay
15011eaf22 docs: use correct binary 2018-04-19 12:03:17 -04:00
Zach Ramsay
6a7dc0966f docs: update binary 2018-04-19 12:03:17 -04:00
Zach Ramsay
f386946d4c docs update part 1 2018-04-19 12:03:17 -04:00
Ethan Buchman
266ea5ce82 docs cleanup 2018-04-19 12:03:17 -04:00
Christopher Goes
773c87e8c0
Add section on closing IBC connections 2018-04-19 16:51:27 +02:00
rigelrozanski
d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
Christopher Goes
f9e8018d43
Add receipt definition 2018-04-18 14:35:20 +02:00
Christopher Goes
2493332509
Define IBC packet, IBC channel 2018-04-18 13:22:14 +02:00
Christopher Goes
edd5368669
Add the concept of a 'channel' 2018-04-17 18:23:26 +02:00
Christopher Goes
eafa484184
Fix a few links 2018-04-17 16:39:33 +02:00
Christopher Goes
be3fa5672e
Update layout & fix anchor links 2018-04-17 16:28:34 +02:00
Christopher Goes
1cdfef81cd
Reorder Merkle proof section 2018-04-17 16:28:34 +02:00
Christopher Goes
0b00dbfdcd
Clarify queue interface 2018-04-17 16:28:34 +02:00
Christopher Goes
8e9615a403
Pluralize 2018-04-17 16:28:34 +02:00
Christopher Goes
f01ab5e4c9
Start editing of Queues section 2018-04-17 16:28:34 +02:00
Christopher Goes
f1c7d1ccea
Cleanup & clarification in progress 2018-04-17 16:28:33 +02:00
Christopher Goes
dc2c638f7f
Move specification.md to README.md, cleanup overview, separate MVP directory 2018-04-17 16:28:33 +02:00
Christopher Goes
6500728dd2
Rebase onto develop 2018-04-17 16:28:33 +02:00
Ethan Frey
a8d3b3ef19
Correct spelling
This reverts commit 3c7d194a7f1bc53b60cf09473f0ac50d2192e2af.
2018-04-17 16:28:33 +02:00
Adrian Brink
32ffd2d316
Review the IBC specification 2018-04-17 16:28:33 +02:00
Ethan Frey
ecb1f93e19
Join appendices into one file 2018-04-17 16:28:33 +02:00
Ethan Frey
cdf08ecdb7
Fix typos 2018-04-17 16:28:33 +02:00
Ethan Frey
f5a45a94f6
Clean up optimization section 2018-04-17 16:28:33 +02:00
Ethan Frey
1feb84e272
Cleaned up queue section 2018-04-17 16:28:33 +02:00
Ethan Frey
cc17a3e963
Clean up all formulas in proofs 2018-04-17 16:28:32 +02:00
Ethan Frey
97e61a6f7b
Break IBC spec into multiple md files 2018-04-17 16:28:32 +02:00
Ethan Frey
7610cca7c9
Rough import of google doc to markdown 2018-04-17 16:28:32 +02:00
Ethan Frey
06ec4b4a1a
Added protobuf specifications for ibc messages 2018-04-17 16:28:32 +02:00
Ethan Frey
f40335342f
Started IBC spec 2018-04-17 16:28:32 +02:00
Jae Kwon
186ee72c0c Update documentation 2018-04-12 16:22:44 -07:00
Jae Kwon
923742622a Fix docs; Bump version; Fix makefile 2018-04-07 00:08:53 -07:00
Ethan Buchman
4bfa40adbd
Merge pull request #465 from cosmos/improve_staking_spec
WIP: Staking Specification
2018-03-20 01:14:58 +01:00
mossid
2c0b172653 apply comments 2018-03-20 00:22:49 +01:00
Joon
7e4e164518
Merge branch 'develop' into joon/ibc-mvp1 2018-03-19 22:14:13 +01:00
Ethan Buchman
8231fd4f04
Merge branch 'develop' into matt/ibc-spec 2018-03-19 21:37:32 +01:00
Adrian Brink
54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1 2018-03-18 17:11:34 +01:00
Adrian Brink
95a5a7c9a0
IBC implementation almost done 2018-03-18 13:32:16 +01:00
Fabian Weber
7246a80e38 updated swagger 2018-03-17 22:17:56 +01:00
Fabian
8aec254333 add add key test 2018-03-17 22:14:19 +01:00
Ethan Buchman
ad705fdea1 bump version
added rest server and status endpoint

added get block endpoint

added latest block endpoint

add 404 if height is out of bounds

add version endpoint

add validators endpoint

export GetBlockHeight

add keys endpoints

add txs endpoints

added verb limiters to ednpoints

only output node info + json structure improvement

fixed wrong body parsing

github PR template

crypto.Address -> sdk.Address

revert to old go-wire

update glide

remove print statement and update glide

fix #554

add .DS_Store to .gitignore

Massive consolidation: queue, data storage struct, store, logic, ...

Small fixes
2018-03-17 22:14:19 +01:00
Ethan Buchman
eb23803833 remove tx.GetFeePayer 2018-03-17 18:34:06 +01:00
Adrian Brink
c409455150
IBC module 2018-03-15 14:54:44 +01:00
Zarko Milosevic
5b0e222639 Add spec of the basic staking features 2018-03-14 17:48:52 +01:00
mossid
1cb795ba73 structure 2018-03-14 13:11:33 +01:00
mossid
5ebdff2e5e packetdata->payload 2018-03-13 20:28:38 +01:00
mossid
ded9de18cf add term description, packetdata abstraction in 2/3 2018-03-13 20:22:03 +01:00
mossid
ac004be491 merge storeKeys 2018-03-13 19:55:38 +01:00
mossid
259400cbda in progress 2018-03-13 19:47:02 +01:00
mossid
2217aaf54f router -> dispatcher, get rid of sdk.Msg 2018-03-13 19:39:06 +01:00
mossid
a9064c97c3 remove leftover in mvp3 2018-03-13 19:08:16 +01:00
mossid
8b55006fca fill mvp1/2/3 2018-03-13 19:05:27 +01:00
mossid
927b869db9 refactor spec structure 2018-03-13 17:10:26 +01:00
Adrian Brink
e42aca05eb Extend IBC specification 2018-03-13 16:21:24 +01:00
mossid
9be287ced1 add ibc2.md 2018-03-13 16:21:24 +01:00
Matt Bell
83ce0ed1f9 Added IBC MVP spec 2018-03-13 16:21:24 +01:00
Zaki Manian
9afe696bf4 Replace glide with dep 2018-03-08 19:48:17 +00:00
Ethan Buchman
d3ffd303c4
Merge pull request #495 from cosmos/improve_governance_spec
WIP: Governance Specification
2018-03-03 22:24:52 -05:00
gamarin
5ff1f0c5f8 Add submitter in proposal struct 2018-03-02 12:08:18 +01:00
Ethan Buchman
62d6a5de46 crypto.Address -> sdk.Address 2018-03-02 02:49:07 -05:00
gamarin
7ca150fd40 Remove .DS_Store 2018-03-01 18:29:46 +01:00
gamarin
9820f5b45c Removed stores, change address to PubKey, fixes, ... 2018-03-01 17:21:35 +01:00
gamarin
66c89143be Little fix deposit tx 2018-02-28 15:15:10 +01:00
Ethan Buchman
d6fcb797e4
Merge pull request #514 from cosmos/fabo/383-rest-api
Add REST API spec
2018-02-27 19:58:13 -05:00
gamarin
0012f42057 Remove governance GovPubKey 2018-02-27 18:55:04 +01:00
gamarin
38975ac695 Remove map from Proposal struct 2018-02-27 16:04:44 +01:00
Fabian
0cafd75351
Create lcd-rest-api.yaml 2018-02-27 13:08:23 +01:00
gamarin
02435bb1f8 From two processes to one process (jae's pick) 2018-02-26 18:15:48 +01:00
gamarin
aa19612dd0 Improve store description 2018-02-26 17:28:57 +01:00
gamarin
3071f05d0e remove governance.md 2018-02-26 16:40:25 +01:00
gamarin
275abe56e7 Split in multiple files 2018-02-26 16:36:09 +01:00
gamarin
48bd59eee3 Split in multiple files 2018-02-26 16:35:09 +01:00
gamarin
798b2b6ea3 Add Readme 2018-02-26 16:07:17 +01:00
Adrian Brink
d0539d5e9d
Review Governance specification 2018-02-26 12:27:26 +01:00
Ethan Buchman
834f98c692
Merge pull request #500 from cosmos/docs_handlers
Clarify AnteHandler and MsgHandler
2018-02-21 15:13:30 -05:00
Adrian Brink
5c2758b8df
Clarify AnteHandler and MsgHandler 2018-02-21 20:16:22 +01:00
gamarin
dd0695afa0 Small fixes 2018-02-21 17:45:23 +01:00
gamarin
d0e458f3bc Massive consolidation: queue, data storage struct, store, logic, ... 2018-02-20 18:40:01 +01:00
zramsay
e1e886a0fc s/dummy&Dummy/kvstore&KVStore/g 2018-02-19 22:17:06 +00:00
Ethan Buchman
6f4ffab6e8 docs: notes about the different apps 2018-02-18 20:54:55 -05:00
Ethan Buchman
3bb3c8406a docs: minor fix 2018-02-13 09:14:04 -05:00
Zach Ramsay
07008f3103 nit 2018-02-13 09:12:23 -05:00
Zach Ramsay
53ad094f98 docs: fix links 2018-02-13 09:12:23 -05:00
Zach Ramsay
ca5e837e54 docs: prettify & organize 2018-02-13 09:12:23 -05:00
Zach Ramsay
fd5dfc5944 docs: remove middleware section 2018-02-13 09:12:23 -05:00
Zach Ramsay
515ad58dfb fix gaia keys doc 2018-02-13 09:12:23 -05:00
Zach Ramsay
5e473f30d7 comment out basecoin binary stuff until it's built 2018-02-13 09:12:23 -05:00
Zach Ramsay
6af049ad00 fix build errors 2018-02-13 09:12:23 -05:00
Zach Ramsay
31843aa56c docs: .rst formatting & image 2018-02-13 09:12:23 -05:00
Zach Ramsay
02e66992be more dumb rebase fixes 2018-02-13 09:12:23 -05:00
Zach Ramsay
860cf229b0 rm more shelldown 2018-02-13 09:12:23 -05:00
Zach Ramsay
22ed04c896 docs: remove shelldown FTTB 2018-02-13 09:12:23 -05:00
Zach Ramsay
e6b0983e53 docs: use x dir for extensions 2018-02-13 09:11:14 -05:00
Zach Ramsay
b655d902de docs: remove reference to middleware/isolation 2018-02-13 09:11:14 -05:00
Zach Ramsay
5ed30b2a62 docs: s/plugin/extensions/g, #326 2018-02-13 09:11:14 -05:00
Zach Ramsay
e30c8d8a7c docs: more re-org 2018-02-13 09:11:14 -05:00
Zach Ramsay
4401b2afc0 docs: remove 'roles' 2018-02-13 09:11:14 -05:00
Zach Ramsay
670f833233 docs: ongoing organization 2018-02-13 09:11:12 -05:00
Zach Ramsay
ef65ff7b22 remove stdlib.rst 2018-02-13 09:08:16 -05:00
Ethan Buchman
8864bc2a20 add spec dir 2018-02-11 12:17:40 -05:00
Jae Kwon
3b09a3033a Review feedback from Adrian 2018-01-28 15:20:45 -08:00
Jae Kwon
c368b1062c Add docs/design.md; Add sketchy for illustration 2018-01-28 15:20:45 -08:00
Jae Kwon
2246a9c68b Fix guide docs 2018-01-27 17:34:43 -08:00
Jae Kwon
8650fd70c9
Update docs (#372)
Update docs/design.md and docs/basics.md
2018-01-22 06:49:59 -08:00
Ethan Buchman
b4e4881261 docs: more on txs, context, handlers 2018-01-21 23:21:19 -08:00
Ethan Buchman
94999ad455 docs: Msg and Tx 2018-01-21 23:21:19 -08:00
Jae Kwon
f942cb4340 WIP: Add docs 2018-01-20 22:10:41 -08:00
Ethan Buchman
228b90eb7e README makeover 2018-01-17 19:15:07 -05:00
Jae Kwon
df325ceaef Move docs 2017-10-31 18:02:16 -05:00
Ethan Frey
7926a6494d Update ibc test script for new commands 2017-10-25 19:35:36 +02:00
Zach Ramsay
7f4e2ab681 docs: add basecoin-kubernetes from medium 2017-09-04 13:04:51 -04:00
Zach Ramsay
2738c22798 docs: edits for rst & other cleanup 2017-09-04 13:04:51 -04:00
Zach Ramsay
e60b311796 docs: rtd working 2017-09-04 13:04:51 -04:00
Zach Ramsay
085d0cb44e docs: rename all files from .md to .rst 2017-09-04 13:04:51 -04:00
Zach Ramsay
ae928d0de9 docs: init sphinx for RTD 2017-09-04 13:04:34 -04:00
Ethan Frey
d22c08b12a Store shunit2 in the repo, no dangerous wget each test 2017-09-04 16:50:09 +02:00
Ethan Frey
21cc189043 moved counter to examples dir 2017-09-04 16:50:09 +02:00
rigelrozanski
9ca7ad2c32 hotfix counter app typo 2017-08-31 17:23:39 -04:00
Zach Ramsay
c9a620d107 docs: address moar comments & re-add (modified) inspiration 2017-08-31 13:33:46 -04:00
Zach Ramsay
15a7fa2eac docs: address comments & other updates 2017-08-29 17:13:34 -04:00
Zach Ramsay
9249173a37 README; move banner image to docs/graphics 2017-08-29 13:55:43 -04:00
Zach Ramsay
2c3e5ff5b7 docs: set correct graphics link 2017-08-29 13:34:42 -04:00
Zach Ramsay
287bf8a503 move sdk files out of quarks directory 2017-08-28 20:27:03 -04:00
Zach Ramsay
f2fcfba3e3 move & edit content from quarks/readme 2017-08-28 20:10:48 -04:00
Zach Ramsay
8ba41d718c docs: move API draft to architecture directory 2017-08-28 19:46:57 -04:00
Zach Ramsay
71283673de docs: minor edits throughout 2017-08-28 19:45:19 -04:00
Zach Ramsay
5fa668a94d docs: typo in basecoin-basics 2017-08-28 17:35:04 -04:00
Ethan Frey
041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Ethan Frey
663f96b491 Unify version in all binaries 2017-08-18 22:04:50 +01:00
Zach Ramsay
4c8bddb02a docs: roles PR fixes 2017-08-18 16:08:27 -04:00
Zach Ramsay
4e62c3a1c4 docs: no quotes needed for role 2017-08-18 15:55:44 -04:00
Zach Ramsay
d332207faa docs: roles and multi sig 2017-08-11 13:30:53 -04:00
Ethan Frey
3f6071da85 Merge pull request #216 from zramsay/key-management
docs: key management guide
2017-08-07 19:05:38 +02:00
Zach Ramsay
0cd8a7737c docs/keys: little PR fixes 2017-08-07 13:00:49 -04:00
Zach Ramsay
a33725e9f4 docs: key management guide 2017-08-07 11:39:54 -04:00
Zach Ramsay
a7afe423e3 docs/basics: put clean up at the end 2017-08-07 09:46:51 -04:00
Zach Ramsay
2678529aed docs: simple in an unfavourable word for newsers 2017-08-07 09:20:23 -04:00
Ethan Frey
d6d6b75736 Renamed client/commands/proofs to client/commands/query 2017-08-04 20:50:36 +02:00
Ethan Frey
6dae258767 Lots of cleanup 2017-08-04 20:36:50 +02:00
Ethan Frey
0de3ecc741 Compiles and all tests pass - even IBC with new proofs 2017-08-04 20:02:23 +02:00
Ethan Frey
37550ca91d Add InitValidate method for setup 2017-08-03 21:41:23 +02:00
Ethan Frey
4b69f1d5ba Rename SetOption to InitState 2017-08-03 21:41:23 +02:00
Ethan Frey
cbfd2cd611 Make it all compile with new Deliver/CheckTx 2017-08-03 21:41:23 +02:00
Zach Ramsay
4ab913bc81 rm docs/go_basics.md, moved to /coding repo 2017-08-02 14:13:11 +02:00
Ethan Frey
9037b3508a Clean up spec to focus on mvp with moving coins 2017-07-27 22:21:00 -04:00
Ethan Frey
549993246e First draft of API from our discussion 2017-07-27 22:20:59 -04:00
Ethan Frey
b7f31ad70a Test sendtx with foreign addr creates proper ibc packet 2017-07-27 16:36:15 -04:00
rigel rozanski
0ea2861311 overview.md content correction 2017-07-27 15:56:19 -04:00
rigel rozanski
5fc78a01d7 overview.md link fix 2017-07-27 15:50:33 -04:00
Ethan Frey
2b79aa0413 Code cleanup from emmanuel 2017-07-27 15:31:34 -04:00
Ethan Frey
51a29e4bb7 Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
Ethan Frey
199ee81a97 Revert all on failed CheckTx, fee+nonce increment on failed DeliverTx 2017-07-27 15:31:33 -04:00
Ethan Frey
d607b76234 Reorg state package and fix all imports 2017-07-27 15:31:33 -04:00
Ethan Frey
f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
Ethan Frey
5272ca5831 Add checkpoint to middleware not app 2017-07-27 15:31:31 -04:00
Rigel
11d7489a74 Create overview.md
Update infographic.xml

Update infographic.xml

Added tx.png

Added tx.png

Update overview.md

Added middleware.png

Added middleware.png

small infograpic doc changes
2017-07-27 15:11:14 -04:00
Rigel
06d2812f81 Added tx.png
Added tx.png
2017-07-27 15:11:14 -04:00
Rigel
feac3d423f Added overview-security.png
Added overview-security.png
2017-07-27 15:11:14 -04:00
Rigel
404ede06d1 Added overview-framework.png 2017-07-27 15:11:14 -04:00
Rigel
cce444c465 Update infographic.xml - remove dups 2017-07-27 15:11:14 -04:00
Rigel
c173937acd Added middleware.png 2017-07-27 15:11:14 -04:00
Rigel
98309f52ca Added dispatcher.png 2017-07-27 15:11:14 -04:00
Rigel
fc69341c91 Added tx.png 2017-07-27 15:11:14 -04:00
Rigel
acbafb8da1 Added permissioning.png 2017-07-27 15:11:14 -04:00
Rigel
abe4dc25d2 Added datastore.png 2017-07-27 15:11:14 -04:00
rigel rozanski
f02571f02e infographic export details 2017-07-27 15:11:14 -04:00
Rigel
d76f42e47b Added data_store.jpg 2017-07-27 15:11:14 -04:00
Rigel
d7b64331f3 separated infographics 2017-07-27 15:11:14 -04:00
Rigel
a9cee34fc3 Update README.md 2017-07-27 15:11:14 -04:00
Rigel
f0974f83d8 Draft 2 infographic.xml 2017-07-27 15:11:14 -04:00
Rigel
ac0bbe542a Update infographic.xml
Update infographic.xml

Update infographic.xml

Update infographic.xml
2017-07-27 15:11:12 -04:00
rigel rozanski
532bdd6be5 typo doc fix 2017-07-27 15:11:12 -04:00
Rigel
81707383b3 Added infographic.xml
infographic basics completed

Update infographic.xml
2017-07-27 15:11:11 -04:00
rigel rozanski
583f30e464 graphics 2017-07-25 22:59:42 -04:00
Ethan Frey
11c2c5355c A bit of cleanup 2017-07-24 17:51:42 -04:00
rigel rozanski
0e87e5bdd8 more docs updates heavy in quarks folder 2017-07-21 08:23:45 -04:00
rigel rozanski
dfe2aa9ebe glossary revamp 2017-07-21 06:44:10 -04:00
Ethan Frey
911dd1423e Add roles wrapper/tx/query command to basecoin 2017-07-19 14:26:40 +02:00
Ethan Frey
e7da4c2d3a Add support for --prepare to store tx for multisig 2017-07-19 13:22:53 +02:00
Ethan Frey
d712d6ffd1 Fixed imports in main.go 2017-07-19 12:22:01 +02:00
Ethan Frey
100522069d Moved cmd/basecli/commands into client/commands 2017-07-18 22:21:57 +02:00
Ethan Frey
eb495e081b Move commands to client/commands 2017-07-18 21:57:37 +02:00
Ethan Frey
a9e4a94402 Moved all commands from light-client into basecoin 2017-07-18 21:23:11 +02:00
Ethan Frey
7b0934bf9f Ripped about cmd logic to make middleware modular 2017-07-18 20:12:51 +02:00
Ethan Frey
5b70b207ef Document standard modules 2017-07-18 13:51:50 +02:00
rigel rozanski
3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
rigel rozanski
007230e583 swap the nonce & chain check order in stack 2017-07-18 12:08:29 +02:00
Ethan Frey
9fd250209e Cli now returns errors on non-zero code from DeliverTx 2017-07-18 12:08:29 +02:00
Ethan Frey
6d35b1f934 Clean up nonce wrapper in cli 2017-07-18 12:08:29 +02:00
rigel rozanski
23615c5d37 almost done! 2017-07-18 12:08:29 +02:00
rigel rozanski
463f2dca30 changefile remove silent on bash test
int

int
2017-07-18 12:08:28 +02:00
rigel rozanski
16b039534d working sequence number with errors 2017-07-18 12:08:28 +02:00
Ethan Frey
e40e331f87 Flesh out quark glossary 2017-07-14 19:06:38 +02:00
Ethan Frey
364802c94d Start quark docs 2017-07-14 18:01:54 +02:00
Ethan Frey
d6d1655ab1 Add support for --fee in countercli 2017-07-12 21:04:34 +02:00
Ethan Frey
36a453ea41 Fee handler set by default, tested app level 2017-07-12 20:38:54 +02:00
Ethan Frey
5950ff34e3 remove sequence number from coins 2017-07-12 19:25:14 +02:00
Ethan Frey
bb61b9fca3 Update cli to properly query into app state-space 2017-07-11 15:35:43 +02:00
Ethan Frey
100d88d7dd Fix up all tests to handle NewChainTx change 2017-07-10 11:57:37 +02:00
Ethan Frey
b757467f7b Moved content of txs package to sit next to the handlers 2017-07-06 16:33:38 +02:00
Ethan Frey
a047e210fa Moved the handlers from stack into modules 2017-07-06 16:00:54 +02:00
Ethan Frey
6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02:00
Ethan Frey
49357a3574 Move kvstore from types to state 2017-07-06 14:23:38 +02:00
Ethan Frey
912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
Ethan Frey
390fdf95cf Cleanup as requested on PR 2017-07-06 12:18:20 +02:00
rigel rozanski
9b561344fe addressing PR 154 comments 2017-07-06 05:39:58 -04:00
rigel rozanski
35845a958f fix cmd/bascoin/commands/init old flags 2017-07-05 07:08:56 -04:00
rigel rozanski
375fad3bec go linting working 2017-07-04 23:28:27 -04:00
Ethan Frey
ba38f442c8 Update use of --sequence in counter tutorial 2017-07-04 14:52:21 +02:00
Ethan Frey
670e7b48d1 Counter uses dispatcher to deduct fees from account 2017-07-04 14:47:46 +02:00
Ethan Frey
8003034bbb Test reading back counter tx 2017-07-04 14:19:28 +02:00
Ethan Frey
c6c5e34c3a Fix shell-down tutorials 2017-07-04 14:10:06 +02:00
Ethan Frey
49ebe59804 Get counter app working, with cli tests 2017-07-04 14:04:18 +02:00
Ethan Frey
6d56891a0f Re-implement counter plugin 2017-07-04 13:43:25 +02:00
Ethan Frey
fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey
ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
rigel rozanski
4e93be304e circle fix, minor IBC tutorial 2017-06-29 05:52:07 -04:00
rigel rozanski
a7c07ab3c0 Auto-tutorial basecoin-tool 2017-06-29 05:48:25 -04:00
rigel rozanski
b65cd2ab8d auto-tutorial basecoin plugins 2017-06-29 05:48:25 -04:00
rigel rozanski
a08775052c circle fixes 2017-06-29 05:47:38 -04:00
rigel rozanski
ec7ef41fdc First Full Auto-Tutorial Test 2017-06-29 05:47:38 -04:00
rigel rozanski
985665fb8a working 2017-06-29 05:47:38 -04:00
rigel rozanski
e521f3769e tutorial auto-testing, basecoin basics 2017-06-29 05:47:38 -04:00
Ethan Frey
44e9ecce43 Freshened up docs with --genesis and Makefile 2017-06-28 13:21:14 +02:00