antstalepresh
b55913ddad
fix comments and add CHANGELOG
2021-02-06 00:57:12 +10:00
Ian Norden
a3757e14a8
ADR 038: State Listening ( #8012 )
...
* ADR-038 state listening
* updates/fixes
* review fixes/adjustments
* review fixes/adjustments part 2
* review updates part 3: refactor after review to coordinate store changes with block and tx messages and enable file pruning
* review updates part 4: additional details and fixes; addressing recent feedback; use binary protobuf encoding for kv pairs in files
* review updates part 5: formatting fixes; updated StreamingService/Hook interface
* auxiliary streaming/queue service
* review updates part 6: update StoreKVPair to differentiate between Set and Deletes on nil byte values; some minor adjustments
* typo fix
2021-02-04 18:09:28 -08:00
Victor França Ferreira
0ddb7041a8
fixing typo at 'os' backend session ( #8477 )
...
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-04 09:58:27 +00:00
Robert Zaremba
931af4350b
Finalize ADR-028 ( #8398 )
...
Finalize ADR-028
* added note about Named Accounts
* Update docs/architecture/adr-028-public-key-addresses.md
* remove blake2b
* move some paragraphs to 'Further Discussion'
* move composing module accounts to a new subsectoin
* adding appendix from meeting with Alan
* composed addresses: use LengthPrefix before sorting
2021-02-04 04:08:11 +01:00
Amaury
896eee213a
docs: Update x/staking spec ( #8395 )
...
* Finish updating state
* Add messages
* Update events
* proto-gen
* Update proto/cosmos/staking/v1beta1/staking.proto
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* progo-gen
* Update Msg with slash
* Rerun proto docs
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-01 12:35:18 +00:00
atheeshp
d97e7907f1
Add fee grant module ( #8061 )
...
* Add docs
* Add BasicFeeAllowance implementation
* Add expiration structs and complete basic fee
* Add delegation messages, add validation logic
* Add keeper and helper structs
* Add alias and handler to top level
* Add delegation module
* Add basic querier
* Add types tests
* Add types tests
* More internal test coverage
* Solid internal test coverage
* Expose Querier to top level module
* Add FeeAccount to auth/types, like StdTx, SignDoc
* Fix all tests in x/auth
* All tests pass
* Appease the Golang Linter
* Add fee-account command line flag
* Start on DelegatedDeductFeeDecorator
* Cleanup the Decorator
* Wire up delegation module in simapp
* add basic test for decorator (no delegation)
* Table tests for deduct fees
* Table tests over all conditions of delegated fee decorator
* Build full ante handler stack and test it
* Start genesis
* Implement Genesis
* Rename package delegation to subkeys
* Clarify antes test cases, handle empty account w/o fees
* Allow paying delegated fees with no account
* Pull mempool into delegated ante, for control on StdFee
* Use custom DelegatedTx, DelegatedFee for subkeys
* Revert all changes to x/auth.StdTx
* Appease scopelint
* Register DelegatedTx with codec
* Address PR comments
* Remove unnecessary DelegatedMempoolFeeDecorator
* Cleaned up errors in querier
* Clean up message sign bytes
* Minor PR comments
* Replace GetAllFees... with Iterator variants
* PrepareForExport adjusts grant expiration height
* Panic on de/serialization error in keeper
* Move custom ante handler chain to tests, update docs
* More cleanup
* More doc cleanup
* Renamed subkeys module to fee_grant
* Rename subkeys/delegation to fee grant in all strings
* Modify Msg and Keeper methods to use Grant not Delegate
* Add PeriodicFeeAllowance
* Update aliases
* Cover all accept cases for PeriodicFeeAllowance
* Et tu scopelint?
* Update docs as requested
* Remove error return from GetFeeGrant
* Code cleanup as requested by PR
* Updated all errors to use new sdk/errors package
* Use test suite for keeper tests
* Clean up alias.go file
* Define expected interfaces in exported, rather than importing from account
* Remove dependency on auth/ante
* Improve godoc, Logger
* Cleaned up ExpiresAt
* Improve error reporting with UseGrantedFee
* Enforce period limit subset of basic limit
* Add events
* Rename fee_grant to feegrant
* Ensure KeeperTestSuite actually runs
* Move types/tx to types
* Update alias file, include ante
* I do need nolint in alias.go
* Properly emit events in the handler. Use cosmos-sdk in amino types
* Update godoc
* Linting...
* Update errors
* Update pkg doc and fix ante-handler order
* Merge PR #5782 : Migrate x/feegrant to proto
* fix errors
* proto changes
* proto changes
* fix errors
* fix errors
* genesis state changed to proto
* fix keeper tests
* fix test
* fixed tests
* fix tests
* updated expected keepers
* updated ante tests
* lint
* deleted alias.go
* tx updated to proto tx
* remove explicit signmode
* tests
* Added `cli/query.go`
* Added tx.go in cli
* updated `module.go`
* resolve errors in tx.go
* Add fee payer gentx func
* updated tx
* fixed error
* WIP: cli tests
* fix query error
* fix tests
* Unused types and funcs
* fix tests
* rename helper func to create tx
* remove unused
* update tx cfg
* fix cli tests
* added simulations
* Add `decoder.go`
* fix build fail
* added init genesis code
* update tx.go
* fixed LGTM alert
* modified cli
* remove gogoproto extensions
* change acc address type to string
* lint
* fix simulations
* Add gen simulations
* remove legacy querier
* remove legacy code
* add grpc queries tests
* fix simulations
* update module.go
* lint
* register feegrant NewSimulationManager
* fix sims
* fix sims
* add genesis test
* add periodic grant
* updated cmd
* changed times
* updated flags
* removed days as period clock
* added condition for period and exp
* add periodic fee cli tests
* udpated tests
* fix lint
* fix tests
* fix sims
* renaming to `fee_grant`
* review changes
* fix test
* add condition for duplicate grants
* fix tests
* add `genTxWithFeeGranter` in tests
* fix simulation
* one of changes & test fixes
* fix test
* fix lint
* changed package name `feegrant` to `fee_grant`
* review comments
* review changes
* review change
* review changes
* added fee-account in flags
* address review changes
* read fee granter from cli
* updated create account with mnemonic
* Address review comments
* move `simapp/ante` file to `feegrant/ante`
* update keeper logic to create account
* update docs
* fix tests
* update `serviceMsgClientConn` from `msgservice`
* review changes
* add test case for using more fees than allowed
* eliminate panic checks from keeper
* fix lint
* change store keys string to bytes
* fix tests
* review changes
* review changes
* udpate docs
* make spend limit optional
* fix tests
* fix tests
* review changes
* add norace tag
* proto-docs
* add docs
Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: aleem1413 <aleem@vitwit.com>
Co-authored-by: MD Aleem <72057206+aleem1314@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-29 19:54:51 +00:00
Artur Troian
c252a60ff8
fix: bind values from env variables to flags ( #8337 )
...
allows clients access values in env variables
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2021-01-29 01:58:44 +00:00
Rikard Hjort
034d140488
Misc documentation fixes ( #8452 )
...
* EndBlock: "beginning" => "end"
* misc fixes
* beginning => end
* fix error in run-node tutorial
* Use correct keyring backend when interacting
* multiply stakes by 1000
* query accounts with the bank submodule, not accounts
* specify key backend for transactions
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-28 16:59:51 +00:00
MD Aleem
c95de9c417
implement x/authz module ( #7629 )
...
* WIP: Msg authorization module added
* fixing errors
* fixed errors
* fixed module.go
* Add msg_tests
* fixes compile issues
* fix test
* fix test
* Add msg types tests
* Fix Getmsgs
* fixed codec issue
* Fix syntax issues
* Fix keeper
* fixed proto issues
* Fix keeper tests
* fixed router in keeper
* Fix query proto
* Fix cli txs
* Add grpc query client implementation
* Add grpc-keeper test
* Add grpc query tests
Add revoke and exec authorization cli commands
* Fix linting issues
* Fix cli query
* fix lint errors
* Add Genesis state
* Fix query authorization
* Review changes
* Fix grant authorization handler
* Add cli tests
* Add cli tests
* Fix genesis test
* Fix issues
* update module to use proto msg services
* Add simultion tests
* Fix lint
* fix lint
* WIP simulations
* WIP simulations
* add msg tests
* Fix simulation
* Fix errors
* fix genesis import export
* fix sim tests
* fix sim
* fix test
* Register RegisterMsgServer
* WIP
* WIP
* Update keeper test
* change msg_authorization module name to authz
* changed type conversion for serviceMsg
* serviceMsg change to any
* Fix issues
* fix msg tests
* fix errors
* proto format
* remove LegacyQuerierHandler
* Use MsgServiceRouter
* fix keeper-test
* fix query authorizations
* fix NewCmdSendAs
* fix simtests
* fix error
* fix lint
* fix lint
* add tests for generic authorization
* fix imports
* format
* Update error message
* remove println
* add query all grants
* Add pagination for queries
* format
* fix lint
* review changes
* fix grpc tests
* add pagination to cli query
* review changes
* replace panic with error
* lint
* fix errors
* fix tests
* remove gogoproto extensions
* update function doc
* review changes
* fix errors
* fix query flags
* fix grpc query test
* init service-msg
* remove unsed field
* add proto-codec for simulations
* fix codec issue
* update authz simulations
* change msgauth to authz
* add check for invalid msg-type
* change expiration flag to Unix
* doc
* update module.go
* fix sims
* fix grant-authorization sims
* fix error
* fix error
* add build flag
* fix codec issue
* rename
* review changes
* format
* review changes
* go.mod
* refactor
* proto-gen
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Fix review comments
* fix protogen
* Follow Msg...Request style for msg requests
* update comment
* Fix error codes
* fix review comment
* improve msg validations
* Handle error in casting msgs
* rename actor => grantStoreKey
* add godoc
* add godoc
* Fix simulations
* Fix cli, cli_tests
* Fix simulations
* rename to GetOrRevokeAuthorization
* Move events to keeper
* Fix fmt
* Update x/authz/client/cli/tx.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* rename actor
* fix lint
Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: MD Aleem <72057206+aleem1413@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2021-01-25 16:41:30 +00:00
Sunny Aggarwal
b125fccfd2
MsgWeightedVote -> MsgVoteWeighted
2021-01-24 20:54:25 -05:00
Sunny Aggarwal
56ed27ad9c
use @aaronc's suggested proto upgrade method
2021-01-24 20:25:43 -05:00
SaReN
57f5e96570
Rosetta API implementation ( #7695 )
...
Ref: #7492
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-21 09:33:02 +00:00
Cyrus Goh
d226254578
docs: add enhanceApp.js to .vuepress for redirects ( #8354 )
2021-01-21 09:42:42 +01:00
Aditya
d4e63ffe60
IBC Upgrade docs ( #8298 )
...
* start upgrade guide and some organization
* add client developer guide
* remove top-level upgrade doc
* Apply suggestions from code review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address @colin-axner suggestions
* add order and synopsis
* address @fedekunze review
* address final @colin-axner comments
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-20 14:25:32 +00:00
Federico Kunze
48006b435d
x/bank: client denom metadata gRPC ( #8317 )
...
* deps: bump tendermint to v0.34.2
* x/bank: denom metadata gRPC
* cli: add cmd and tests
* gRPC test'
* changelog
* fix test
* Apply suggestions from code review
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
* fix panic
* use cmd.Context()
* update tests
* Update x/bank/types/errors.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* test fix
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-19 17:08:09 -05:00
Federico Kunze
01eec66d28
x/bank: client denom metadata gRPC ( #8317 )
...
* deps: bump tendermint to v0.34.2
* x/bank: denom metadata gRPC
* cli: add cmd and tests
* gRPC test'
* changelog
* fix test
* Apply suggestions from code review
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
* fix panic
* use cmd.Context()
* update tests
* Update x/bank/types/errors.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* test fix
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 18:15:16 +00:00
Marko
ce5db9e4bd
fix proto generation ( #8361 )
...
* fix proto generation
* merge grpc_gateway into gocosmos_out
* change env variable names
2021-01-18 12:41:34 -03:00
dependabot[bot]
e957fad1a7
build(deps): bump vuepress-theme-cosmos from 1.0.179 to 1.0.180 in /docs ( #8356 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-18 12:47:24 +00:00
Amaury
afda62174f
docs: Remove deprecated "Interfaces" section ( #8294 )
...
* Remove useless files, add app.toml section
* Rework docs
* Delete interfaces
* add correct next section references
* Finish CLI
* Small tweaks query
* Add simulation docs to core
* Add gRPC and REST
* Finish queyr lifecycle
* Updat examples
* Remove prereq
* fix links in simulation
* Use same enumeration in md
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 00:11:26 +00:00
colin axnér
43840f45dd
Revisions to Unfreezing Clients via Governance ADR ( #8343 )
...
* revisions to adr 26 decision
* Update docs/architecture/adr-026-ibc-client-recovery-mechanisms.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2021-01-16 09:48:48 -03:00
Robert Zaremba
d39c42c987
Robert/docs slashing ( #8329 )
...
* update slashing docs
* x/slashing docs general audit & cleanup
* Update x/slashing/spec/02_state.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/slashing/spec/05_hooks.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* use code insertion widget
* review update
* Update x/slashing/spec/05_hooks.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* update link and location for fee distribution spec
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-16 00:03:08 +01:00
Cyrus Goh
df95ca8826
Update ga id ( #8351 )
2021-01-15 21:37:47 +00:00
Aaron Craelius
2521964d50
Update gogo proto deps with v1.3.2 security fixes ( #8350 )
...
* Update gogo proto deps with v1.3.2 security fixes
* Regenerate proto files
2021-01-15 19:45:34 +00:00
Aaron Craelius
2a2c2ec009
ADR 030: Authorization Module ( #7105 )
...
* Add ADR 030
* Cleanup
* Updates
* Updates based on ADR 031
* Add abstract and context
* Updates
* Update module name as per #7615
* Updates from reviews
* Rename
* CLI update
* Update docs/architecture/adr-030-authz-module.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/architecture/adr-030-authz-module.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/architecture/adr-030-authz-module.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/architecture/adr-030-authz-module.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Code review updates
* Update docs
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-01-13 19:18:19 +00:00
Tobias Schwarz
b4bc63dd78
Chain Upgrade Guide: new_v040_genesis.json ( #8313 )
...
Genesis name changes from `new_v040_genesis.json` to `new_040_genesis.json` in this command.
This is probably a typo
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-13 10:01:02 +00:00
Jonathan Gimeno
ef35ba69f9
add cosmovisot to running a node ( #8320 )
2021-01-13 09:52:54 +00:00
Cory
5113effd24
v0.40.0 Changelog backport & docs publish ( #8285 )
...
* Stargate Release PR -- v0.40.0 Final (#8284 )
* v0.40.0 final changelog & release notes
* Trigger Build
* update docs/versions to render v0.40 docs site
2021-01-09 08:59:07 -03:00
Robert Zaremba
7fc5e3e6ab
codecs: rename MakeCodecs rename and docs update ( #8245 )
...
* codecs: rename MakeCodecs to MakeTestCodecs
* update changelog
* remove MakeTestCodecs
* typo
2021-01-07 21:50:52 +00:00
Amaury
75204389e0
Create docs for signing & broadcasting txs ( #8257 )
...
* Add structure of tx page
* WIP
* Finish CLI
* Add go examples
* Add golang examples
* Tweaks
* Update links
* Update docs/run-node/interact-node.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/run-node/interact-node.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Put code snippets in functiosn
* Put snippet in functions
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-07 16:21:50 +00:00
Anil Kumar Kammari
8ba297f25a
[docs]: Stargate migration guides ( #7771 )
...
* init
* Add page contents
* Update migrate a module to stargate
* Update links
* Add querier
* add baseapp migration guide
* Add upgrade instructions
* Add TODO for missing udpates
* Add dependencies
* address review comments
* remove unused
* gaiad => simd
* Add ibc state jq cmd
* Update docs/migrations/README.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/README.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/README.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/README.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Created a modules.md file
* Update chain migration guide
* Rename to App migration
* Add new paragraph
* Add some initial sections
* Add msg and queries
* Finish modules
* Add client
* Add update guide
* Rename title
* More tweaks
* Update chain upgrade one
* Remove useless change
* Don't repeat
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Small update
* Use rc6
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/chain-upgrade-guide-040.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/app_and_modules.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* reviews
* Review
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-01-06 11:43:52 +00:00
Aditya
031eec3e9d
Update IBC Application Guide ( #8256 )
...
* fix app doc
* finish updating guide
* Update docs/ibc/overview.md
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* apply @colin-axner suggestions
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-05 23:01:13 +00:00
Robert Zaremba
e481f13ff3
docs: cache-wrapping and virtual store ( #8102 )
...
* docs: cache-wrapping and virtual store
* Finish the docs update
* Update docs/building-modules/msg-services.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2021-01-05 15:57:33 +00:00
MD Aleem
ed7bd245b8
Add script to generate proto-docs ( #8238 )
...
* init protobuf-docs
* update template
* update docs/core/README.md
* update proto files
* update template
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-12-31 16:10:13 +00:00
Prathyusha Lakkireddy
be573cb0ce
change gentx cmd amount field to arg from flag ( #8183 )
...
* Read gentx amount as argument
* Update gentx command usage
* Update gentx tests
* Update docs of gentx
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-12-17 17:27:30 +01:00
Amaury
e4e39234c8
docs: Add grpc & rest endpoints overview ( #8064 )
...
* docs: Add grpc & rest endpoints overview
* Finish overview
* -Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-7657-grpc
* Update READMEs
* Add grpcurl
* Finish docs
* Add gRPC historical blocks
* Add historical queries
* Small tweaks
* Update docs/core/grpc_rest.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-14 10:51:32 +00:00
dependabot[bot]
5963fea3e9
build(deps): bump vuepress-theme-cosmos from 1.0.178 to 1.0.179 in /docs ( #8125 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.178 to 1.0.179.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-10 16:33:59 +00:00
Robert Zaremba
1ec6c640b9
ADR template: add Further Discussions ( #8108 )
...
* ADR template: add Further Discussions
* language update
* Update docs/architecture/adr-template.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
2020-12-09 10:36:48 +00:00
Robert Zaremba
fe41718047
Robert/api clientctx ( #8107 )
...
* rename clientCtx.PrintOutput to PrintObject
* rename clientCtx.PrintOutputLegacy to PrintObjectLegacy
* Changelog update
* Rename PrintObject to PrintProto
2020-12-08 20:17:40 +00:00
Cyrus Goh
0cc39cc027
docs: docs-staging → master ( #8084 )
...
* Fix package-lock
* Fix package-lock
* update package-lock
* bump docs theme to 1.0.171
* Fix typo, chinese character in URL
* update dead doc links
* bump docs theme to 1.0.172
* [favicons] add favicons
* makefile: change build-docs target for shells other than bash
* docs: set master as default version
* docs: add v0.40.x to versions
* bump vuepress-theme-cosmos 1.0.175
* docs: fix broken url in cn/basics/app-anatomy.md
* bump docs theme to 1.0.176
* add versions to config.js
* docs: bump docs theme to 1.0.177
* docs: bump docs theme to 1.0.178
* docs: tweak config.js versions with label and key
Co-authored-by: Denis Fadeev <denis@fadeev.org>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: vms <vince19972@gmail.com>
Co-authored-by: Helder Moreira <helder@tendermint.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-08 12:53:33 +00:00
Robert Zaremba
b219c54c2d
Move and update codec.MarshalAny functions to codec.Marshaler interface ( #8080 )
...
* Changelog update
* Rename codec.MarshalAny
* move codec.MarshalInterface to codec.Marshaler
* fix tests
* Update amino_codec for compliance with MarshalerInterface
* update tests and comments
* add tests
* change order of args in UnmarshalInterface to a canonical one
* uplift MarshalInterface to take ProtoMessage as an argument
* wip
* add nil check
* make tests working
* tests cleanup
* add support for *JSON methods
* Update changelog
* linter fixes
* fix test types
* update evidence genesis_test
* adding test
* review updates
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-08 09:27:08 +00:00
dependabot[bot]
29091c14e8
build(deps): bump vuepress-theme-cosmos from 1.0.177 to 1.0.178 in /docs ( #8098 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.177 to 1.0.178.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-12-07 11:17:09 +00:00
dependabot[bot]
c6b8e5f709
build(deps): bump vuepress-theme-cosmos from 1.0.176 to 1.0.177 in /docs ( #8075 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-04 16:40:50 +00:00
Amaury
1b00c01b70
Audit through legacy endpoints to find breaking changes ( #8037 )
...
* Add error msg on staking
* Add tests for legacy staking and gov
* Add test for encode
* Fix broadcast too
* Add comments
* update changelog
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-03 23:33:32 +00:00
dependabot[bot]
379c2ad630
build(deps): bump vuepress-theme-cosmos from 1.0.175 to 1.0.176 in /docs ( #8052 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.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-12-03 23:24:53 +00:00
MD Aleem
b6c8d5ea9f
Add tx broadcast gRPC endpoint ( #7852 )
...
* WIP tx/broadcast grpc endpoint
* fix lint
* fix proto lint
* Update service.proto
* resolve conflicts
* update service.proto
* Update service.proto
* review changes
* proto lint
* Switch to txraw
* Add check breaking at the end
* Fix broadcast
* Send Msg on SetupSuite
* Remove proto-check-breaking
* 1 validator in test
* Add grpc server tests for broadcast
* Fix grpc server tests
* Add some changes
* Add ress comments
* Add table tests for tx service
* Add test for mode
* Add simulate tests
* Add build flag back
* Revert custom stringer for enum
* Remove stray logs
* Use /txs/{hash}
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-12-02 17:50:40 +00:00
Sunny Aggarwal
a77eb251f1
Merge branch 'master' into sunny/change-pubkey-adr
2020-11-27 12:07:03 -05:00
Amaury
b6bd4f5c2e
docs: Remove legacy Msg/queriers in "Basics" section ( #7782 )
...
* docs: Remove legacy Msg/queriers in Basics
* Service
* Update links
* Update to rc2
* Update refs
* Use TM hashes
* REformulate
* Remove deep copy
* Update docs/DOCS_README.md
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-27 12:57:14 +00:00
Amaury
a9dd334c34
Fix legacy querying tx ("unregistered type" bug) ( #7992 )
...
* Add tests for query txs
* Add test for IBC
* Refactor checkSignModeError
* Fix lint
* Add successful IBC test
* Remove logs
* break
* Remove known errors
* Update error message
* Better comments
* Revert variable renaming
* Fix lint
* Add mention of gRPC as TODO
2020-11-25 12:02:31 +00:00
Sunny Aggarwal
dc9d36bfbd
Merge branch 'master' into sunny/change-pubkey-adr
2020-11-24 13:07:48 -05:00
Sunny Aggarwal
b5442e1d5e
Update adr-034-account-rekeying.md
2020-11-24 13:06:58 -05:00
Amaury
ccd0d63f80
Update "Core Concepts" docs ( #7948 )
...
* Update "Core Concepts" docs
* Update tags
* Update more subsctions
* Revert basics
* ADd link to run-node
* Typo
* Add sign modes
* Finish transaction.md
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Wording
* Update docs/core/baseapp.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Revert basics changes
* revert space change
* typo
* Update docs/core/transactions.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/core/node.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/core/store.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-24 15:03:20 +00:00
Amaury
13bc504bec
docs: Add REST endpoints migration guide ( #8011 )
...
* Add REST endpoints migration guide
* add bank, distrib, evidence
* Add slashing, mint
* Add staking
* Add query
* Add todo
* Typos
* Add link to interact node
* grammar
* Better wording
* Update docs/migrations/rest.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/migrations/rest.md
* Add footnote
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2020-11-24 14:34:20 +00:00
Sunny Aggarwal
fd6f07bda2
Merge branch 'master' into sunny/change-pubkey-adr
2020-11-23 16:18:45 -05:00
Sunny Aggarwal
972095e7fa
pruning info
2020-11-23 15:52:47 -05:00
Sunny Aggarwal
101d62a69d
Add details about pruning
2020-11-23 15:47:55 -05:00
Sunny Aggarwal
045e7874b0
Update adr-034-account-rekeying.md
...
Add stack of past keys
2020-11-23 15:33:40 -05:00
Sunny Aggarwal
20617d0db4
Update docs/architecture/adr-034-account-rekeying.md
...
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2020-11-23 15:30:25 -05:00
Aaron Craelius
251a27d104
Update ADR status ( #8009 )
2020-11-23 16:31:17 +00:00
Robert Zaremba
fe58ee9951
ADR-031: elaborate consequences and encapsulation of module client-se… ( #7839 )
...
* ADR-031: elaborate consequences and encapsulation of module client-server implementation
* Update docs/architecture/adr-031-msg-service.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-11-18 23:11:04 +00:00
Marie Gauthier
1cc8af8d9b
[docs]: update building modules section to reflect ADR31 ( #7702 )
...
* Revert "Revert "Update old ref of RegisterQueryService""
This reverts commit 03e4c56de53938ccbf025a441e54b9842f7c4544.
* Update intro, module-manager and messages-and-queries
* Update messages-and-queries
* Update handler
* Update structure
* Add doc related to RegisterMsgServiceDesc
* Update docs/building-modules/handler.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/building-modules/handler.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/building-modules/handler.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Update docs/building-modules/messages-and-queries.md
* Update handler.md
* Rename handler.md to msg-services.md
* Update legacy msgs wording
* Update messages-and-queries.md
* Update docs/building-modules/msg-services.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/intro.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Remove handler mention from intro.md
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/msg-services.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/keeper.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/msg-services.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Address review comments
* Use tag
* Update docs/building-modules/intro.md
Co-authored-by: Cory <cjlevinson@gmail.com>
* Update docs/building-modules/intro.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/core/transactions.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Remove framework related explanation from docs
* Update docs/building-modules/messages-and-queries.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/module-manager.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/module-manager.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/core/baseapp.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/core/baseapp.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update beginblock-endblock.md
* Update docs/core/baseapp.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update docs/core/transactions.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Add deprecated notice
* Update tx-lifecycle.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-17 20:41:43 +00:00
Denis Fadeev
b90bacb775
docs: add newline to versions file ( #7938 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-17 19:25:32 +00:00
colin axnér
be10bcb163
counterParty -> counterparty ( #7946 )
...
* nit
* fix spec and docs
2020-11-16 15:06:55 +00:00
Sunny Aggarwal
c1557a2b90
Merge branch 'master' into adr_gov_split_vote
2020-11-11 13:35:22 -04:00
Sunny Aggarwal
a0c1deb2e2
reassign to adr 037
2020-11-11 13:35:07 -04:00
Cyrus Goh
c432e2871b
docs: remove v0.40.x from versions
2020-11-09 10:26:34 -08:00
Sunny Aggarwal
bf508d9699
Merge branch 'master' into adr_gov_split_vote
2020-11-06 11:43:20 -04:00
Sunny Aggarwal
53108e7637
Update adr-034-account-rekeying.md
2020-11-06 11:28:18 -04:00
Sunny Aggarwal
c4e5e29244
Update and rename adr-034-change-pubkey.md to adr-034-account-rekeying.md
2020-11-06 11:21:45 -04:00
Cyrus Goh
da1c8162de
docs: fix broken url in cn/basics/app-anatomy.md (master) ( #7831 )
...
* Fix package-lock
* Fix package-lock
* update package-lock
* bump docs theme to 1.0.171
* Fix typo, chinese character in URL
* update dead doc links
* bump docs theme to 1.0.172
* [favicons] add favicons
* makefile: change build-docs target for shells other than bash
* docs: set master as default version
* docs: add v0.40.x to versions
* bump vuepress-theme-cosmos 1.0.175
* docs: fix broken url in cn/basics/app-anatomy.md
Co-authored-by: Denis Fadeev <denis@fadeev.org>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: vms <vince19972@gmail.com>
Co-authored-by: Helder Moreira <helder@tendermint.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-06 11:21:53 +00:00
billy rennekamp
e57745bebc
Update cosmovisor.md ( #7837 )
2020-11-06 11:05:41 +00:00
Jonathan Gimeno
4d833f9ef0
ADR 35: Rosetta API Support ( #7492 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: SenorMonito <david@planet-mono.net>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-11-06 10:39:33 +00:00
Amaury Martiny
4309859bf1
Small fixes in docs and error messages ( #7826 )
...
* Small fixes in docs and error messages
* Add chain id
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-06 01:25:38 +00:00
Amaury Martiny
71166c8949
docs: Add new section "Running a Node" ( #7701 )
...
* docs: Add new section "Running a Node"
* Add running-node
* Add docker compose
* Update title
* Typos
* Wording
* Fix links
* Update docs/run-node/keyring.md
Co-authored-by: Cory <cjlevinson@gmail.com>
* Update docs/run-node/run-node.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Address reviews
* rc2
* Update docs/run-node/keyring.md
Co-authored-by: Cory <cjlevinson@gmail.com>
* Address more comments
* Reviews
* Fix run node
* Fix todo
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-04 14:02:22 +00:00
dependabot[bot]
83baa02f62
build(deps): bump vuepress-theme-cosmos from 1.0.173 to 1.0.175 in /docs ( #7806 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.173 to 1.0.175.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 10:40:25 +01:00
Sunny Aggarwal
6274240d7c
Apply suggestions from code review
...
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2020-11-03 15:55:16 -04:00
Sunny Aggarwal
09d977e334
Merge branch 'master' into adr_gov_split_vote
2020-11-02 12:57:28 -04:00
Sunny Aggarwal
e9d6a8a48d
add backwards compatibility section
2020-11-02 12:56:45 -04:00
Aditya
e9801edb99
Async Ack Fixes ( #7735 )
...
* Add function to query ack proofs
* fix bugs
* fix swagger
* fix final queries
* docs and add test case
* Rename QueryUnrelayedAcks to more accurate QueryUnreceivedAcks
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address rest of reviews
* consistent spelling
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-11-02 15:13:48 +00:00
antstalepresh
ebe73fa28b
modify ADR for MsgVote backwards compatibility
2020-11-02 23:10:39 +10:00
Alessio Treglia
cdc73ac605
cosmovisor: docs first draft ( #7608 )
...
Closes : #7118
2020-10-31 12:02:16 +00:00
Sunny Aggarwal
71e551bbae
address @alexanderbez review
2020-10-29 16:35:50 -04:00
Sunny Aggarwal
e34a986a7e
Merge branch 'master' into adr_gov_split_vote
2020-10-29 14:46:58 -04:00
Sunny Aggarwal
3a871b86ce
sunny updates
2020-10-29 14:09:05 -04:00
Sunny Aggarwal
2ace2a738b
Update docs/architecture/adr-034-change-pubkey.md
...
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-10-28 22:20:25 -04:00
antstalepresh
ffced9ebef
modify title
2020-10-28 23:31:45 +10:00
antstalepresh
5061b8fe19
basic ADR for gov split vote
2020-10-28 23:24:55 +10:00
Amaury Martiny
a15bb7562e
docs: Basic/App-anatomy explains Msg Service by default ( #7670 )
...
* Add msg service
* Add handlers
* Small tweaks
* Remove todo
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-28 11:47:22 +00:00
Anil Kumar Kammari
51ac6f876b
Rename RegisterGRPCRoutes ( #7696 )
...
* Rename
* Fix missing
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-28 11:39:49 +00:00
Sunny Aggarwal
2c58e1806c
Merge branch 'master' into sunny/change-pubkey-adr
2020-10-27 13:42:15 -04:00
Robert Zaremba
5bebf2bd39
ADR: add a process proposal ( #7621 )
...
* ADR: add a process proposal
* wording update
* Update docs/architecture/PROCESS.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/PROCESS.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/PROCESS.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Add more details to status section and update the template
* Update docs/architecture/PROCESS.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* add a note about ADR pruning
* use sequence numbers
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-22 22:40:44 +00:00
Sunny Aggarwal
c8c73a483a
Apply suggestions from code review
...
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-10-22 12:00:16 -04:00
Sunny Aggarwal
091c835060
Update adr-034-change-pubkey.md
2020-10-21 21:44:40 -04:00
Sunny Aggarwal
68ba5647a2
Update adr-034-change-pubkey.md
2020-10-21 21:42:47 -04:00
Sunny Aggarwal
cb99dbd413
Apply suggestions from code review
...
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-10-21 21:42:06 -04:00
Sunny Aggarwal
30c13ea554
Apply suggestions from code review
...
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-10-21 15:37:40 -04:00
Aaron Craelius
f24ad5d00a
ADR 028: Public Key Addresses ( #7086 )
...
* ADR 028: Public Key Addresses
* Cleanup
* Address review comments
* wording update.
* Being more precise about nested addresses in multisig
* Apply suggestions from code review
Co-authored-by: Ethan Buchman <ethan@coinculture.info>
* Address review comments
* Address review comments
* Address review comments
* Describe sorting
* Add abstract
* Update status
* Revert to sha256
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Ethan Buchman <ethan@coinculture.info>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-10-21 16:03:18 +00:00
Amaury Martiny
48bfd73aba
Add background for sequence change in ADR-020 ( #7616 )
2020-10-21 14:47:31 +00:00
Amaury Martiny
69e2b7df16
docs: Revert SPEC-SPEC and update x/{auth,bank,evidence,slashing} ( #7407 )
...
* Revert some changes from #7404
* Update x/slashing
* Address review comments
* Small tweak
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-16 12:42:48 +00:00
Federico Kunze
503b518efc
client: add GetAccount and GetAccountWithHeight to AccountRetriever ( #7558 )
...
* client: add GetAccount and GetAccountWithHeight to AccountRetriever
* update ADR
* address comments from review
2020-10-15 14:19:57 +00:00
colin axnér
24714f80cb
fix typo ( #7536 )
...
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-10-14 20:17:53 +00:00
Marie Gauthier
589835dd98
Update Building Modules documentation ( #7473 )
...
* Update module-manager.md
* Update modules #messages doc
* Fix typo
* Update message implementation example link
* Update messages-and-queries.md#queries doc
* Update querier.md
* Update handler.md
* Update links in beginblock-endblock.md
* Update keeper.md
* Update invariants.md
* Update genesis.md
* Update module-interfaces.md#transaction-commands
* Update module-interfaces.md#query-commands
* Update module-interfaces.md#flags
* Update module-interfaces.md#rest
* Update structure.md
* Update module-interfaces.md#grpc
* Update errors.md
* Update module-interfaces.md#grpc-gateway-rest
* Add more info on swagger
* Address comments
* Fix go.sum
* Fix app-anatomy.md
* Update docs/building-modules/module-interfaces.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update docs/building-modules/querier.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update docs/building-modules/querier.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update docs/building-modules/module-interfaces.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update docs/building-modules/module-interfaces.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Address part of review comments
* Update old ref of RegisterQueryService
* Add example code for Manager
* Update queriers.md to query-services.md and refs
* Add new query-services.md
* Revert "Update old ref of RegisterQueryService"
This reverts commit 1ea1ea8559604d5c0aa13951b3016967438da2a5.
* Update keeper.md
* Update handler.md
* Update handler.md
* Update messages-and-queries.md
* Update docs/basics/app-anatomy.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/building-modules/intro.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Fix typo
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-10-14 12:38:14 +00:00
Jack Zampolin
36c1b24a06
ADR 32: Typed Events ( #7474 )
2020-10-13 19:51:47 +01:00
Sunny Aggarwal
2affa79c0a
adr 32 -> 34
2020-10-13 10:13:30 -04:00
Amaury Martiny
647ad0dd3c
docs: Update "Basics" section ( #7416 )
...
* Prettier
* docs: Update "Basics" section
* appcli -> appd
* Better wording
* Fix to appCodec
* Add gRPC mention
* Add grpc
* Reference simapp code
* Update docs/basics/accounts.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Add section about gRPC query services
* Optional LegacyQuerierHandler
* Clearer docs
* Update docs/basics/app-anatomy.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update docs/basics/app-anatomy.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Address comments
* Address comments
* Update docs/basics/accounts.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-10-12 15:31:25 +00:00
Aaron Craelius
c7d926da2d
ADR 031: Protobuf Msg Services ( #7458 )
...
* Ideas
* WIP
* Add ADR 031
* WIP
* WIP
* Revert changes
* Revert changes
* Revert changes
* Updates
* Updates
* Apply suggestions from code review
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* Add package names
* Adding clarifications
+ Adding an abstract
+ Updating the first paragraph of decision
* Update Context and wording
* Update wording
* Address proto naming
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Cory <cjlevinson@gmail.com>
2020-10-09 19:13:30 +00:00
Aaron Craelius
90579c0a99
ADR 029: Fee Grant Module ( #7106 )
...
* Add ADR 029 stub
* ADR 029 first draft
* Cleanup
* Updates from code review
* Updates from review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-10-09 15:09:17 +00:00
Sunny Aggarwal
df6414d040
adr
2020-10-08 20:47:05 -04:00
Cyrus Goh
c5320bcda0
docs: docs-staging → master ( #7470 )
...
* Fix package-lock
* Fix package-lock
* update package-lock
* bump docs theme to 1.0.171
* Fix typo, chinese character in URL
* update dead doc links
* bump docs theme to 1.0.172
* [favicons] add favicons
* makefile: change build-docs target for shells other than bash
* docs: set master as default version
* docs: add v0.40.x to versions
Co-authored-by: Denis Fadeev <denis@fadeev.org>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: vms <vince19972@gmail.com>
Co-authored-by: Helder Moreira <helder@tendermint.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-08 19:05:39 +00:00
Federico Kunze
c39dd9eb38
ibc: metrics ( #7441 )
...
* ibc transfer metrics
* ibc client metrics
* update connection logs
* connection metrics
* channel metrics
* update logs
* docs updates
* update telemetry.md
* move calls from handler
* Update x/ibc/core/04-channel/keeper/handshake.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* add chain-id metric
* address @colin-axner comments
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2020-10-08 12:37:20 +00:00
Marie Gauthier
eff82d0839
Update Encoding Doc for 0.40 ( #7430 )
...
* Remove deprecated docs and add first guidelines to protobuf migration
* Add conventions
* Reorder and add more FAQ doc
* Update guidelines for pb msg definitions
* Use commit hash in github links
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-07 12:39:35 +00:00
Robert Zaremba
435fc83ba7
Updating the ADR template ( #7449 )
...
* Updating the ADR template
Introducing few small sections to the template:
* Summary: IMHO it's very valuable for every reader to quickly see what this ADR is about. Must be short.
* Backwards Compatibility -- each ADR MUST analyze backward compatibility issue. Let's make it clear and put as the ADR subsection.
* Test Cases -- often, when analyzing a problem and implementing a solution, it's very useful to define test-cases. Hence it SHOULD be a part of the template.
Inspiration: Enterprise Ethreum Alliance Proposal [template](https://github.com/EntEthAlliance/EEPs/blob/master/draft/templates/EEP0002-Standards_Proposal_Template.md )
* change Summary -> Abstract
2020-10-05 21:34:41 +00:00
Aaron Craelius
852e7693a7
Update ADR 023 package versioning guidelines ( #6954 )
...
* ADR 023 updates
* ADR 023 updates
* ADR 023 updates
* Update docs/architecture/adr-023-protobuf-naming.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update ADR 023
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-10-05 11:49:13 +00:00
Sunny Aggarwal
cdf9bd2a4f
Proportional slashing ADR Update ( #6368 )
...
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
2020-10-05 09:30:50 +02:00
Federico Kunze
2c93ec7a0c
ibc: core restructure ( #7434 )
...
* ibc: protobuf v1
* update codec
* core client
* core connection
* core host
* core commitment
* core port
* core channel
* core ibc module files
* core exported
* core types & simulation
* core spec
* make proto-all
* ibc alias
2020-10-02 06:03:02 -03:00
Federico Kunze
72353902e2
ibc: rename epoch -> version ( #7429 )
...
* ibc: rename epoch -> version
* more renaming
* update spec
2020-10-01 15:08:26 +00:00
Federico Kunze
52a0b6d899
ibc: light clients restructure ( #7408 )
...
* ibc: light clients restructure
* tendermint client cleanup
* solomachine cleanup
* rename
* add cli
* update spec README
* proto files update
* fix
* update proto files
* fix test build
* fix test build
2020-10-01 06:38:53 -03:00
Cory
a2c67450ec
Add versioned docs to build-docs task ( #7413 )
...
* add launchpad & master versioned doc-builds
* Update Makefile
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-09-30 16:12:57 +00:00
Marie Gauthier
489599b70f
Remove the old message PublicKey proto oneof ( #7390 )
...
* Remove unused PublicKey type and update docs
* Update wording
* Update proto/cosmos/base/crypto/v1beta1/crypto.proto
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Edit docs
* Move crypto.proto to multisig
* Proto linting
* Update docs/architecture/adr-020-protobuf-transaction-encoding.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update wording for Public Key Encoding
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2020-09-29 10:01:54 +00:00
Amaury Martiny
e17dd4fd50
Update SPEC-SPEC & documentation for x/{bank,evidence} ( #7404 )
...
* Update documentation for x/bank
* Update ModuleAccounts
* Put contets on top
* Update comments
* Do x/evidence
* Add ValidatorEvidence
* Update SPEC-SPEC
* Update anchor
2020-09-28 13:51:14 -03:00
Cory
308ee267a8
Followup suggestions from ADR-027 updates ( #7232 ) ( #7379 )
...
* add grammar suggestions to adr-027
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-28 09:42:57 +00:00
Robert Zaremba
09998ef86e
adr-27: adding ( #7232 )
...
* adr-27: adding
Each ADR should have an abstract and an example use case to quickly present the goal.
Here, adding this to DR 027: Deterministic Protobuf Serialization
* review update
* added link to TxRaw
* added list of major use-cases
* updated wording in context and abstract
* updated the adr-020 part
* add consequences and motivation for TxRaw
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* rewording
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-23 23:06:55 +00:00
dependabot[bot]
d134485412
Bump vuepress-theme-cosmos from 1.0.172 to 1.0.173 in /docs ( #7369 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.172 to 1.0.173.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-09-23 11:26:16 +00:00
Helder Moreira
d420ae0559
docs: fix typo in tx-lifecycle ( #7363 )
2020-09-22 16:20:00 +01:00
Amaury Martiny
7cd25abb87
Proto Tx with Any ( #7276 )
...
* WIP on protobuf keys
* Use Type() and Bytes() in sr25519 pub key Equals
* Add tests
* Add few more tests
* Update other pub/priv key types Equals
* Fix PrivKey's Sign method
* Rename variables in tests
* Fix infinite recursive calls
* Use tm ed25519 keys
* Add Sign and VerifySignature tests
* Remove ed25519 and sr25519 references
* proto linting
* Add proto crypto file
* Implement some of the new multisig proto type methods
* Add tests for MultisigThresholdPubKey
* Add tests for pubkey pb/amino conversion functions
* Move crypto types.go and register new proto pubkeys
* Add missing pointer ref
* Address review comments
* panic in MultisigThresholdPubKey VerifySignature
* Use internal crypto.PubKey in multisig
* Add tests for MultisigThresholdPubKey VerifyMultisignature
* Only keep LegacyAminoMultisigThresholdPubKey and move to proto keys to v1
* Remove conversion functions and introduce internal PubKey type
* Override Amino marshaling for proto pubkeys
* Merge master
* Make proto-gen
* Start removal of old PubKeyMultisigThreshold references
* Fix tests
* Fix solomachine
* Fix ante handler tests
* Pull latest go-amino
* Remove ed25519
* Remove old secp256k1 PubKey and PrivKey
* Uncomment test case
* Fix linting issues
* More linting
* Revert tests keys values
* Add Amino overrides to proto keys
* Add pubkey test
* Fix tests
* Use threshold isntead of K
* Standardize Type
* Revert standardize types commit
* Fix build
* Fix lint
* Fix lint
* Add comment
* Register crypto.PubKey
* Add empty key in BuildSimTx
* Simplify proto names
* Unpack interfaces for signing desc
* Fix IBC tests?
* Format proto
* Use secp256k1 in ibc
* Fixed merge issues
* Uncomment tests
* Update x/ibc/testing/solomachine.go
* UnpackInterfaces for solomachine types
* Remove old multisig
* Add amino marshal for multisig
* Fix lint
* Correctly register amino
* One test left!
* Remove old struct
* Fix test
* Fix test
* Unpack into tmcrypto
* Remove old threshold pubkey tests
* Fix register amino
* Fix lint
* Use sdk crypto PubKey in multisig UnpackInterfaces
* Potential fix?
* Register LegacyAminoPubKey
* Register our own PubKey
* Register tmcrypto PubKey
* Register both PubKeys
* Register interfaces in test
* Refactor fiels
* Add comments
* Use anil's suggestion
* Add norace back
* Check nil
* Address comments
* FIx lint
* Add tests for solomachine unpack interfaces
* Fix query tx by hash
* Better name in amino register
* Display StdTx instead of proto Tx
* Remove useless check
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: blushi <marie.gauthier63@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-09-21 16:48:28 +00:00
Robert Zaremba
e4c67eddc7
Added glossary explaning Denomination Key ( #7330 )
...
When reading this ADR, I was confused about _denomination_. When reading this in context of tokens I always think about a unit / measure. Examples: bills denominated in $20 and $50. Or as 100 cents makes 1 dollar.
The Merriam-Webster dictionary defines [denomination](https://www.merriam-webster.com/dictionary/denomination ) as:
1. an act of denominating. Eg: the denomination of prices in U.S. dollars
2. a value or size of a series of values or sizes. Eg: metric denominations
3. name, designation especially : a general name for a category
It seams that we are using the last definition (3rd).
2020-09-16 10:27:01 -07:00
puneet2019
a38e8fe103
Removing an incomplete sentence. ( #7313 )
...
I think the train of thoughts were interrupted here, removing it for completeness.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-09-16 08:57:38 +00:00
John Adler
2bb9a241bb
ADR-027: Make rules more precise ( #7220 )
...
* Update changelog.
* Fix typos.
* Remove 'by default' from packed encoding rule.
* Further specify longer requirement.
* Clarify that bool must have value of 1 if included.
* Fix typo variant -> varint.
* Disambiguate rule 3.
* Add more reasoning for requirements on zeroes.
* Reword rules to make bit restrictions clearer. Add exception for negative int32.
* Add reference for signed integer encoding.
* Clarify rule for signed int requirement.
* Deterministic -> bijective.
* Normalize spacing in 'protobuf 3'.
* Add background to clarify 70 bits.
* Fix nit: all -> most.
* Clarify is -> must.
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-09-11 14:46:37 +00:00
colin axnér
b4f146b62d
Add standard acknowledgement to channels and apply usage in ibc transfer ( #7263 )
...
* gen ack proto type
* remove transfer ack
* change ics20 ack to use standard type
* update commented tests
* small typo fix
* revert back to module cdc
* update docs
* fix lint
* nit
* update ack event emission
* Update x/ibc-transfer/spec/01_concepts.md
* add comment for onacknowledgement
* Update proto/ibc/channel/channel.proto
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2020-09-09 10:01:28 +00:00
Anil Kumar Kammari
64b6bb5270
rename RegisterCodec to RegisterLegacyAminoCodec ( #7243 )
...
* rename RegisterCodec to RegisterLegacyAminoCodec
* Add changelog
* gofmt
* rename codec.New() to codec.NewLegacyAmino()
* Add change log
* Update CHANGELOG.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Fix
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-09-07 14:47:12 +00:00
colin axnér
843bd24bca
Add a mock application module to test core IBC ( #7187 )
...
* update setup to use channeltype and add mock app module
* rm print statement
* claim channel cap
* fix up test
* Update x/ibc/testing/coordinator.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* apply @fedekunze review suggestions
Co-authored-by: Aditya Sripal <adityasripal@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-31 13:58:23 +00:00
Cyrus Goh
d9fd4d2ca9
docs: Docs theme bump, Algolia DocSearch ( #7164 )
...
* bump docs theme to 1.0.171
* Fix typo, chinese character in URL
* update dead doc links
* bump docs theme to 1.0.172
* [favicons] add favicons
Co-authored-by: vms <vince19972@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-25 20:10:20 +00:00
dependabot[bot]
2df04d6eb6
Bump vuepress-theme-cosmos from 1.0.169 to 1.0.172 in /docs ( #7154 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.169 to 1.0.172.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 04:34:34 -04:00
Amaury Martiny
50bab8f820
Put AccountSequence in SignerInfo ( #6997 )
...
* WIP test the grounds
* Update ADR020
* Fix compile errors
* Fix ADR
* Make ante tests pass
* Fix remaining ante handler tests
* Simplify code
* Fix x/bank app_test
* Fix tests
* Remove useless accSeq from signerdata
* Fix test
* Update simapp/helpers/test_helpers.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update simapp/helpers/test_helpers.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update x/auth/client/cli/tx_multisign.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Address rewview
* Update x/auth/ante/sigverify.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update x/auth/ante/sigverify_test.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update x/auth/tx/builder_test.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update x/auth/tx/builder_test.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update x/auth/tx/direct_test.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Update x/auth/tx/builder_test.go
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* AccSeq -> Seq
* Address reviews
* Better variable naming
* Fix variable assign
* Remove old SetSignerInfo
* Fix test
* proto-gen
* Make proto-gen
* Reput gw comment
* Add Changelog
* Update x/bank/app_test.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update x/bank/app_test.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2020-08-21 14:20:47 +00:00
Federico Kunze
16435a0f4d
ibc: TimeoutOnClose support ( #7066 )
...
* ibc: TimeoutOnClose support
* revert added callback
* update proto
* update spec and add msg test
* update handler and add test
* apply self-review changes
* apply @fedekunze review suggestion
Co-authored-by: Colin Axner <colinaxner@berkeley.edu>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-08-20 07:19:57 -04:00
Simon Warta
1b9f144b9d
Propose ADR 027: Deterministic Protobuf Serialization ( #6979 )
...
* Add ADR 026: Protocol Buffer Regencode
* Use Regencode in ADR-020
* Apply suggestions from code review
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Add reasoning behind omitting empty fields
* Rename to ADR 026: Deterministic Protobuf Serialization
* i++
* explicitely -> explicitly
* Fix description of optional values
* Update reasoning behind omitting default values
* Fix empty -> defaut
* Update docs/architecture/adr-027-deterministic-protobuf-serialization.md
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Add rules to avoid duplicate encoding and specify packed fields
* Add rule for variant encoding
* Add surrogate pair to test UTF-8 encoding
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-08-19 17:22:15 +00:00
Federico Kunze
3022fe9044
x/ibc-transfer: ADR001 source tracing implementation ( #6871 )
...
* x/ibc-transfer: ADR001 source tracing implementation
* gRPC proto file
* validation
* fix validation
* import export genesis
* relay.go updates
* gRPC service methods
* client CLI
* update implementation
* build
* trace test
* fix CLI tx args
* genesis import/export tests
* update comments
* update proto files
* GRPC tests
* remove field from packet
* fix coin validation bug
* more validations
* update comments
* minor refactor
* update relay.go
* try fix test
* minor updates
* fix tests
* fix test
* ADR updates and comments
* build
* Apply suggestions from code review
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address a few comments from review
* gRPC annotations
* update proto files
* Apply suggestions from code review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* address comments
* docs and changelog
* sort traces
* final changes to ADR
* client support for full path denom prefixes
* address @AdityaSripal comments
* address TODO
* increase test timeouts
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-08-14 17:46:26 -04:00
Marko
8de96d16f9
tendermint: update to rc3 ( #6892 )
...
* modify light imports
* change abci.header to tmproto.header
* use rc
* rc
* fix import
* Merge PR #6893 : fix key imports
* fix rc2
* tendermint: update 3 (#6899 )
* tendermint: update 4 (#6919 )
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* tendermint: update 5 (#6923 )
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* bump to latest master
* tendermint: update (#6972 )
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
* Update x/ibc/07-tendermint/types/test_utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address comment
* go mod
* bring back things
* fix test
* update tm proto files
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-14 13:58:53 -04:00
Alexander Bezobchuk
6a7cf4442e
Merge PR #7006 : auth: Update AccountRetriever
2020-08-13 10:22:16 -04:00
dauTT
20c80cfd44
Rename *codec.Codec to *codec.LegacyAmino ( #6991 )
...
* Rename *codec.Codec to *codec.LegacyAmino
* Implement requested changes
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-08-10 19:41:21 +00:00
Christopher Goes
769387b754
Merge PR #6488 : Initial ADR for IBC client recovery mechanisms
2020-08-10 18:19:08 +02:00
dependabot-preview[bot]
75478579b3
build(deps): [security] bump prismjs from 1.20.0 to 1.21.0 in /docs ( #6990 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.20.0 to 1.21.0. **This update includes a security fix.**
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-10 03:38:19 -04:00
Federico Kunze
6f3ca5c140
ADR 001: coin cross-chain transfer source tracing ( #6662 )
...
* adr: coin cross-chain transfer source tracing
* update pros and cons
* update spec README
* Update docs/architecture/adr-001-coin-source-tracing.md
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
* Apply suggestions from code review
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
* Update docs/architecture/adr-001-coin-source-tracing.md
* address comments from review
* update ADR with Send/Recv logic
* final touches
* Apply suggestions from code review
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
* address comments from review
* address @aaronc review comments
* Apply suggestions from code review
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
* use SplitN
* custom denom validation reference
* address some comments from review
* more updates based on Colin's review
* final draft with changes to relay.go
* undo proto changes
* address @aaronc review comments
* why do I keep updating the proto files?
* address @AdityaSripal comments
* address more comments
* typos
* final ammendments
* minor fix
* address more comments
* update example
* Update docs/architecture/adr-001-coin-source-tracing.md
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* address more comments
* update prefix example
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-08-03 11:39:26 +00:00
Emmanuel T Odeke
c7c66f8b36
types: remove unused CanonicalSignBytes ( #6912 )
...
Removes all vestiges of CanonicalSignBytes, which is unused
and untested.
Fixes #6679
2020-08-02 15:13:41 +00:00
Cyrus Goh
c6f3a1706f
Docs config ( #6846 )
...
* bump docs theme to 1.0.169
* enable topbar banner
2020-07-25 03:55:55 -04:00
Marko
e6a56226a8
context: remove verifier & trust node ( #6805 )
...
* remove verifier
* more removal of trustnode flag
* add todo
* fix lint
* remove file
* remove viper and add link to issue
* remve mention of trustnode
2020-07-23 06:44:18 +00:00
colin axner
97a83e9c78
Update IBC events docs and code ( #6798 )
...
* update msgs type from opaque
* update spec for createclient
* update events spec for handshake cals
* update packet events for spec and code
* add relayer events doc
* update ibc-transfer events
* fix build
* small fix from self review
* update channel msgs types
* acknowledgement_packet -> acknowledge_packet
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* fix spec issues for ibc and ibc-transfer
* add golang relayer link
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 12:56:14 -04:00
colin axner
79fa06b26c
remove IBC ante handler in favor of using handler ( #6793 )
...
* remove IBC ante handler, add calls to handler
* move some events upstream to handler
* remove change log entry
* move ante handler tests to handler
* fix build
* update docs
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 15:25:57 +00:00
Adam Bozanich
f33749263f
Merge PR #6761 : telemetry: use UTC() in wrappers
2020-07-17 15:33:50 -04:00
daoleno
f208b9b9fe
Update cn document ( #6753 )
...
* Formatting documents
* Fixing typos
* Update the intro document to the latest version
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-17 10:53:39 +00:00
dependabot-preview[bot]
ac6e26ce7d
build(deps): [security] bump lodash from 4.17.15 to 4.17.19 in /docs ( #6742 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-16 04:19:33 -04:00