Federico Kunze
7325692550
x/staking: skip HistoricalInfo in simulations ( #5949 )
...
* x/staking: import and export HistoricalInfo
* staking/types: add HistoricalInfo to GenesisState
* changelog
* add staking module to app BeginBlockers
* remove JSON files
* address comments from review
* add HistoricalInfoKey to skipped prefixes
* fix DiffKVStores
* rm JSON
2020-04-07 22:33:30 +00:00
Jonathan Gimeno
cc2a79ce12
x/staking: fix REST calls panic on some method call ( #5906 )
...
Improve message validation to prevent REST handlers
from panicking.
2020-04-02 15:23:45 +02: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
Alessio Treglia
5a2e59ebb2
Exclude proto files from format ( #5706 )
...
* Don't change proto files on make format
The format target does not need to depend on tools.
Thus remove dependency.
* Run make format
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-27 07:53:22 -03:00
Alexander Bezobchuk
238928ed50
Merge PR #5688 : Proto Option Updates
2020-02-21 11:31:16 +01:00
Jonathan Gimeno
434f539bff
Merge PR #5649 : Update x/params to follow module standards
2020-02-19 12:52:20 +01:00
Alexander Bezobchuk
a63de303b8
Merge PR #5665 : Bump Module ABCI Error Codes
2020-02-18 14:43:00 +01:00
Alexander Bezobchuk
794a496892
Merge PR #5533 : Protobuf: x/auth & x/supply
2020-02-18 13:50:13 +01:00
Alexander Bezobchuk
53bf2271d5
Merge PR #5600 : Migrate x/staking to Protobuf
2020-02-06 14:21:02 -05:00
Erik Grinaker
a7f25ade03
Merge PR #5613 : update to golangci-lint v1.23.3
...
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-02-05 11:32:45 -08:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572 : ADR 004 Implementation
2020-01-30 16:31:16 -05:00
Federico Kunze
ec35cf2d91
Merge PR #5584 : Staking additions for IBC
2020-01-29 08:35:49 -05:00
Alexander Bezobchuk
869531ca92
Merge PR #5495 : Replace Redundant Bech32 PubKey Functions
2020-01-09 09:04:28 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Aditya
fca4cbef88
Merge PR #5380 : ADR 17 Implementation: Historical Module
2019-12-18 08:20:02 -05:00
Alexander Bezobchuk
9f03b57fe3
Merge PR #5359 : Params Validation
2019-12-10 11:48:57 -05:00
Federico Kunze
e648f6c672
Merge PR #5356 : isPositive and minor linter changes
2019-12-06 13:18:00 -05:00
Federico Kunze
b9c40ea2b6
fix MsgEditValidator JSON tag ( #5342 )
...
* add json tag to MsgEditValidator; closes #5336
* changelog
* Apply suggestions from code review
Co-Authored-By: Alessio Treglia <alessio@tendermint.com>
* format
* changelog minor fix
2019-12-03 12:14:18 +01:00
Federico Kunze
8344c0aef8
update simulation operations to use BaseApp ( #4946 )
...
* update operations to use baseapp
* updates and cleanup operations
* update operations
* restructure sim ops params
* rename sim /operations/msg.go to /operations.go
* move GenTx to a helper pkg to avoid circle deps
* rm msg.ValidateBasic
* changelog
* random fees; delete auth's DeductFees sim operation
* add chain-id for sig verification
* Update x/simulation/account.go
Co-Authored-By: colin axner <colinaxner@berkeley.edu>
* fix bank, gov and distr errors
* fix staking and slashing errors; increase prob for send enabled
* increase gas x10
* make format
* fix some distr and staking edge cases
* fix all edge cases
* golang ci
* rename acc vars; default no fees to 0stake
* cleanup; check for exchange rate and skip invalid ops
* fixes
* check for max entries
* add pubkey to genaccounts
* fix gov bug
* update staking sim ops
* fix small redelegation error
* fix small self delegation on unjail
* rm inf loop on random val/accs
* copy array
* add ok boolean to RandomValidator return values
* format
* Update x/bank/simulation/operations.go
Co-Authored-By: colin axner <colinaxner@berkeley.edu>
* Update simapp/helpers/test_helpers.go
Co-Authored-By: colin axner <colinaxner@berkeley.edu>
* address @colin-axner comments
* add genaccount pubkey validation
* fix test
* update operations and move RandomFees to x/simulation
* update gov ops
* address @alexanderbez comments
* avoid modifications to config
* reorder params
* changelog
* Update x/distribution/simulation/genesis.go
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* remove named return values
* ensure all operations are simulated
* golangci
* add nolint
* disable whitespace and funlen linter
* disable godox
* add TODO on unjail
* update ops weights
* remove dup
* update godoc
* x/slashing/simulation/operations.go linting
* x/staking/simulation/operations.go linting
* update operations format
* x/bank/simulation/operations.go linting
* x/distribution/simulation/operations.go linting
* x/staking/simulation/operations.go linting
* start changes: make bank simulate send multiple coins, code cleanup
* fix nondeterminism bug
* fix txsiglimit err
* fix multisend bug
* simplify simulation, cleanup opt privkey args
* make slashing test invalid unjail msgs
* Update simapp/state.go
* golangCI changes
2019-10-23 11:14:45 +02:00
Xuefeng Zhu
3428291a61
Merge PR #5160 : Simply Dec and Int sign check
...
* Simply Dec and Int sign check
* address comment
2019-10-14 16:05:42 -04:00
Marko
9f3789157e
Merge PR #5192 : golangcI-lint updates & set static version to 1.19
2019-10-14 11:43:19 -04:00
Rahul Dwivedi
92ea174ea6
Merge PR #5168 : Add missing description field to MsgCreateValidator YAML output
2019-10-12 23:03:31 -04:00
Rahul Dwivedi
160033414c
Merge PR #5161 : FIX: implements yaml marshaller in msg.go
2019-10-09 14:46:08 -04:00
Alexander Bezobchuk
9d0bed8f4f
Merge PR #5102 : Make events const and alias them (if internal)
2019-09-25 09:17:02 -07:00
Marko
3a4f1fc4d4
Merge PR #4881 : Linting Galore
2019-08-19 12:06:27 -04:00
frog power 4000
771f8a04f3
Merge PR #4865 : Add security contact to Validator description
2019-08-12 09:10:16 -04:00
Riccardo Montagnin
f218de8141
Merge PR #4806 : Converted balance from sdk.Int to sdk.Coin inside DelegationResponse
2019-08-02 12:37:35 -04:00
colin axner
2e3c52bae1
Merge PR #4788 : Query genesis transactions
2019-08-01 14:56:50 -04:00
Federico Kunze
0fec74893d
Merge PR #4823 : fix DefaultUnbondingTime
2019-07-31 07:46:45 -07:00
Federico Kunze
fb3e0af0b6
Merge PR #4760 : update x/auth to match module spec
2019-07-29 08:27:01 -07:00
colin axner
243e87660b
Merge PR #4779 : Update staking/supply to use exported account interface
2019-07-24 15:54:46 -07:00
Alexander Bezobchuk
2b3d78599e
Merge PR #4772 : Add New Events Attributes
2019-07-24 15:50:34 -07:00
Alexander Bezobchuk
c71eaf77b4
Merge PR #4770 : Migrate Validators v0.36
2019-07-23 19:14:36 -04:00
Federico Kunze
e85a734a57
update x/genaccounts to match module spec ( #4759 )
2019-07-22 16:26:42 +01:00
Federico Kunze
a922dad346
Merge PR #4686 : v0.36 supply changes to genesis migration
2019-07-18 14:43:56 +02:00
Aayushi Jain
1a7f31f7c8
Merge PR #4678 : Clean YAML output
2019-07-05 19:25:56 -04:00
Federico Kunze
1bfac99c35
Merge PR #4675 : Export sim funcs pt2
2019-07-03 14:25:52 -04:00
Federico Kunze
352678438c
Merge PR #4255 : Supply Module
2019-06-28 16:11:27 -04:00
Alexander Bezobchuk
67f6b02118
Merge PR #4541 : Events Tracking / Tendermint v0.32.0 Update
...
* Update Tendermint to v0.32.0-dev0
* Initial refactor of tags
* Update event types and add unit tests
* Refactor context
* Update module manager
* Update result godoc
* Implement ToABCIEvents
* Update BaseApp
* Minor cleanup
* Fix typo
* Update x/bank message handler
* Update x/bank keeper
* Update x/bank
* Update x/bank events docs
* Update x/crisis module events
* Reset context with events on each message exec
* Update x/distribution events and docs
* Update BaseApp to not set empty events manually
* Implement simple event manager
* Update module manager
* Update modules to use event manager
* Update x/gov module to use events
* Update events docs
* Update gov queries and crisis app module
* Update bank keeper
* Add events to minting begin blocker
* Update modules to use types/events.go
* Cleanup x/mint
* Update x/staking events
* Update x/staking events
* Update events to have sender part of message.sender
* Fix build
* Fix module unit tests
* Add pending log entry
* Update deps
* Update x/crisis/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/bank/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/distribution/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Upgrade TM to v0.32.0-dev1
* Update events as strings
* Update Tendermint to v0.32.0-dev2
* Fix BaseApp unit tests
* Fix unit tests
* Bump tendermint version to v0.32.0
* typos
2019-06-26 18:03:25 +02:00
Marko
4ffabb65a5
lint add deadcode unused ( #4606 )
...
Added deadcode and unused linters to the repo, it
helped find some unused code.
Ref #4589
2019-06-21 17:18:01 +02:00
Alessio Treglia
55928ad165
Fix BaseAccount's YAML serialization ( #4577 )
2019-06-18 18:03:16 +02:00
Marko
a79749564e
Merge PR #4571 : Update .vuepress
2019-06-18 08:04:47 -04:00
frog power 4000
8c89023e9f
Merge PR #4524 : Staking ValidatorPowerRank to use "Potential Consensus Power"
2019-06-12 17:57:47 +02:00
frog power 4000
d1f17ff903
Merge PR #4520 : add some noalias's also fix alias directory in mint
2019-06-10 11:57:38 +02:00
Alessio Treglia
b4eb4a9e64
Merge PR #4511 : Fix YAML encoding of staking.Validator
...
* Fix YAML encoding of staking.Validator
Closes : #4508
* Address fede's comment
2019-06-08 14:00:36 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00
Federico Kunze
9c65e47329
Merge PR #4485 : rename expected pkg to exported
...
* rename expected pkg to exported
* rename pkg
2019-06-05 13:42:25 -04:00
Federico Kunze
d322e23425
Merge PR #4417 : cleanup staking references from types pkg
...
* cleanup staking references from types pkg
* check interface on runtime
* fixes
* rename validator set from slashing keeper
* final cleanup
* fix test
* fix querier
* fix tests
* rename interfaces
* update bond status
* fixes
* expected pkg
* ensure expected keepers match used funcs
* cha cha cha
2019-06-04 15:06:58 -07:00
colin axner
9c049321a1
Merge PR #4466 : Lazy commission validation
2019-06-03 17:14:21 -04:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00