billy rennekamp
f572523357
Update CONTRIBUTING.md
2021-04-22 14:22:36 +02:00
Cuong Manh Le
e28271b8e6
types: make NewDecFromStr returns error for too large decimal ( #9157 )
...
Otherwise, NewDecFromStr may accept very large input, causing Dec
methods panic, e.g Dec.TruncateInt
Found by oss-fuzz: https://oss-fuzz.com/testcase-detail/6454129938530304
Fixes #9160
2021-04-22 11:21:27 +01:00
billy rennekamp
f99b7b1cbf
Proposal for expanding the ADR committee
...
Conversation in the gaia discord seems to merit an update to the ADR committee. I haven't spoken to any of the individuals to confirm their interest or availability but I'd like to use this as a more productive forum to push the conversation further. Especially looking for comment from those proposed (@marbar3778 @ebuchman @robert-zaremba @amaurym @zmanian @sunnya97 @fedekunze @odeke-em )
2021-04-22 11:05:52 +02:00
dependabot[bot]
1a15412b92
build(deps): bump github.com/prometheus/common from 0.20.0 to 0.21.0 ( #9167 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.20.0...v0.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 08:06:26 +00:00
Emmanuel T Odeke
417832fa9a
crypto/types: check for overflow and unreasonably large element count ( #9163 )
...
Ensure that we don't pass overflowed values into make, because
a clever attacker could see that to cause:
(bits+7)/8
to become negative, they just have to make (bits+7) become negative
simply by >=maxint-6
but also reject unreasonably large element count like >2**32, which
while arbitrary is super duper large for a bit array.
Fixes #9162
2021-04-21 20:09:41 -07:00
Sunny Aggarwal
bffcae54a1
Add hooks to governance actions ( #9133 )
...
* add governance hooks
* fix lint
* fix lint
* CHANGELOG
* sh -> gh
* improve comments
* add test
* add more tests
* rename two of the hooks
Co-authored-by: ahmedaly113 <ahmedaly113@outlook.com>
2021-04-21 12:59:30 -04:00
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
dependabot[bot]
045c45f550
build(deps): bump codecov/codecov-action from v1.4.0 to v1.4.1 ( #9154 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.4.0 to v1.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.4.0...967e2b38a85a62bd61be5529ada27ebc109948c2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 13:29:32 +00:00
dependabot[bot]
9fd866e382
build(deps): bump github.com/confio/ics23/go from 0.6.3 to 0.6.6 ( #9142 )
...
Bumps [github.com/confio/ics23/go](https://github.com/confio/ics23 ) from 0.6.3 to 0.6.6.
- [Release notes](https://github.com/confio/ics23/releases )
- [Commits](https://github.com/confio/ics23/compare/v0.6.3...go/v0.6.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 09:40:25 +00:00
Marko
b1cf4793d0
consistency in antehandler ( #9144 )
2021-04-20 09:21:37 +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
Cuong Manh Le
d3769b2fbc
internal/conv: fix wrong string to bytes implementation ( #9141 )
...
UnsafeStrToBytes is currently not safe for -d=checkptr=2, since when it
cast from smaller struct (string) to bigger struct ([]byte). That causes
checkptr complains as the casting straddle multiple heap objects.
To fix this, we have to get the string header first, then use its fields
to construct the slice.
New implementation performs the same speed with the old (wrong) one.
name old time/op new time/op delta
UnsafeStrToBytes-8 25.7ns ± 1% 25.7ns ± 3% ~ (p=0.931 n=10+17)
name old alloc/op new alloc/op delta
UnsafeStrToBytes-8 7.00B ± 0% 7.00B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
UnsafeStrToBytes-8 0.00 0.00 ~ (all equal)
While at it, also simplify UnsafeBytesToStr implementation, since when
we can pass the slice directly to unsafe.Pointer, instead of getting the
slice header first.
2021-04-19 14:51:05 +01:00
dependabot[bot]
1bb71f85ce
build(deps): bump codecov/codecov-action from v1.3.2 to v1.4.0 ( #9136 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.3.2 to v1.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.3.2...0e28ff86a50029a44d10df6ed4c308711925a6a8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 09:30:17 +00:00
Riccardo Montagnin
96fe999343
Set proper default command output ( #8628 )
...
* Set proper default command output
* Removed duplicated cmd.SetErr(cmd.ErrOrStderr()) and cmd.SetOut(cmd.OutOrStdout())
* Moved command initialization and added CHANGELOG
* fix: groom all uses of cmd.Print*
* Ran make format
Co-authored-by: Michael FIG <mfig@agoric.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-04-17 00:21:32 +00:00
Amaury
b4fc48ca71
Add comment on x/auth hacky migration script ( #9132 )
...
* Add comment on x/auth hacky migration script
* QueryServer -> QueryRouter
2021-04-16 18:00:08 -04:00
Dev Ojha
82dc0081fd
Minor docs update to sdk.Int ( #9126 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-04-16 08:43:49 +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
Cyrus Goh
0bcd7c6862
ci: check docs build ( #9125 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-04-16 07:46:05 +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
bc4c3be15c
add docs for gas consumption ( #9118 )
...
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-15 09:09:01 +00:00
Cuong Manh Le
ef69863f46
x/bank/types: fix AddressFromBalancesStore address length overflow ( #9112 )
...
addrLen is encoded in a byte, so it's an uint8. The code in
AddressFromBalancesStore cast it to int for bound checking, but wrongly uses "addrLen+1", which can be overflow.
To fix this, just cast addrLen once and use it in all places.
Found by fuzzing added in #9060 .
Fixes #9111
2021-04-15 00:13:55 -07:00
dependabot[bot]
a4a6e05bab
build(deps): bump github.com/tendermint/tendermint ( #9119 )
...
Bumps [github.com/tendermint/tendermint](https://github.com/tendermint/tendermint ) from 0.34.9 to 0.34.10.
- [Release notes](https://github.com/tendermint/tendermint/releases )
- [Changelog](https://github.com/tendermint/tendermint/blob/v0.34.10/CHANGELOG.md )
- [Commits](https://github.com/tendermint/tendermint/compare/v0.34.9...v0.34.10 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 02:07:35 -04: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
dependabot[bot]
b100f0a3a5
build(deps): bump actions/cache from v2.1.4 to v2.1.5 ( #9101 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-14 07:23:37 +00:00
technicallyty
3ebf06ce0d
module/types code hygiene - utilize map access 2nd return value ( #9098 )
...
* update docs/code to utilize map access return values
* remove mock module in fromVM to simulate truly non-existent module
* update test docs to refelect change
Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-13 19:00:04 +00:00
Andrei Ivasko
a465ae182c
Add env variable to cmd flags ( #9040 )
...
* first draft
* add tests in config_test package
* refactored, all tests pass, r4r
* ready for review
* add envPrefix
* Update simapp/simd/cmd/root.go
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* fix linter issues
* minor fixes
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-13 17:32:08 +00:00
Hanjun Kim
cf7b03efcd
add AddAmount/SubAmount methods to sdk.Coin ( #9091 )
...
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-13 15:01:21 +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
Shahan Khatchadourian
ea7947c3d2
Adding disclosure process to security.md ( #9086 )
...
* Adding disclosure process to security.md
* Apply suggestions from code review
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
2021-04-13 07:21:51 +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
dependabot[bot]
81583624b3
build(deps): bump styfle/cancel-workflow-action from 0.8.0 to 0.9.0 ( #9096 )
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.8.0...89f242ee29e10c53a841bfe71cc0ce7b2f065abc )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-12 09:25:07 +00:00
Marko
8ac983fb28
remove unneeded exported files ( #9097 )
...
Co-authored-by: Marko Baricevic <markobaricevic@Fergalicious.fritz.box>
2021-04-12 08:17:02 +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
a4c7fd7002
Merge pull request #8505 from sikkatech/powerreduction_param
...
Turn staking power reduction into an on-chain param
2021-04-10 19:50:18 -04:00
Sunny Aggarwal
4b778abf91
merged master
2021-04-10 19:23:58 -04:00
Sunny Aggarwal
10b2b08ece
Merge branch 'master' into powerreduction_param
2021-04-10 16:26:50 -04:00
Leo Pang
04ab271e9a
cosmovisor: move binrary to UpgradeBin from directory ( fix #8494 ) ( #8497 )
2021-04-10 16:20:33 +00:00
Sunny Aggarwal
cd8186e8e4
fix rosetta-test
2021-04-09 13:32:14 -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
dependabot[bot]
bb7b2a62cf
build(deps): bump github.com/otiai10/copy from 1.5.0 to 1.5.1 ( #9077 )
...
* build(deps): bump github.com/otiai10/copy from 1.5.0 to 1.5.1
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/otiai10/copy/releases )
- [Commits](https://github.com/otiai10/copy/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
2021-04-09 14:09:25 +00:00
MD Aleem
8a376a41c9
x/authz charge gas for expensive authorizations ( #8995 )
...
* WIP
* Add consume gas
* update authz.go
* add build flag
* Update x/staking/types/authz.go
* Update x/staking/types/authz.go
* add tests docs
* review changes
* fix operations
* Update x/authz/types/msgs.go
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
* review changes
* update gas cost
* review changes
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-04-09 12:33:27 +00:00
Cory
338e9a4277
update changelog with v0.42.3 & v0.42.4 stanzas ( #9084 )
2021-04-08 22:57:27 +01:00
Alessio Treglia
6e26ee9805
bump tendermint core ( #9081 )
2021-04-08 20:22:00 +01:00
Gianguido Sora
93965e0bcc
Write back account changes after tracking delegation/undelegation for vesting accounts ( #8865 )
...
Delegations and undelegations calculations performed during
accounting operations for vesting accounts were correct but
were not written back to the account store.
closes : #8601
closes : #8812
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Frojdi Dymylja <frojdi.dymylja@gmail.com>
Co-authored-by: Adam Bozanich <adam.boz@gmail.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-04-08 16:20:29 +01:00
Sunny Aggarwal
8cf5fe0b9b
add nolint to pb.go files
2021-04-07 20:07:52 -04:00
Sunny Aggarwal
04e483dd69
fixed migrations
2021-04-07 19:56:39 -04:00
Sunny Aggarwal
61b608f4bc
Merge branch 'master' into powerreduction_param
2021-04-07 13:59:49 -04:00
Sunny Aggarwal
aee3ca8c20
fix merge conflict
2021-04-07 13:59:42 -04:00
Cuong Manh Le
3a5550a938
x/bank/types: fix AddressFromBalancesStore panics with invalid keys ( #9061 )
...
Currently, AddressFromBalancesStore uses the input key without any
validation, so an empty key or an invalid key length cause it panics.
This commit fixes the problem, by returning an error in case of invalid
key was passed.
Found by fuzzing added in #9060 .
Fixed #9062
2021-04-07 16:20:38 +00:00