Commit Graph

9949 Commits

Author SHA1 Message Date
Emmanuel T Odeke
6d03ddede4
fix: cosmovisor: isolate and return masked errors that are not non-existence errors (#13470)
Enumerates and improves on the error checking for non-existance errors
to clearly return unhandled errors such as access restrictions,
unaccessible volumes etc, when trying to download binaries.
The prior code assumed that either the file existed or the only error
to be returned would be about the file not existing, yet this isn't
always true.

Fixes #13469
2022-10-07 01:48:38 +02:00
Emmanuel T Odeke
481569ce4f
fix: all: fix resource leaks found by staticmajor (#13394)
Fixes resource leaks in which a .Close, .Stop method
wasn't invoked in return routes such as with errors.

Found by https://github.com/cosmos/cosmos-sdk/pull/13392
2022-10-06 20:11:40 +00:00
dependabot[bot]
fbd81ba0b7
build(deps): Bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#13467)
* build(deps): Bump google.golang.org/grpc from 1.49.0 to 1.50.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.50.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.50.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): Bump google.golang.org/grpc from 1.49.0 to 1.50.0 for all modules

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-10-06 19:41:52 +02:00
Julien Robert
5878976741
fix: fix redirections links (#13465) 2022-10-06 19:04:08 +02:00
Julien Robert
74ce07eb26
docs: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00
Amaury
ff39d243d4
refactor: Improve x/bank deterministic tests (#13450)
* refactor: Improve x/bank deterministic tests

* typo

* Less changes

* Rename var

* Fix SpendableBalances

* Fix pagination tests

* Fix TestGRPCQueryTotalSupply

* Remove explicit SetupTest()

* Fix TestGRPCSendEnabled

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-10-06 12:05:56 +00:00
yihuang
bb54c597de
fix: state listener could observe discarded writes (#13459)
* fix: state listener could observe uncommitted writes

Closes: #13457

don't pass listeners to nested cached store,
only the most inner layer's cache writes should be observed.

* Update CHANGELOG.md

* add unit test

* rename

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-10-06 11:41:56 +00:00
Amaury
90bd3161a1
refactor: Improve and clarify API around AccountAddressById (#13460)
* Revert "chore: change id to use uint64 in `AccountAddressByID` (#13411)"

This reverts commit 3d0e214446.

* Add since

* Update CLI command

* make proto-gen

* id->accNum

* No API breaking changes

* improve err msg

* Update CHANGELOG.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Update CHANGELOG.md

Co-authored-by: Julien Robert <julien@rbrt.fr>

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-06 11:05:25 +00:00
Marko
306a9a7170
feat!: consensus module (#12905) 2022-10-05 18:06:24 +00:00
Facundo Medica
87e46b2f51
refactor: remove dead code in cacheMergeIterator Domain() (#13433) 2022-10-05 08:46:41 +02:00
Julien Robert
facac1c5f8
refactor: split ExportGenesis into two functions to maintain backwards compatibility (#13448)
* split ExportGenesis into two functions to maintain backwards compatibility (#339)

* fix tests

Co-authored-by: Nicolas Lara <nicolaslara@gmail.com>
2022-10-04 22:42:58 +00:00
Julien Robert
c3887986ff
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.46.1 to 0.46.2 (#13447) 2022-10-04 16:18:37 +02:00
Julien Robert
92394f2917
feat!: specify module to export (#13437) 2022-10-04 10:06:30 +00:00
emidev98
c2f0c0f785
feat: context on simulate error (#13435) 2022-10-03 22:36:56 +00:00
Julien Robert
a975f67b24
chore: add v0.46.2 in main changelog (#13442) 2022-10-03 22:13:36 +02:00
Leo Pang
529e953e04
fix: remove extra ; in service.proto 2022-10-03 18:38:11 +02:00
Emmanuel T Odeke
67a403311f
ci: .github/workflows: add staticmajor to catch leaking resources (#13392)
Brings in a static analyzer that catches leaking resources like
unclosed file handles, networking handles etc that can't easily
be caught except in very critical code reviews as well as a bunch
of other static analyzers that Orijtech Inc produces.
2022-10-03 06:02:47 +00:00
Julien Robert
80ce491734
refactor: move x/{moduleName}/test{ModuleName} to x/{moduleName}/testutil (#13427)
* refactor: move `x/{moduleName}/test{ModuleName}` to `x/{moduleName}/testutil`

* updates

* updates
2022-10-02 10:42:52 -04:00
Marko
c221d7f1de
chore: minor cleanup of types (#13430) 2022-10-02 15:03:03 +02:00
Robert Zaremba
87e0017776
Update UPGRADING.md (#13428) 2022-09-30 19:24:07 +02:00
Aleksandr Bezobchuk
eb32125f8e
chore: improve ABCI 1.0 godocs (#13425) 2022-09-30 10:30:15 +00:00
Ricardo M
e5dca07318
docs: fix spelling mistakes (#13421) 2022-09-30 11:33:46 +02:00
mmsqe
bed4ba3ac8
fix: add close for grpcOnly mode (#13418) 2022-09-29 11:33:28 -04:00
atheeshp
60ab6086d2
feat: x/bank deterministic tests (#13362)
* feat: `x/bank` deterministic tests

* fix tests

* add all balances regressions

* refactor

* `spendable coins` tests

* total supply regressions

* `SupplyOf` regressions

* params regressions

* add few more tests

* `denomOwners` tests

* refactor

* review changes
2022-09-29 09:24:37 +00:00
yihuang
a9f02d9cb7
fix: add gRPC nil/zero check in query (#13352) 2022-09-29 01:20:03 +00:00
atheeshp
3d0e214446
chore: change id to use uint64 in AccountAddressByID (#13411) 2022-09-28 12:42:53 -04:00
Julien Robert
9b48c68a1f
docs: improve changelog and upgrading.md sections (#13412)
* chore: improve changelog and upgrading.md sections

* updates
2022-09-28 09:05:53 -05:00
Julien Robert
91d66f30e1
refactor!: extract simulation helpers out of simapp (#13402) 2022-09-27 21:19:44 +02:00
Julien Robert
9bae8a817f
build(deps): bump go minimum version to go 1.19 (#13397) 2022-09-27 21:02:02 +02:00
Julien Robert
53519ea5b3
refactor: simplify hooks implementation (#13396) 2022-09-27 20:37:26 +02:00
mmsqe
dcb0c9c04c
fix: double close (#13400) 2022-09-27 18:16:13 +00:00
Julien Robert
684ee627d1
fix: attempt at fixing flaky e2e tests (#13401)
* fix: attempt at fixing flaky e2e tests

* `make format`

* add links
2022-09-27 13:39:04 -04:00
omahs
6f337b4d74
docs: fix typos (#13399) 2022-09-27 09:30:41 +00:00
adu-crypto
b60910535a
add notice for possible iavl fast node migration (#13390) 2022-09-26 23:26:35 +00:00
Sai Kumar
445a99f710
feat(cli): add --append flag to sign-batch cli cmd (#13147)
* feat(cli): add `multi-msg-sign`

* chore: update the changelog

* chore: fix the lint issue

* chore: address the pr comments

* chore: address the pr comments

* refactor: refactored `sign-batch` to generate single signed tx

* chore: updated the changelog

* fix: fix the lint

* test: fix the tests on auth

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-09-27 00:31:58 +02:00
dependabot[bot]
ace03e6dd5
build(deps): Bump amannn/action-semantic-pull-request (#13391) 2022-09-26 20:35:08 +02:00
Facundo Medica
35e5a3dc2d
chore: add cachekv tests (#13385) 2022-09-26 08:26:43 +00:00
Facundo Medica
ceef20ede1
docs: add iavl concurrent use warning (#13386) 2022-09-25 17:05:00 -05:00
Julien Robert
3de5aa8741
refactor!: remove deprecated sdk.NewLevelDB (#13380)
* refactor!: remove deprecated `sdk.NewLevelDB`

* updates
2022-09-25 10:16:31 +00:00
Julien Robert
55373cb614
feat: add uint IsNil method (#13381) 2022-09-25 09:19:50 +00:00
Emmanuel T Odeke
abdf61e292
fix: all: remove map iteration non-determinism with keys + sorting (#13377) 2022-09-24 16:20:54 +00:00
Julien Robert
b76f338511
refactor: move simapp.App to runtime.AppI (#13378)
* refactor: move `simapp.App` to `runtime.AppI`

* add changelog

* `go mod tidy`

* fix app legacy build
2022-09-24 11:49:11 +00:00
Jacob Gadikian
af816057f2
chore: run make format (#13375) 2022-09-24 00:22:03 +02:00
Jacob Gadikian
b10097fdcf
refactor: remove storev2alpha1 (#13371) 2022-09-23 21:53:58 +00:00
Zaki Manian
ddf1dd4915
docs: Liquid staking ADR (#13239)
* Initial commit of liquid staking adr

* Update adr in response to reviews:w

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: Sam Hart <sam@hxrts.com>

* Update adr-061-liquid-staking.md

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

* Update docs/architecture/adr-061-liquid-staking.md

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

Co-authored-by: Sam Hart <sam@hxrts.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
2022-09-23 19:35:37 +00:00
likhita-809
09b0f58932
feat: make helper function for adding accounts to genesis state (#13298) 2022-09-23 19:25:36 +00:00
Aleksandr Bezobchuk
b853d3fe8f
chore: store package specification (#13209)
* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-09-23 16:46:28 +00:00
Julien Robert
555d774c73
ci: further improve gh actions (#13361) 2022-09-23 11:33:38 -05:00
Julien Robert
df40c0a9d1
refactor!: remove broadcast mode block (#12659) 2022-09-23 15:16:31 +00:00
Jacob Gadikian
6cbb587e18
refactor: remove db (#13370)
* remove db

* Update CHANGELOG.md
2022-09-23 08:08:26 -05:00