Robert Zaremba
823620c231
docs: update bech32 account docs ( #9006 )
...
* docs: update bech32 account docs
* docs: update other places for bech32 and pubkeys
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-03-29 11:22:30 +00:00
Amaury
1fa2c22d8a
Prefer sending tx_bytes to Simulate gRPC endpoint ( #8926 )
...
* First run
* Remove dead code
* Make test pass
* Proto gen
* Fix lint
* Add changelog
* Fix tests
* Fix test
* Update x/auth/tx/service.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Remove protoTxProvider
* Add grpc-gateway test
* Add comment
* move to api breaking
* lesser diff
* remove conflict
* empty commit to rerun CI
* empty commit to rerun CI
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-25 10:52:54 +00:00
MD Aleem
a78f777ea8
add reverse iteration to pagination ( #8875 )
...
* WIP
* add tests
* add tests
* fix lint
* fix pagination
* add proto message doc
* fix filtered_pagination
* fix test
* cleanup
* add reverse flag to pagination
* changelog
* Update client/flags/flags.go
* Update CHANGELOG.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-03-23 09:28:20 +00:00
Sunny Aggarwal
be27ec1d29
started fixing merge conflicts
2021-03-21 18:33:14 -04:00
Amaury
1a4418b32b
Docs: Anys Usage, Events & small cleanups ( #8895 )
...
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-03-17 12:15:20 +00:00
Pash
36f68eb9e0
Update docs ( #8751 )
...
* docs/basics/app-anatomy.md: update code snippets
* Update outdated code snippets
* docs/basics/accounts.md: update code snippets
* Update outdated code snippets
* docs/core/baseapp.md: update code snippets
* Update outdated code snippets
* docs/core/node.md: update code snippets
* Update outdated code snippets
* docs/core/store.md: fixed typos
* docs/core/grpc_rest.md: fix typos
* docs/core/cli.md: fix typos
* docs/core/ocap.md: fix code snippet
* docs/building-modules/msg-services.md: fix snippet
* Update stale code snippets
* docs/building-modules/simulator.md: snippets fix
* Update outdated code snippet
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-16 12:14:54 +00:00
technicallyty
c6af0ed87e
x/upgrade: remove support for time based upgrades ( #8849 )
...
* remove time based upgrades
* cleanup
* cleanup evidence of time based upgrades
* cleanup docs referring to time based upgrades
* forgot one
* added line to changelog deprecated section
* Update proto/cosmos/upgrade/v1beta1/upgrade.proto
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* update changelog line to correct section
* update buf config to allow reserved fields
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-03-14 01:03:01 +00:00
MD Aleem
adf5f625c1
add orderBy parameter to TxsByEvents ( #8815 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2021-03-12 18:47:10 +00:00
Amaury
6520997668
Supply by denom Migrations ( #8780 )
...
* Add back supply proto
* Add migration for supply
* Fix lint
* Update x/bank/spec/01_state.md
* Fix test
* Proto gen
* Update x/bank/spec/01_state.md
* Make proto gen
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2021-03-05 14:11:19 +00:00
Robert Zaremba
a18f0b111a
Enable secp256r1 ( #8786 )
...
* enable secp256r1 in antehandlers
* Add sig verification benchamrk to find a sigverify fee
* adjust the gas fee
* enable secp256r1 in antehandlers
* Add sig verification benchamrk to find a sigverify fee
* adjust the gas fee
* Update the secp256r1 fee factor
* Update changelog
* regenerate docs
2021-03-04 21:31:42 +00:00
colin axnér
da064e13d5
Remove IBC from the SDK ( #8735 )
2021-03-04 13:11:34 +00:00
Robert Zaremba
c66f1f7efe
crypto: add secp256r1 ( #8559 )
...
* Optimize secp256k1 hashing
* Add ADR-028 related functions
* Update ed25519
* fix errors/handle
* fix build
* fix build
* Add tests and update function names
* wip
* Use LengthPrefix for composed addresses
* add tests for NewComposed
* add module hash function
* fix append
* rollback ed25519 ADR-28 update
* rollback ed25519 ADR-28 test
* Adding Module tests and convert tests to test suite
* convert store_key_test.go to test suite
* rollback test check comment
* any.pb.go update
* generated proto files
* wip
* renames
* wip2
* add String method to PBBytes
* wip3
* add pubkey tests
* adding cryptotypes.PrivKey methods
* re-enable test
* fix equals test
* fix ecdsa object receiver
* add ProtoMarshaler implementation and tests
* move code to init and add interface registry
* add bytes tests
* merge Unmarshal with UnmarshalAmino
* implement ProtoMarshaler to ecdsaSK
* remove bytes.go
* add private key marshaling tests
* break tests into 2 suites
* add signature tests
* remove TODO
* remove bytes.proto
* adding changelog
* Update CHANGELOG.md
* Update crypto/keys/ecdsa/ecdsa_privkey.go
* Update crypto/keys/ecdsa/ecdsa_pubkey.go
* comments: add dot (.) at the end
* update comments
* update commented code
* rename files
* remove Amino methods
* use 2 spaces in protocgen.sh
* rollback changes in protocgen.sh
* add MessageName
* rework ecdsa proto structure
* move ecdsa to internal package
* add secp256r1 proto
* refactore proto definition for secp256r1
* fix err check
* update comments
* create const for fieldSize+1
* simplify the PubKey.String test
* Apply suggestions from code review
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
* Update doc comments: SDK Interface -> sdk.Interface
* rename init.go to doc.go
* Add PubKey.Type() test
* Revert "Update doc comments: SDK Interface -> sdk.Interface"
This reverts commit 01f2b4f5efcd79a452483bcda152db54a8fbfee2.
* Use cryptotypes.Address instead of tmcrypto
* Revert "Use cryptotypes.Address instead of tmcrypto"
This reverts commit 15b866ae67bdb7ca4872f4089fcab19f9e2e3608.
This issue will be solved in https://github.com/cosmos/cosmos-sdk/issues/8775
* add link to ANSI X9.62
* move init.go -> doc.go
* use proto.MessageName()
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2021-03-04 12:29:48 +00:00
colin axnér
1c6e267964
Remove IBC logic from x/upgrade ( #8673 )
...
* add zeroed custom fields check to tm client
* remove custom fields function from x/upgrade and fix tests
* use []byte in x/upgrade, move abci to 02-client
* remove x/ibc from types
* whoops, delete testing files
* fix upgrade tests
* fix tm tests
* fix tests
* update CHANGELOG
* revert proto breakage, use reserved field cc @amaurym
* add IBC Upgrade Proposal type
* remove IBC from upgrade types
* add IBC upgrade logic to 02-client
* fix all tests for x/upgrade
* Add CLI for IBC Upgrade Proposal
* Update x/ibc/core/02-client/types/proposal_test.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* add gRPC for upgraded client state
* test fixes
* add HandleUpgradeProposal tests
* update docs and remove unnecessary code
* self review bug and test fixes
* neatness
* construct empty rest handler
* fix tests
* fix stringer tests
* Update docs/core/proto-docs.md
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
* add key in ibc store tracking ibc upgrade heights
Add a new Key to the IBC client store to track the IBC Upgrade Height. This allows IBC upgrades to correctly remove old IBC upgrade states
* update abci and tests
* revert key storage after discussion with @AdityaSripal
Revert using a key to track IBC upgrades. By clearing any IBC state using an old plan in ScheduleUpgrade, IBC upgrades do not need to be tracked by IBC. This reduces code complexity and reduces potential for bugs.
* clear IBC states on cancelled upgrades
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2021-03-01 16:28:54 +00:00
Amaury
eeb3eabdc6
docs: Add mention to use gRPC v1.33.2 ( #8658 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-02-25 07:57:06 +00:00
Federico Kunze
149bed48fd
bank: name and symbol metadata fields ( #8677 )
...
* bank: name and symbol metadata fields
* cli test
* changelog
2021-02-24 20:06:04 -03:00
Cyrus Goh
4c70268c9b
docs: update master docs ( #8353 )
...
* bump docs theme to 1.0.180
* add v0.40 to config.js versions
* Fix code snippet link
* reorganize order of versions
* 0.39, 0.41, master
* defaulting to 0.41
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-23 10:57:04 +00:00
Riccardo Montagnin
c2be53a447
auth: query all accounts stored via gRPC ( #8522 )
...
* Added the ability to query all accounts stored using gRPC
* Added CHANGELOG entry
* Fixed linting errors
* Update CHANGELOG.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update proto/cosmos/auth/v1beta1/query.proto
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Run make proto-all
* Merged origin/master
* Applied suggestions
* Added CLI command
* Updated CHANGELOG
* Fixed merge conflicts
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-22 14:21:46 +00:00
MD Aleem
7df79b55f0
x/authz: Add DelegateAuthorization, UndelegateAuthorization ( #8472 )
...
* add proto msgs
* add delegate authorization
* add delegate authorization tests
* add delegate authorization to cli
* fix lint
* add cli tests
* made max_tokens optional
* add tests
* add table tests
* resolve conflicts
* add undelegate authorization
* proto-gen
* fix errors
* fix lint
* resolve conflicts
* fix imports
* add allow & deny lists to delegate authorization
* refactor authorizations
* proto-docs
* fix lint
* review changes
* golint
* proto lint
* review changes
* add staking authorization
* review changes
* fix protos
* review changes
* review changes
* clean docs
* proto-docs
* proto-gen
* proto-docs
2021-02-20 06:57:57 +00:00
colin axnér
ceeb2a0b34
Update baseapp docs ( #8630 )
...
* update docs
* Update docs/core/baseapp.md
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-19 15:07:52 +00:00
Amaury
73e38e4009
Use service Msgs in CLI tx commands ( #8512 )
...
* Use service Msgs in CLI tx commands
* Update comment
* Gracefully support amino signing
* CLI to use svc msg
* Fix lint
* Use fq method name in events
* Update tests
* Fix quering events
* Add docs
* Fix test build
* Fix events
* Fix search for events
* Handle old andd new event quering
* Use merge events
* Better encCfg
* Add page in search
* Fix tests
* Update test and comments
* Update x/auth/legacy/legacytx/stdsign.go
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
* Fix conflict for weighted vote
* Make CopyTx actually run
* Fix CopyTx
* Fix test
* Add changelog entry
* Remove useless code
* Add msgs tests
* Remove testing proto Msg via CLI
* Fix lint
* Fix test
* Implement GetSignBytes on ServiceMsg
* Fix %T
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-18 18:00:19 +00:00
colin axnér
47dd07d4ff
Modify IBC client governance unfreezing to reflect ADR changes ( #8405 )
...
* update proto files
* make proto-gen
* update clienttypes
* update localhost and solo machine
* refactor tm client proposal handling
* copy metadata
* self review fixes
* update 02-client keeper tests
* fix 02-client type tests
* fix localhost and solomachine tests
* begin updating tm tests
* partially fix tm tests
* increase codecov
* add more tests
* add changelog
* update specs
* add docs
* fix test
* modify adr
* allow modified chain-ids
* add CLI command
* fix typos
* fix lint
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* update docs, rm example
* Update docs/ibc/proposals.md
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
* update height checks to reflect chain-id changes cc @AdityaSripal
* Apply suggestions from code review
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
* Apply suggestions from code review
Co-authored-by: Aditya <adityasripal@gmail.com>
* address most of @AdityaSripal suggestions
* update docs per review suggestions
* Update x/ibc/core/02-client/types/proposal.go
* add proposal handler
* register proposal type
* register proposal on codec
* fix routing
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Co-authored-by: Aditya <adityasripal@gmail.com>
2021-02-16 15:31:40 +00:00
Robert Zaremba
adbf5a71e6
adr-028 address generation ( #8415 )
...
* Optimize secp256k1 hashing
* Add ADR-028 related functions
* Update ed25519
* fix errors/handle
* fix build
* fix build
* Add tests and update function names
* wip
* Use LengthPrefix for composed addresses
* add tests for NewComposed
* add module hash function
* fix append
* rollback ed25519 ADR-28 update
* rollback ed25519 ADR-28 test
* Adding Module tests and convert tests to test suite
* convert store_key_test.go to test suite
* rollback test check comment
* Rename assert.Panic and add comment
* add note to ed25519 about SDK support with regards to ADR-28
* Update ed25519 TestAddress
* Adding Deprecated notes for ed25519.PrivKey
* Update crypto/keys/ed25519/ed25519.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Update types/address/hash_test.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* solve linter issues
* linter: remove gocritic
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
2021-02-15 15:32:51 +00:00
Marko
d9d078fbc2
docs: rest_grpc updates ( #8582 )
2021-02-15 09:41:26 +00:00
Sunny Aggarwal
157a24681c
Merge branch 'master' into gov_split_vote_weighted_vote
2021-02-09 15:18:53 -05:00
Afanti
bb85a690ab
Fix typo in context and node docs ( #8533 )
...
* Update context.md
* fix typo in the node document
2021-02-08 09:55:24 +00:00
antstalepresh
404dc4f356
Merge branch 'master' of github.com:sikkatech/cosmos-sdk into gov_split_vote_weighted_vote
2021-02-06 01:03:32 +10: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Adam Bozanich
f33749263f
Merge PR #6761 : telemetry: use UTC() in wrappers
2020-07-17 15:33:50 -04:00
Federico Kunze
be194ca1b7
docs: improve IBC guide ( #6472 )
...
* docs: improve IBC guide
* remove module specs
* capability spec
* update capability spec
* move cap to concepts
* remove module specs
* split IBC section
* wip integration.md
* complete integration.md
* format integration.md
* docs updates
* Apply suggestions from code review
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
* fix Next links
* further readings
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
2020-07-07 06:19:36 -04:00
billy rennekamp
6700d776b8
docspelling and grammar ( #6480 )
...
Minimal changes
2020-06-22 10:27:12 -04:00
Aditya
231ae6eaff
docs: IBC Application guide ( #6464 )
...
* start app guide
* finish guide
* add link to cap module
* move guide to docs/
* fix broken links
* vuedocs warning format
* Update docs/core/ibc.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-06-19 08:23:45 -04:00
Alexander Bezobchuk
5040ff87c4
Merge PR #6449 : Initial Metrics
2020-06-18 14:12:44 -04:00
Mikhail Kornilov
ced080af95
Baseapp recovery middleware ( #6053 )
...
* baseapp: custom panic handling withing app.runTx method
* baseapp: recovery middleware chain unit test added
* CHANGELOG.md update
* ADR-22 link added; godocs update
* CHANGELOG.md: ADR-022 url fix
* CoreDocs added for custom panic recovery middleware
2020-06-05 16:48:18 +00:00
SaReN
39f53ac22f
client: rename CliContext to Context ( #6290 )
...
* Refactor CliContext as Context
* Fix lint issues
* Fix goimports
* Fix gov tests
* Resolved ci-lint issues
* Add changelog
* Rename cliCtx to clientCtx
* Fix mocks and routes
* Add changelog
* Update changelog
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* merge client/rpc/ro{ot,utes}.go
* Update docs
* client/rpc: remove redundant client/rpc.RegisterRPCRoutes
* regenerate mocks
* Update ADRs
Co-authored-by: Alessio Treglia <alessio@tendermint.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-06-01 12:46:03 +00:00
Federico Kunze
5b14975732
update SECURITY.md ( #6263 )
2020-05-21 11:12:51 +02:00
Yonghui Lin
968fb1f040
Merge PR #6017 : [DOCS]: fix the error link
2020-04-17 10:01:42 -04:00
Alexander Bezobchuk
09a55f68b5
Merge PR #5952 : Refactor Evidence Age Util + Governable Consensus Params
2020-04-16 11:10:39 -04: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
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
Anthony
2b75f50604
Merge PR #5708 : fix type for the event documentation
2020-02-27 02:37:16 -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
Alexander Bezobchuk
25be589af6
Merge PR #5482 : Update Query Txs by Events Command
2020-01-06 11:49:31 -05:00
Sunny Aggarwal
17d639aa60
Merge PR #5452 : Pass in sdk.Context to router.Route()
2020-01-04 14:50:38 -05:00
Marko
43e25e283e
Merge PR #5463 : docs: add link to iavl documentation
2020-01-02 10:25:09 -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
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
Aditya
4cd18bcf35
Merge PR 5196: RecheckTx Optimizations
2019-10-23 10:43:58 -04:00
gamarin2
0992c2994c
Merge PR #5014 : Docs fixes
...
* various fixes
* translations to root
2019-09-09 10:22:15 -07:00
Alexander Bezobchuk
f010d2c6f1
Merge PR #4748 : Write-Through Inter-Block Cache
2019-09-04 13:33:32 -04:00
mircea-c
450c8ced2c
Merge PR #4787 : Updated docs build process
2019-08-26 09:09:18 -04:00
Marko
f1adb7afd9
Merge PR #4904 : Remove empty files and broken links
2019-08-14 11:05:01 -04: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
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
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
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
Ethan Buchman
f78f30c67a
update for tm v0.22.0. tmlibs->tendermint/libs
2018-07-02 16:34:06 -04:00
Dev Ojha
0d28eda146
Merge PR #1463 : docs: Fix dependencies, from monorepo merge
...
Closes #1456
2018-06-29 22:02:45 +02:00
Dev Ojha
b4e70e356e
Merge PR #1453 : Fix build error on develop
2018-06-29 09:06:49 +02: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