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
likhita-809
8dd708d9cc
docs: guidelines for proto message's String() method ( #13364 )
2022-09-22 18:48:07 +00:00
dependabot[bot]
89aa914bed
build(deps): Bump actions/stale from 5 to 6 ( #13365 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 14:22:12 -04:00
Julien Robert
c297caa697
ci: improve github actions ( #13358 )
...
* ci: improve github actions
* updates
* revert title change
* updates
* implement feedback
* Update go.mod
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-09-22 00:57:19 +02:00
Julien Robert
7eb259fd86
feat: add draft-proposal for x/group ( #13353 )
...
* feat: add `draft-proposal` for x/group
* add changelog
* extract useful function
* add `GetMsgFromTypeURL` tests
2022-09-22 00:53:02 +02:00
dependabot[bot]
fc32ef1c9c
build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1 ( #13357 )
...
* build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1
Bumps [github.com/coinbase/rosetta-sdk-go](https://github.com/coinbase/rosetta-sdk-go ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/coinbase/rosetta-sdk-go/releases )
- [Commits](https://github.com/coinbase/rosetta-sdk-go/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/coinbase/rosetta-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1 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>
2022-09-21 15:32:33 -03:00
Marko
107ffee28e
chore: upstream error on empty version ( #13355 )
...
* upstream error on empty version
* fix tests
* revert change
2022-09-21 18:31:19 +02:00
Emmanuel T Odeke
a2118afc21
fix: x/gov/client/cli: update & tighten Prompt.Parse tests ( #13350 )
...
Adds more rigorous checks to ensure that the output
is as expected with range failures. While here also
added control tests to ensure that we can parse integers
within range of int.
Updates #13346
2022-09-21 05:59:11 +00:00
Emmanuel T Odeke
9c2aef342d
chore: all: use golang.org/x/exp/maps.(Keys, Values) where necessary ( #13349 )
...
Uses golang.org/x/exp/maps.(Keys, Values) to sort out flagged
potential non-determinism issues due to map iteration which is
randomized in maps.
These were flagged by cosmos/gosec in
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/724
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/725
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/726
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/727
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/728
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/729
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/782
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/813
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/814
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/816
which complained about potential non-determinism in
map iteration in which we only want appends in map iteration loops,
this change instead uses golang.org/x/exp/maps.Keys to retrieve
the keys then sort.Strings which simplifies the helper code.
This change fixes issues in:
* orm/model/ormdb: non-determinism in ExportJSON
* store/internal/proofs
* types/module
* x/auth/keeper
* x/bank
* x/genutil/client/cli
Fixes #13348
2022-09-21 02:08:13 +00:00
Emmanuel T Odeke
56a49aba46
fix: x/gov/client/cli: fix integer overflow in parsing int prompted values ( #13347 )
...
Reported by cosmos/gosec in https://github.com/cosmos/cosmos-sdk/security/code-scanning/5730 .
This change checks for errors from strconv.Atoi in which case we were
susceptible to out of range errors, this change also adds tests to
prevent regressions.
Fixes #13346
2022-09-21 01:26:50 +02:00
Julien Robert
79f277c111
fix: fix buf commit link ( #13345 )
2022-09-20 21:21:45 +02:00
pratikbin
14c0233ab8
ci: use native paths instead of get-diff-action ( #13342 )
...
* ci: use native paths instead of get-diff-action
* ci: add paths for pr
2022-09-20 16:06:19 +00:00