Cory
603e89541f
Add support for permanent locked vesting accounts ( #8520 )
...
* add basics for permanent locked vesting account support
* remove sdk.Msg support for PermanentLockedVestingAccount
* add tests for PermanentLockedVestingAccount
* remove unecessary tests
* drop unecessary create vesting acct msgs
* Update x/auth/vesting/types/vesting_account.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update x/auth/vesting/types/vesting_account.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update x/auth/vesting/types/vesting_account.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Update x/auth/vesting/types/vesting_account_test.go
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Review changes
* Factorize init function
* Factorize more
* Comments
* Fix build after rename
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-04-21 16:18:28 +00:00
Frojdi Dymylja
83645e0360
ADR036: Arbitrary signature ( #7727 )
...
* add: arbitrary signature adr draft
* fix: adr number
* change: adjust scope, address feedback
* fix: missing sentence
* change: address wording
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* change: address wording and formatting
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* change: address formatting
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* change: message name, address modal verbs changes
* change: document how MsgSignData should be used
* change: address wording
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* add: how verification works
* Update docs/architecture/adr-036-arbitrary-signature.md
* Update docs/architecture/adr-036-arbitrary-signature.md
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Apply suggestions from code review
* Update docs/architecture/adr-036-arbitrary-signature.md
* add: expand further discussion items
* fix: wording
* add: context references
* change: split offchain tx specific from MsgSignData
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-19 16:18:48 +00:00
Cyrus Goh
89cb9b0f8c
docs: uml hotfix ( #9124 )
...
* comment out ungenerated uml .svg in the md files
* generate svgs to docs/uml
* create docs/uml/svg
* move .punl to docs/uml/puml
* update uml path in md files
* docs: update relative path of uml svg in `x` md files
* docs: remove plantuml script from pre.sh
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-16 07:59:21 +00:00
Robert Zaremba
e43edc4749
ADR-28 derive address functions ( #9088 )
...
* update Derive functions
* update adr-028
* changelog update
* Apply suggestions from code review
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* review updates
* remove DeriveMulti and rollback some changes in CHANGELOG
* add noop error check
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
2021-04-15 21:32:45 +00:00
Marko
261c7ebd89
dont generate uml docs ( #9121 )
2021-04-15 14:17:36 +00:00
technicallyty
849fab120b
documentation for in-place migrations with x/upgrade module ( #8967 )
...
* upgrade draft docs
* upgrade draft docs2
* change to generic id
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/README.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/README.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* added lines for version map and consensus versions
* fix headers, add synopsis tag
* docs for new modules
* fix
* remove line
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/building-modules/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* SetUpgradeHandler example snippet
* -general clean up of docs
-include PR #9007 information
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/core/upgrade.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* fix self-reference
* clearer definitions for overwriting genesis functions
* add sync section
* forgot to save this
* update description of initgenesis modules
* specify upgrade method
* Update docs/core/upgrade.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-14 08:49:17 +00:00
Cyrus Goh
56cea8c148
bump vuepress-theme-cosmos ( #9099 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-13 12:18:47 +00:00
Andrei Ivasko
d5f5fe68d0
Keyring migrate command doc ( #8979 )
...
* draft
* update
* address comments, ready for review
* delete thr last line
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/migrations/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* ready for review
* Update docs/migrations/keyring.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-04-12 10:18:07 +00:00
Amaury
47c399fc16
Update chain migration docs to use v0.42 ( #9090 )
...
* Update docs
* Tweak
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-12 08:08:53 +00:00
Sunny Aggarwal
10b2b08ece
Merge branch 'master' into powerreduction_param
2021-04-10 16:26:50 -04:00
atheeshp
7a3a156b4f
feegrant filtered msgs ( #8604 )
...
* WIP: add filtered message
* updated `Accept` interface method
* fix tests
* add cli tests for filtered fee allowance
* fix tests
* review changes
* rename `filteredFeeAllowance` message
* review changes
* review changes
* review changes
* review changes
* review changes
* update errors
* remove validation
* fix conflicts
* add `ctx` to `Accept` method
* fix test
* add gas consumption
* review changes
* review changes
* revert
* review changes
* improve error handling
* fix test
* Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/feegrant-filtered-msgs
* review changes
* update gas
* update type
* review changes
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-09 16:49:24 +00:00
Hanjun Kim
9b41ba7fb5
Use Docker to generate swagger files ( #9064 )
...
* use docker for proto-swagger-gen
fixes #7933
* fix deprecated commands and flags
see https://docs.buf.build/faq/ for detail
* run proto-gen and proto-swagger-gen
* add changelog entry
2021-04-07 10:31:39 +00:00
Sunny Aggarwal
ca34808fdc
merged master
2021-04-06 20:18:20 -04:00
Frojdi Dymylja
29ff333007
cosmos-reflection: extend to support writing by reflection clients ( #8965 )
...
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-04-07 00:33:54 +01:00
Sunny Aggarwal
05e2e45010
merged in master
2021-04-06 19:19:59 -04:00
Calvin Lau
cad3987bd0
Update overview.md ( #9044 )
...
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-04-06 15:33:39 +00:00
Rikard Hjort
c41baa9bc8
PlantUML diagrams ( #8712 )
...
* Overview of keepers in object capability model (OCM)
* Updates to the spec, making clarifications
* Create a sequence diagram of a (fresh) delegation
* Misc notes, not yet decided where to put them
* Description of the shares abstraction in validators
* Model all keeper dependencies and move the UML file to docs
* Move and rename delegation sequence diagram
* Move shares description
* Remove TODO
* Diagram touch-ups
* Add how consensus power is calculated
* remove temp file
* Diagram improvements
* Describe slashing in more detail
* Describe redelegation
* Describe unbonding
* Delegation updates
* Delegation updates
* Make a diagram describing overall transaction flow
* Add delegation flows for the events of tokens being bonded/unbonding/etc.
* Grammar fix
* Diagram updates: distinguish alts, remove numbering.
* Use groups instead of "func:" participants
* Remove unused keepers from dependency diagram
* Add title to unbonding diagram
* Move keeper dependencies
* small doc updates
* remove numbers on sequence diagram
* !!!WIP EndBlock
* Explain "Last"-prefix in storage
* Remove `panic` step (they are supposed to never happen)
* EndBlock sequence diagram (with TODOs)
* Add TODO
* More visible TODOs
* Remove numbering
* Complete EndBlock
* Remove numbering
* Remove TODOs and update title
* add title back
* remove endblock seq-diagram
* Make power index update conditional on not being jailed
* update title
* Move files to /docs
* Install PlantUML and compile images to png and txt
* Use transaction flow in documentation
* Use staking UML in staking docs
* Clarify uml with inline doc
* Add keeper deps diagram to docs
* Only produce SVG images
Co-authored-by: hjort <>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-06 09:50:56 +00:00
Ian Norden
feed37dc56
ADR-038 Part 1: WriteListener, listen.KVStore, MultiStore and KVStore updates ( #8551 )
...
* StoreKVPair protobuf message definition and generated go types
* store WriteListener
* update MultiStore, CacheWrap, CacheWrapper interfaces
* adjust KVStores to fit new CacheWrapper interface
* new ListenKVStore
* adjust multistores to fit new MultiStore interface and enable wrapping returned KVStores with the new ListenKVStore
* typo fixes in adr
* ListenKV Store test
* update server mock KVStore and MultiStore
* multistore unit test; fix multistore constructor
* update changelog
* fix bug identified in CI
* improve codecov, minor fixes/adjustments
* review fixes
* review updates; flip set to delete in KVStorePair, updated proto-docs from running 'make proto-gen'
2021-03-30 16:13:51 -04:00
Robert Zaremba
ce2163ce79
docs: added deprecation notes ( #9021 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-30 09:19:31 +00:00
Barrie Byron
de0e288a85
docs: IBC overview edits and rewrites for clarity ( #9001 )
...
* went to fix a broken link and then got caught up in an editorial quick sweep to address style, typos, and clarity issues
* typo
* removed the commented out link to use cases, can replace with link to website when the site has the use cases.
* get corrected links from #9005
* Update docs/ibc/overview.md
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* Apply Colin's suggestions from code review
thank you for your careful review, I appreciate you
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* resolve merge conflict with link fixes, I hope these are correct
* is like (was analogous)
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2021-03-30 08:08:33 +00:00
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
colin axnér
a5bd6b3f61
fix IBC links ( #9005 )
...
* fix ibc links
* remove hyphen in prerequisites to Update docs/ibc/relayer.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
2021-03-27 01:09:59 +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
Tim Lind
5a142db6f0
Fix broken ICS links on ADR001 ( #8971 )
...
Docs have moved to IBC repo
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-25 07:20:28 +00:00
Tim Lind
5b10af48c6
Fix broken relative link in ADR033 ( #8977 )
...
* Fix broken relative link in ADR033
Replaced with absolute URL
* Update docs/architecture/adr-033-protobuf-inter-module-comm.md
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-03-25 07:12:42 +00:00
Tim Lind
863d7d033f
Fix broken links to ICS specs ( #8972 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-03-24 10:23:31 +00:00
Tim Lind
c0d306ba50
Fix link to ICS007 on ADR026 ( #8976 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-03-24 10:16:10 +00:00
dependabot[bot]
f637f54369
build(deps): bump vuepress-theme-cosmos from 1.0.180 to 1.0.181 in /docs ( #8955 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.180 to 1.0.181.
- [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: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-24 09:32:46 +00:00
Tim Lind
4a93db78dc
Fix broken links to ICS26 in ADR015 ( #8974 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-03-24 09:23:00 +00:00
Tim Lind
c45775475a
Fix link to ICS2 on ADR017 ( #8975 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-24 08:30:00 +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
Frojdi Dymylja
ac48ffe748
gRPC: fix server reflection ( #8945 )
...
* add: gogoreflection
* fix: server reflection
* fix: make tests resolve imports in a transitive way
* chore: cleanup getMessageType
* chore: lint
* add: extensions reflection
* chore: update interact-node.md docs
* chore: update CHANGELOG.md
* Update server/grpc/gogoreflection/fix_registration.go
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-03-22 19:40:34 +00:00
Sunny Aggarwal
be27ec1d29
started fixing merge conflicts
2021-03-21 18:33:14 -04:00
technicallyty
5bd93bfe7b
x/upgrade: added consensus version tracking (part of ADR-041) ( #8743 )
...
* -added consensus version tracking to x/upgrade
* -added interface to module manager -added e2e test for migrations using consensus version store in x/upgrade -cleaned up x/upgrade Keeper -handler in apply upgrade now handles errors and setting consensus versions -cleaned up migration map keys -removed init chainer method -simapp now implements GetConsensusVersions to assist with testing
* Changed MigrationMap identifier to VersionMap
removed module_test
* updated docs
* forgot this
* added line to changelog for this PR
* Change set consensus version function to match adr 041 spec
* add documentation
* remove newline from changelog
unnecessary newline removed
* updated example in simapp for RunMigrations, SetCurrentConsensusVersions now returns an error
* switch TestMigrations to use Require instead of t.Fatal
* Update CHANGELOG.md
Co-authored-by: Aaron Craelius <aaron@regen.network>
* docs for SetVersionManager
* -init genesis method added -removed panics/fails from setting consensus versions
* update identifiers to be more go-like
* update docs and UpgradeHandler fnc sig
* Upgrade Keeper now takes a VersionMap instead of a VersionManager interface
* upgrade keeper transition to Version Map
* cleanup, added versionmap return to RunMigrations
* quick fix
* Update docs/architecture/adr-041-in-place-store-migrations.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* remove support for versionmap field on upgrade keeper
* cleanup
* rename get/set version map keeper functions
* update adr doc to match name changes
* remove redudant line
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-19 22:01:29 +00:00
Robert Zaremba
cc1db18df5
doc secp256r1 ( #8899 )
...
* Update docs for things related to secp256r1
* docs: update accounts and pubkey documentation
* update table formatting
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* Apply suggestions from code review
Awesome grammar fixes and style improvements
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Apply suggestions from code review
Awesome grammar and style improvements.
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* hd wallet docs update
* Apply suggestions from code review
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/basics/accounts.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/architecture/adr-020-protobuf-transaction-encoding.md
I agree, let's use "and"
* update code snippet links
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-03-19 14:22:59 +00:00
dependabot[bot]
0c2d4a86fd
build(deps): bump elliptic from 6.5.3 to 6.5.4 in /docs ( #8824 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
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>
2021-03-17 14:07:28 +00: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
Cory
a9b73e6452
add newline at end of docs/versions file ( #8900 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-03-17 08:53:51 +00:00
Pavel Voronin
864a07290e
ascii scheme didn't fit view area ( #8892 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-17 08:46:00 +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
Pavel Voronin
2bce1a7bae
fix typo ( #8891 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-16 11:32:43 +00:00
Pavel Voronin
1f50a54cf9
fix typo ( #8893 )
2021-03-16 11:28:37 +00:00
Cyrus Goh
e66c4e6f9c
docs: update dropdown 0.41 → 0.42 ( #8884 )
...
* redirect /0.41 → /0.42
2021-03-15 19:21:08 +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
Alessio Treglia
3954c244b6
keyring: update documentation ( #8839 )
...
* keyring: update documentation
* Update docs/run-node/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
* Update docs/run-node/keyring.md
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-11 15:17:43 +00:00
Charly
55fc465dce
fixes: permalinks for docs ( #8838 )
...
* fixed broken links, typos
* Update docs/ibc/overview.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/intro/sdk-app-architecture.md
Co-authored-by: Marko <markobaricevic3778@gmail.com>
* Update docs/building-modules/simulator.md
Co-authored-by: Marko <markobaricevic3778@gmail.com>
* build(deps): bump JamesIves/github-pages-deploy-action from 4.0.0 to 4.1.0 (#8792 )
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.0.0...3dbacc7e69578703f91f077118b3475862cb09b8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix multisig account pubkeys migration (#8794 )
closes : #8776
* Update mergify (#8784 )
* Update mergify
Prep for the v0.42 release series.
* retire v0.41, the hub can upgrade to v0.42 smoothly
* perf change (#8796 )
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* 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>
* fix make protoc error (#8799 )
* reduce gas costs by 10x for transient store operations (#8790 )
* reduce gas costs by 10x for transient store operations
* fix TestTransientGasConfig for ReadCostFlat
* added changelog entry
* fix changelog
* fix changelog
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* x/gov: fix NormalizeProposalType() return values (#8808 )
Closes : #8806
* store/cachekv: use typed types/kv.List instead of container/list.List (#8811 )
Reduces CPU burn by using a typed List to avoid the expensive type
assertions from using an interface. This is the only option for now
until Go makes generics generally available.
The change brings time spent on the time assertion cummulatively to:
580ms down from 6.88s
Explanation:
The type assertions were showing up heavily in profiles:
* Before this commit
```shell
Total: 42.18s
ROUTINE ======================== github.com/cosmos/cosmos-sdk/store/cachekv.newMemIterator
in /Users/emmanuelodeke/go/src/github.com/cosmos/cosmos-sdk/store/cachekv/memiterator.go
14.01s 18.87s (flat, cum) 44.74% of Total
. . 17: items []*kv.Pair
. . 18: ascending bool
. . 19:}
. . 20:
. . 21:func newMemIterator(start, end []byte, items *list.List, ascending bool) *memIterator {
. 620ms 22: itemsInDomain := make([]*kv.Pair, 0, items.Len())
. . 23:
. . 24: var entered bool
. . 25:
510ms 870ms 26: for e := items.Front(); e != nil; e = e.Next() {
6.85s 6.88s 27: item := e.Value.(*kv.Pair)
5.71s 8.19s 28: if !dbm.IsKeyInDomain(item.Key, start, end) {
120ms 120ms 29: if entered {
. . 30: break
. . 31: }
. . 32:
. . 33: continue
. . 34: }
. . 35:
820ms 980ms 36: itemsInDomain = append(itemsInDomain, item)
. . 37: entered = true
. . 38: }
. . 39:
. 1.21s 40: return &memIterator{
. . 41: start: start,
. . 42: end: end,
. . 43: items: itemsInDomain,
. . 44: ascending: ascending,
. . 45: }
```
and given that the list only uses that type, it is only right to lift the
code from container/list.List, and only modify Element.Value's type.
For emphasis, the code is basically just a retrofit of
container/list/list.go but with a typing, and we'll keep it as is
until perhaps Go1.17 or Go1.18 or when everyone uses Go1.17+ after
generics have landed.
* After this commit
```shell
Total: 45.25s
ROUTINE ======================== github.com/cosmos/cosmos-sdk/store/cachekv.newMemIterator
in /Users/emmanuelodeke/go/src/github.com/cosmos/cosmos-sdk/store/cachekv/memiterator.go
4.84s 6.77s (flat, cum) 14.96% of Total
. . 16: items []*kv.Pair
. . 17: ascending bool
. . 18:}
. . 19:
. . 20:func newMemIterator(start, end []byte, items *kv.List, ascending bool) *memIterator {
. 330ms 21: itemsInDomain := make([]*kv.Pair, 0, items.Len())
. . 22:
. . 23: var entered bool
. . 24:
60ms 160ms 25: for e := items.Front(); e != nil; e = e.Next() {
580ms 580ms 26: item := e.Value
3.68s 4.78s 27: if !dbm.IsKeyInDomain(item.Key, start, end) {
80ms 80ms 28: if entered {
. . 29: break
. . 30: }
. . 31:
. . 32: continue
. . 33: }
. . 34:
440ms 580ms 35: itemsInDomain = append(itemsInDomain, item)
. . 36: entered = true
. . 37: }
. . 38:
. 260ms 39: return &memIterator{
. . 40: start: start,
. . 41: end: end,
. . 42: items: itemsInDomain,
. . 43: ascending: ascending,
. . 44: }
```
Fixes #8810
* Move all migration scripts to v043 (#8814 )
* Move all migration scripts to v043
* Fix permaling
* Fix test
* Fix test again
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* permalinks
Co-authored-by: chrly <chrly@chrlys-MacBook-Pro.local>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Marko <markobaricevic3778@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Albert Chon <albert@injectiveprotocol.com>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2021-03-10 19:14:12 +00:00
Charly
24ed401c81
fixed broken links, typos ( #8783 )
...
* fixed broken links, typos
* Update docs/ibc/overview.md
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* Update docs/intro/sdk-app-architecture.md
Co-authored-by: Marko <markobaricevic3778@gmail.com>
* Update docs/building-modules/simulator.md
Co-authored-by: Marko <markobaricevic3778@gmail.com>
Co-authored-by: chrly <chrly@chrlys-MacBook-Pro.local>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Marko <markobaricevic3778@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-09 09:51:52 +00:00
Amaury
6ac8898fec
Move all migration scripts to v043 ( #8814 )
...
* Move all migration scripts to v043
* Fix permaling
* Fix test
* Fix test again
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-08 22:36:06 +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