psaradev
|
cb17feddc0
|
use on-chain params on tests + fix tests + add new tests for power reduction change
|
2021-01-28 23:54:39 +10:00 |
psaradev
|
4f476d6890
|
on-chain power reduction param conversion basic work
|
2021-01-27 20:24:00 +10:00 |
antstalepresh
|
be1012c8d1
|
remove cast to int64 for amount multiplied by PowerReduction
|
2020-11-07 00:57:07 +10:00 |
Robert Zaremba
|
6bc8ff2dfe
|
Use any as validator pubkey (#7597)
* protobuf pubkey type update
* wip2
* wip3
* solving types.NewValidator issues
* remove bech32 from validator type assignment
* update Validator interface
* Changelog update
* wip4
* update genutil
* fix simapp & x/ibc/testing tests
* update staking
* changelog update
* fix import cycle in tests
* fix amino panic on TestValidatorMarshalUnmarshalJSON
* fix TestValidatorMarshalUnmarshalJSON consensus_pubkey check
* Add UnpackInterfaces to HistoricalInfo
* fix TestHistoricalInfo
* update todos
* fix: Expecting ed25519.PubKey to implement proto.Message
* fix linter issues
* Fix migrate test
* Update CHANGELOG.md
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* review comments
* cosmetic changes
* add UnpackInterfaces got GenesisRandomized test
* Validator.Equal reuses Validator.MinEqual
* fix test
* use Validator.Equal in tests
* Fix staking simulation TestRandomizedGenState
* Remove TODO
* use HistoricalInfo.Equal
* use proto.Equal
* rename Validator.GetConsPubKey to TmConsPubKey
* prefer require.Equal over reflect.DeepEqual
* SetHistoricalInfo using a pointer
* Fix TestQueryDelegation test
* Fix TestQueryValidators test
* Fix TestSimulateMsgUnjail test
* experiement with LegacyAmino instances
* Register codecs in all simapp tests
* Fix cli_test compilation problems
* fix typo sdk -> std
* fix typo
* fix TestPlanStringer
* Rename to MakeEncodingConfig
* Remove RegisterCodecsTests
* Use gRPC in GetCmdQueryValidators
* Empty status
* fix info log check
* linter fixes
* rename simapparams to simappparams
* Update simapp/test_helpers.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* comments updates
* use valAddr1 instead of sdk.ValAddress(pk1.Address().Bytes())
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
|
2020-10-23 12:07:52 +00:00 |
Amaury Martiny
|
33e7297c79
|
Use enum instead of int32 for BondStatus (#7499)
* Migrate staking module
* Add gov legacy
* Add comments
* Add x/distrib
* x/crisis
* x/mint
* Fix test
* migrate x/genutil
* Fix lint
* Fix staking constants
* Fix test
* Update x/genutil/legacy/v040/migrate.go
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
* Add migrate script instead of change BondStatus constants
* Change staking bondStatus to enum
* Fix test
* Fix another test
* Remove staking exported
* fix references
* Better constants
* Fix build
* Fix lint
* Remove buf version
* Fix tests
* Fix test
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
|
2020-10-12 13:56:02 +00:00 |
Anil Kumar Kammari
|
d55c1a2665
|
Change `address` from bytes to bech32 strings (#7242)
* init
* Fix bank proto messages
* missing conversions
* remove casttype for addresses
* Fix tests
* Fix consaddress
* more test fixes
* Fix tests
* fixed tests
* migrate missing proto declarations
* format
* Fix format
* Fix alignment
* Fix more tests
* Fix ibc merge issue
* Fix fmt
* Fix more tests
* Fix missing address declarations
* Fix staking tests
* Fix more tests
* Fix config
* fixed tests
* Fix more tests
* Update staking grpc tests
* Fix merge issue
* fixed failing tests in x/distr
* fixed sim tests
* fixed failing tests
* Fix bugs
* Add logs
* fixed slashing issue
* Fix staking grpc tests
* Fix all bank tests :)
* Fix tests in distribution
* Fix more tests in distr
* Fix slashing tests
* Fix statking tests
* Fix evidence tests
* Fix gov tests
* Fix bug in create vesting account
* Fix test
* remove fmt
* fixed gov tests
* fixed x/ibc tests
* fixed x/ibc-transfer tests
* fixed staking tests
* fixed staking tests
* fixed test
* fixed distribution issue
* fix pagination test
* fmt
* lint
* fix build
* fix format
* revert tally tests
* revert tally tests
* lint
* Fix sim test
* revert
* revert
* fixed tally issue
* fix tests
* revert
* fmt
* refactor
* remove `GetAddress()`
* remove fmt
* revert fmt.Striger usage
* Fix tests
* Fix rest test
* disable interfacer lint check
* make proto-format
* add nolint rule
* remove stray println
Co-authored-by: aleem1314 <aleem.md789@gmail.com>
Co-authored-by: atheesh <atheesh@vitwit.com>
|
2020-09-25 10:25:37 +00:00 |
Marko
|
8de96d16f9
|
tendermint: update to rc3 (#6892)
* modify light imports
* change abci.header to tmproto.header
* use rc
* rc
* fix import
* Merge PR #6893: fix key imports
* fix rc2
* tendermint: update 3 (#6899)
* tendermint: update 4 (#6919)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* tendermint: update 5 (#6923)
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* bump to latest master
* tendermint: update (#6972)
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
* Update x/ibc/07-tendermint/types/test_utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address comment
* go mod
* bring back things
* fix test
* update tm proto files
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
|
2020-08-14 13:58:53 -04:00 |
dauTT
|
24b9be0ef8
|
x/bank: remove alias.go usage (#6439)
* x/bank: remove alias.go usage
* Fix simd_test.go
|
2020-06-14 23:06:16 +00:00 |
Alexander Bezobchuk
|
fea231556a
|
Move ModuleAccount to x/auth (#6029)
* Move ModuleAccount to x/auth
* Update x/auth module
* Update x/staking
* Update x/mint
* Update x/gov
* Update x/distribution
* Update simapp
* Update x/bank
* Update std codec
* Add changelog entries
* Update CHANGELOG.md
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
|
2020-04-20 19:32:10 +00:00 |
Alexander Bezobchuk
|
1083fa948e
|
Merge PR #6010: Merge x/supply into x/bank
|
2020-04-20 11:22:12 -04:00 |
Alessio Treglia
|
1d0967c32a
|
run go mod tidy && make format (#5847)
|
2020-03-20 17:14:14 +00:00 |
Jonathan Gimeno
|
1d18f8839c
|
remove create test public keys
|
2020-02-26 15:57:41 +01:00 |
Jonathan Gimeno
|
66abd1f19f
|
refactor first test validation to simapp
|
2020-02-25 11:43:51 +01:00 |
Jonathan Gimeno
|
0cddd4fff6
|
end refactoring slash_test
|
2020-02-25 10:32:53 +01:00 |
Jonathan Gimeno
|
15eaa129ee
|
refactor TestSlashWithRedelegation
|
2020-02-25 10:24:58 +01:00 |
Jonathan Gimeno
|
a6767d31fe
|
migrated two tests from slash_test to use simapp
|
2020-02-25 10:13:13 +01:00 |
Jonathan Gimeno
|
b36cdac3e3
|
test TestSlashAtNegativeHeight migrated to simapp
|
2020-02-24 19:01:55 +01:00 |
Jonathan Gimeno
|
7ee50eacf2
|
refactor TestSlashAtFutureHeight test
|
2020-02-24 18:43:51 +01:00 |
Jonathan Gimeno
|
3ea53f5682
|
refactor TestSlashRedelegation to use simapp
|
2020-02-24 18:41:01 +01:00 |
Jonathan Gimeno
|
a34575a8bb
|
fix TestSlashUnbondingDelegation test to use simapp
|
2020-02-24 18:30:30 +01:00 |
Jonathan Gimeno
|
fe1012dc29
|
migrate revocation of old slash test
|
2020-02-24 17:34:22 +01:00 |
Alexander Bezobchuk
|
6890feb3d2
|
Merge PR #5572: ADR 004 Implementation
|
2020-01-30 16:31:16 -05:00 |
Ferenc Fabian
|
066dd1114f
|
Merge PR #5449: Add New constructor for the DecCoin
|
2020-01-03 15:44:53 -05:00 |
Federico Kunze
|
352678438c
|
Merge PR #4255: Supply Module
|
2019-06-28 16:11:27 -04:00 |
frog power 4000
|
8c89023e9f
|
Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power"
|
2019-06-12 17:57:47 +02:00 |
Frank Yang
|
bc8d2d4414
|
R4R: Rename validator.GetJailed() to validator.IsJailed() #3245 (#4017)
Closes: #3245
|
2019-04-02 15:43:22 +02:00 |
Alexander Bezobchuk
|
b9be1166f7
|
Merge PR #3673: Message & Codec Registration Consistency
|
2019-02-25 16:16:52 +01:00 |
frog power 4000
|
ab9de3a7f1
|
Merge PR #3680: Convenience ToDec()
* NewDecFromInt -> ToDec
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* test typo
* typo
|
2019-02-21 03:05:31 -05:00 |
frog power 4000
|
d66db6a772
|
Merge PR #3621: module inter-dependency cleanup
|
2019-02-13 15:01:50 -08:00 |
Christopher Goes
|
6ee9c97a5e
|
Merge PR #3561: Don't store denominations in staking
|
2019-02-08 13:28:53 -08:00 |
Christopher Goes
|
38068a59ea
|
Merge PR #3507: Results from x/staking & x/slashing peer review
|
2019-02-07 17:41:23 -08:00 |
frog power 4000
|
52f2ec71a9
|
Merge PR #3400: power reduction for Tendermint
* add uncompiled power functionality
* fix some compile errors
* Power -> TendermintPower
* tests rename GetTendermintPower
* test fix
* working
* fix delegation tests
* fix slash tests
* staking/keeper tests passing
* docs reversion
* debuggin workin
* x/staking test pass
* fix gov tests
* fix x/slashing tests
* working distribution test fixes
* fix distribution tests
* lint
* fix lcd tests
* fix gov test
* lint
* CLI fixes, rm stakingTypes
* typos
* working cli fixes
* cli test fix
* cli tests fixed
* testnet creation modification
* typo
* pending
* Sanitize Dec.Roundint64 (#3475)
* merge fixes
* @cwgoes comments
* fix tests
* change power reduction to 10^-6
* option to turn off minting for LCD tests
|
2019-02-05 21:30:48 -08:00 |
frog power 4000
|
7f789d2ed3
|
Merge PR #3281: Staking Spec Upgrade
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
* pending
* working
* minor refactors
* entry structs defined
* uncompiled mechanism written
* add many compile fixes
* code compiles
* fix test compile errors
* test cover passes
* ...
* multiple entries fix
* ...
* more design fix
* working
* fix test cover bug
* Update PENDING.md
* update comment around queue completion for redelegations/ubds
* basic spec updates
* spec folder cleanup
* cleanup docs folder cont.
* ...
* find-replace and folder rename
* supplimentary find/replace
* pending
* supplimentary
* pending
* few undos, stakingd -> staked
* to staking -> to stake
* undos
* most staking -> most stake
* ...
* undos
* simplestake->simplestaking
* ...
* pending update
* capital letter replacements
* ...
* working
* staking doc updates from rigel/delegation-index branch
* spec-spec
* spec-spec
* LooseTokens -> NotBondedTokens
* staking state.md updates
* updates to hook and endblock spec
* Update docs/gaia/gaiacli.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* comment undo
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* further updates to endblock and state
* msg json update
* working transaction updates
* working
* complete transaction rewrite
* PENDING.md
* typo
* add todo
* address @jackzampolin @cwgoes comments
* couple leftover comments, rename
* Update x/staking/types/pool.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* cwgoes additions
* cwgoes suggestions x2
|
2019-01-21 19:52:03 -05:00 |
frog power 4000
|
133934ae37
|
Merge PR #3243: allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
* pending
* working
* minor refactors
* entry structs defined
* uncompiled mechanism written
* add many compile fixes
* code compiles
* fix test compile errors
* test cover passes
* ...
* multiple entries fix
* ...
* more design fix
* working
* fix test cover bug
* Update PENDING.md
* update comment around queue completion for redelegations/ubds
* basic spec updates
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* Update x/staking/keeper/slash.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* address @alexanderbez comments
|
2019-01-16 05:35:18 -05:00 |
frog power 4000
|
78a21353da
|
Rename stake/ to staking/ (#3280)
|
2019-01-11 12:08:01 -08:00 |