Christopher Goes
dd8b574668
Merge PR #2232 : Paramstore Refactor Base
2018-10-13 18:11:30 +02:00
Federico Kunze
b1109180ca
add header
2018-10-12 19:12:57 -07:00
Federico Kunze
f8486aeca5
Add deposits endpoint and tests
2018-10-12 19:05:22 -07:00
Christopher Goes
1ff2e865a8
Back to greater than
2018-10-12 21:15:39 +02:00
Christopher Goes
bdfb10f551
Clarify testcase
2018-10-12 21:10:55 +02:00
Christopher Goes
a83535aef3
Greater than to greater than or equal to
2018-10-12 21:09:23 +02:00
rigelrozanski
06fa518e30
address @cwgoes comments, add in precommit calculation
2018-10-12 07:15:13 -04:00
rigelrozanski
dba20d1725
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-12 06:06:24 -04:00
rigelrozanski
7b1f4a87ea
finished off validator tests
2018-10-12 06:06:01 -04:00
rigelrozanski
94731a502a
some validator dist tests
2018-10-12 05:51:00 -04:00
rigelrozanski
a60b91b7b2
bugfix form TestWithdrawDelegationRewardTwoDelegatorsUneven
2018-10-12 05:37:30 -04:00
rigelrozanski
f3c0496c99
TestWithdrawDelegationRewardsAll
2018-10-12 04:11:09 -04:00
Christopher Goes
8c2c9dba8a
Update block height on validator bonding
2018-10-12 00:15:58 +02:00
Christopher Goes
5fd7297e25
Count missed blocks instead of signed blocks
2018-10-12 00:04:44 +02:00
Christopher Goes
f6e92df3fa
Create signing info struct on validator bond hook
2018-10-11 22:48:00 +02:00
mossid
42c7a09075
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-12 00:09:07 +09:00
Christopher Goes
dbd4f30b39
Merge branch 'develop' into dev/lock_tools
2018-10-11 08:48:15 +02:00
rigelrozanski
8cb6d106d1
TestWithdrawDelegationRewardWithCommission
2018-10-11 02:26:54 -04:00
rigelrozanski
8e378e2b2d
got basic delegation tests working
2018-10-11 02:14:06 -04:00
rigelrozanski
f4f39ae03f
allocation tests
2018-10-10 23:16:49 -04:00
rigelrozanski
900a5f47f6
keeper_test
2018-10-10 22:53:25 -04:00
Alessio Treglia
0f4a03b44e
Alessio/server refactor ( #2472 )
...
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* WIP simplifying server module
* Expose ExternalIP()
* Move {GenTx,Init}Cmd into gaia's new init package
2018-10-10 15:45:41 -07:00
rigelrozanski
3b5e57be08
ctx with proposer, working through allocation test
2018-10-10 17:43:47 -04:00
mossid
5c92a546c6
rename store subspace, add WithTypeTable
2018-10-11 05:01:30 +09:00
mossid
03975407ba
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-10 21:20:59 +09:00
ValarDragon
9e334afad0
Lock binary dependencies to a specific commits / versions
...
This is basically copying over @anton's great script!
Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
2018-10-09 23:52:36 -07:00
rigelrozanski
22de85651f
fix distr initialization
2018-10-09 21:59:07 -04:00
rigelrozanski
52316d9ef6
fix initialization of the test
2018-10-09 21:43:23 -04:00
rigelrozanski
ace19d9264
Merge branch 'rigel/fee-distribution' of https://github.com/cosmos/cosmos-sdk into rigel/fee-distribution
2018-10-09 20:37:47 -04:00
rigelrozanski
151a81eddb
staking changes test_cover fixes
2018-10-09 20:37:22 -04:00
rigelrozanski
fc9bafb8d3
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-09 20:19:22 -04:00
Christopher Goes
6d4975e2c2
R4R: Fix simulation proposer ( #2460 )
...
* Correctly set proposer in randomized simulation
* Return nil if no validators are present
2018-10-09 19:14:46 -04:00
rigelrozanski
c9730329bf
...
2018-10-09 13:58:59 -04:00
rigelrozanski
46fe52bbac
create test initialization for distr
2018-10-09 11:27:26 -04:00
Christopher Goes
9c53f5aadf
Merge branch 'develop' into cwgoes/nextvalset
2018-10-09 06:33:19 +02:00
HaoyangLiu
1aebe103ba
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into bianjie/lcd-lite-swagger-ui
2018-10-09 09:21:45 +08:00
rigelrozanski
600532575b
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-08 20:15:17 -04:00
rigelrozanski
142f42ecc7
...
2018-10-08 20:14:03 -04:00
Christopher Goes
4814ae4df5
Merge branch 'develop' into cwgoes/nextvalset
2018-10-08 06:44:29 +02:00
Sunny Aggarwal
cd21427a7b
Merge PR #2405 : Unbonding and Redelegations Queue
2018-10-08 06:43:47 +02:00
Dev Ojha
d661ccb30e
Merge PR #2450 : Add ValidateGenesis to staking, add more tests
2018-10-08 06:12:37 +02:00
Jae Kwon
a1bc7185a4
s/bonding/unbonding/ in a comment
2018-10-07 18:48:08 -07:00
mossid
9fc7e80d48
finalize rebase
2018-10-07 01:16:11 +09:00
mossid
4bf14c5650
apply request finalize, fix lint
2018-10-07 01:12:01 +09:00
mossid
7a68b376bd
apply requests in progress
2018-10-07 01:12:01 +09:00
mossid
7d49675600
apply requests in progress
2018-10-07 01:12:01 +09:00
mossid
e7de48e375
address comments
2018-10-07 01:12:01 +09:00
mossid
a43a97bf10
address comments
2018-10-07 01:12:00 +09:00
mossid
2b3630eb6b
finalize rebase
2018-10-07 01:12:00 +09:00
mossid
a766e0f2d9
address comments
2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
67ac8c55b9
More minor cleanup
2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
2aad1bd1b0
Minor doc and formatting updates
2018-10-07 01:12:00 +09:00
Aleksandr Bezobchuk
c3d94266a1
Fix gov keeper unit tests
2018-10-07 01:12:00 +09:00
mossid
c8746eccea
fix lint
2018-10-07 01:12:00 +09:00
mossid
cc75924182
last rereview
2018-10-07 01:12:00 +09:00
mossid
d6105c5855
SetFromParamStruct -> SetStruct
2018-10-07 01:12:00 +09:00
mossid
9a35b7e949
space -> store, add doc
2018-10-07 01:12:00 +09:00
mossid
73b34353bf
fix lint
2018-10-07 01:12:00 +09:00
mossid
39b5b388f1
finalize rebase
2018-10-07 01:12:00 +09:00
mossid
fd8713ef9c
rm key & doc.go in progress
2018-10-07 01:12:00 +09:00
mossid
78a89df393
fix lint
2018-10-07 01:12:00 +09:00
mossid
74bf6c6bb6
string -> []byte in keeper_test.go
2018-10-07 01:12:00 +09:00
mossid
6d80faface
string -> []byte
2018-10-07 01:12:00 +09:00
mossid
f33e856950
fix lint
2018-10-07 01:12:00 +09:00
mossid
37ce8d51c6
apply requests
2018-10-07 01:12:00 +09:00
mossid
bd6ee42c5a
finalize rebase
2018-10-07 01:12:00 +09:00
mossid
61bc1a98c4
Key.s string -> []byte
2018-10-07 01:12:00 +09:00
mossid
cc0e2c9523
paramstore refactor base
...
rm debug code
fix lint
fix hack.go
2018-10-07 01:11:59 +09:00
rigelrozanski
e304b9c600
debugging simulation
2018-10-05 20:32:06 -04:00
Christopher Goes
1ed338fc5f
Fixup comments
2018-10-05 20:00:01 +02:00
Christopher Goes
317be2bc16
Clarify ValidatorUpdateDelay
2018-10-05 19:56:17 +02:00
Christopher Goes
b625cf85a1
Cleanup testcase
2018-10-05 19:45:45 +02:00
Christopher Goes
482537e6c1
Merge PR #2430 : Aggressive slashing simulation & fixes
2018-10-05 19:42:52 +02:00
rigelrozanski
83c2781c1c
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-05 13:23:01 -04:00
Christopher Goes
034163c021
Minor fixes
2018-10-05 14:58:19 +02:00
Christopher Goes
1909d8f269
Update slashing period key appropriately
2018-10-05 14:24:02 +02:00
Christopher Goes
1f12f204ce
Testcase fixes, 'make format', negative pre-genesis block
2018-10-05 14:11:36 +02:00
Christopher Goes
91b755d220
Add testcase for failing to sign "extra block"
2018-10-05 13:52:30 +02:00
Christopher Goes
018aaeb443
Add testcase for slash at negative height
2018-10-05 13:40:00 +02:00
Christopher Goes
a2113b24dc
Address TODOs in slashing tests
2018-10-05 13:31:26 +02:00
Christopher Goes
8befc3c41f
Merge branch 'develop' into cwgoes/nextvalset
2018-10-05 13:07:45 +02:00
Dev Ojha
c4b243142d
Merge PR #2438 : Add tests for more staking key operations as requested
2018-10-05 12:42:52 +02:00
Rigel
9c9113fa3b
Merge PR #2437 : Distr-PR-4 Distribution Types
2018-10-05 12:41:38 +02:00
rigelrozanski
81d0f5f4a7
add wanted final test case functions
2018-10-04 21:37:40 -04:00
rigelrozanski
17dc812749
fix distribution endblocker issues
2018-10-04 20:20:43 -04:00
rigelrozanski
20a51e587c
fix compile errors
2018-10-04 18:37:46 -04:00
rigelrozanski
45f0dd0e3b
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-04 18:33:12 -04:00
rigelrozanski
eb01cb4a35
checkout distr types PR updates
2018-10-04 18:29:03 -04:00
Christopher Goes
48672c4c0b
More comments, update sim for NextValSet
2018-10-04 18:22:51 +02:00
Christopher Goes
8f4d3a6cd7
Merge branch 'develop' into cwgoes/nextvalset
2018-10-04 18:11:14 +02:00
Alexander Bezobchuk
2e040dd971
Merge PR #2442 : Support removal of accounts in account mapper
2018-10-04 16:20:31 +02:00
HaoyangLiu
8e1bfee6ca
Add swagger-ui for key management
2018-10-04 20:36:24 +08:00
HaoyangLiu
9f67e8af20
Merge PR #2215 : Add swagger-ui for gaiacli lite-server
2018-10-04 13:00:24 +02:00
rigelrozanski
3a9102e2af
fix
2018-10-04 03:34:10 -04:00
rigelrozanski
4d4de3aa09
delegator_dist_info tests
2018-10-04 03:26:02 -04:00
rigelrozanski
1e74da1abe
validator_info tests
2018-10-04 03:00:24 -04:00
Dev Ojha
b4e8fe5e94
Merge PR #2435 : Staking store keys bug fix + memory improvement
...
Improve memory efficiency of getting store keys
This is done by removing repeated appends, which will create a new
slice if theres insufficient capacity, and instead creating a key
of the correct size, and then copying the data into it.
2018-10-04 08:42:03 +02:00
Rigel
324bdaf55d
Merge PR #2394 : Split up UpdateValidator into distinct state transitions applied only in EndBlock
2018-10-03 18:37:06 +02:00
Christopher Goes
4fee7913b5
Fix issue from earlier merge
2018-10-03 17:59:01 +02:00
Christopher Goes
26d43ff94a
Merge branch 'develop' into cwgoes/nextvalset
2018-10-03 17:58:14 +02:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00
Christopher Goes
08fcd9967d
Merge branch 'cwgoes/update-tendermint-upstream' into cwgoes/nextvalset
2018-10-02 14:05:35 +02:00
Dev Ojha
9410b6287c
Merge PR #2425 : simulation: Make bank testing auth configurable
2018-10-02 14:01:18 +02:00
Christopher Goes
3ed2c22a38
Merge branch 'develop' into cwgoes/update-tendermint-upstream
2018-10-01 18:53:42 +02:00
Jae Kwon
1e26ba2e0e
CLIContext.Logger -> .Output as it isn't a logger ( #2420 )
...
This changes .Logger to .Output, as it isn't used anywhere except as os.Stdout.
2018-09-28 21:45:54 -07:00
rigelrozanski
dcf0ddaa03
...
2018-09-28 20:55:22 -04:00
rigelrozanski
16f5d69329
types fee pool test
2018-09-28 19:32:42 -04:00
rigelrozanski
064f8b0b58
dec coin tests
2018-09-28 19:23:01 -04:00
rigelrozanski
e223eadb36
types msg tests
2018-09-28 19:04:04 -04:00
rigelrozanski
7ab02aed76
lcd tests to include proposer
2018-09-28 04:02:07 -04:00
rigelrozanski
60a3541380
major debugs
2018-09-28 03:29:52 -04:00
rigelrozanski
956566d5d1
proser
2018-09-27 23:04:37 -04:00
rigelrozanski
436d2a0178
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-27 22:48:16 -04:00
rigelrozanski
0436f50c00
...
2018-09-27 19:54:41 -04:00
Christopher Goes
f7cb351dd1
Merge PR #2162 : Add loose/bonded token supply invariants back to simulation
2018-09-27 15:52:30 +02:00
Christopher Goes
ecc06f4aff
Merge branch 'develop' into cwgoes/update-tendermint-upstream
2018-09-27 00:26:36 +02:00
Dev Ojha
7d5bc459fa
Merge PR #2413 : Remove reflection from handlers
2018-09-27 05:04:06 +08:00
Dev Ojha
cb86efa054
Merge PR #2376 : auth: Don't recalculate mempool fees for every msg signer, misc. cleanup
...
This PR begins improving the godocs for the auth module, and begins cleaning
up the Ante handler.
Additionally we previously calculated if the fee was sufficient for the tx
on every single signer. This is now refactored to be more efficient, and have
a better logical flow. No changelog entry as this is new to this release.
2018-09-27 02:34:01 +08:00
Christopher Goes
da96e93727
'make format'
2018-09-26 18:23:14 +02:00
Christopher Goes
e931195831
Remove unnecessary changes
2018-09-26 18:06:52 +02:00
Christopher Goes
e7c2a9614f
Merge branch 'develop' into cwgoes/update-tendermint-upstream
2018-09-26 17:42:22 +02:00
Alessio Treglia
a2caefc8ae
Merge PR #2390 : CLI subcommands reorganization
2018-09-26 22:00:49 +08:00
Dev Ojha
e6a8b2278e
Merge PR #2377 : auth: Move stdsignmsg to txbuilder, add tests
2018-09-26 21:39:05 +08:00
Alexander Bezobchuk
91cac96fea
Merge PR #2391 : LCD Cleanup and DRY Refactor
2018-09-26 21:29:39 +08:00
Dev Ojha
e11c52e873
Merge PR #2408 : decimal: Add a method to multiply a decimal by an Int
...
This is for usage within the slash function, to minimize operations
required to slash each unbonded and redelegating account.
2018-09-26 18:13:40 +08:00
Rigel
b54801b4b3
[RETRY] Distr-PR-3 More staking hooks ( #2404 )
...
* update commission hook for new commission work
* comment update
2018-09-25 23:11:57 -07:00
rigelrozanski
3846894c3a
Merge branch 'rigel/new-hooks' into rigel/fee-distribution
2018-09-25 20:09:33 -04:00
rigelrozanski
4929b022ce
mini-fix
2018-09-25 19:59:46 -04:00
rigelrozanski
9e9756a6a9
Merge remote-tracking branch 'origin/develop' into rigel/new-hooks
2018-09-25 18:31:12 -04:00
rigelrozanski
47e899bb61
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-25 17:45:48 -04:00
rigelrozanski
380d3e1c5a
pull a bunch from develop
2018-09-25 17:43:26 -04:00
Matthew Slipper
2fb3493ff5
Merge PR #2223 : Gaia CLI Config Command
...
* Allow a gaia-cli config file to be created
Closes #1613 .
Closes #1275 .
Closes #1956 .
* Add homedir to Gopkg.toml
* Updates from code review
* Post-rebase fixes
* Update test
* Code review refactor
* Fixes from code review
* Fix import
* Fix broken test
* Fixes from rebase
* Fix formatting
2018-09-25 17:36:42 -04:00
Matthew Slipper
24413a395d
Merge PR #2073 : Allow --from to be a name or an address
...
* Allow --from to be a name or an address
Closes #1735 .
* Post-rebase fixes
* Updates from code review
* Updates from code review
* Updates from code review
* Fix merge artifacts
* Fix merge conflicts
* Fix integration tests
* Add back GetFromName() check broken during merge
* Code review updates
* Fix failing test
* Updates from code review
2018-09-25 16:48:38 -04:00
Sunny Aggarwal
15e848e43c
Merge PR #2395 : Remove governance slashing
2018-09-26 02:45:20 +08:00
Alexander Bezobchuk
611e287375
Merge PR #2401 : Remove remnants of gocyclo
2018-09-25 13:45:04 -04:00
Jae Kwon
c31c0d2822
Merge remote-tracking branch 'origin/dev/simulation_remove_pubkey_ops' into develop
2018-09-24 21:29:41 -07:00
Rigel
6b595842ed
Distr-PR-1 Staking ConsPubKey -> ConsAddr index ( #2369 )
...
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
rigelrozanski
ca2fc77af7
update commission hook for new commission work
2018-09-24 22:58:26 -04:00
rigelrozanski
f5116b9d57
Merge branch 'rigel/truncate-decimal' into rigel/new-hooks
2018-09-24 22:52:12 -04:00
rigelrozanski
dad4253957
merge fix
2018-09-24 22:27:09 -04:00
rigelrozanski
16594f7daf
Merge remote-tracking branch 'origin/develop' into rigel/stake-cons-addr
2018-09-24 21:54:30 -04:00
rigelrozanski
afe179ebb3
remove GetValidatorByConsPubKey
2018-09-24 21:51:24 -04:00
Dev Ojha
1a5d122c93
Merge PR #2392 : remove redundant sprintf calls, improve a doc comment, write test
...
* remove redundant sprintf calls, improve a doc comment, write test
* One more super minor fix
2018-09-24 21:42:51 -04:00
rigelrozanski
9dfeeb0d7b
address bez comments
2018-09-24 18:54:49 -04:00
Alexander Bezobchuk
9dafa3252d
Merge PR #2365 : Validator Commission Model
...
* Update validator commission fields
* Remove CommissionChangeToday and update to use CommissionChangeTime
* Implement commission as a first class citizen type
* Implement stringer for Comission
* Move commission type and logic to new file
* Add new commission errors
* Add commission to create validator message
* Implement and call UpdateValidatorCommission
* Update godoc for UpdateValidatorCommission
* Add Abs to the decimal type
* Implement new SetValidatorCommission
* Update decimal short godocs
* Move set initial commission logic
* Move initial commission validation to Commission type
* Update initial validator commission logic and unit tests
* Remove commission update time from struct and move to validator
* Update validator create handler tests
* Implement commission logic for CLI
* Fix make lint failure
* Fix make cover failure
* Update edit validator logic to handle new commission rate
* Fix lint and cover
* Update create/edit validator simulation to include commission params
* Update MsgEditValidator godoc
* Update pending log
* Update staking tx docs
* Fix CLI create validator test
* Update variables names for commission strings
* Merge UpdateTime into Commission type
* Update create-validator usage in docs
* Update more docs with examples
* More doc updates
2018-09-24 18:23:58 -04:00
ValarDragon
bb624b36aa
simulation: Use a simulation.Account struct
...
This removes privkeys and addresses from function signatures.
This comes with a 11% performance improvement to the simulator,
as we no longer keep recomputing the pubkeys.
Once we move the transient store clearing to endblock, we can
further raise the size of make test_sim_gaia_fast
concretely, `make test_sim_gaia_fast` went from 16.8 seconds to 13.5 seconds on my system.
2018-09-22 20:33:32 -07:00
rigelrozanski
6f35822d7d
import hook from fee-distr
2018-09-22 16:29:42 -04:00
rigelrozanski
14792f2b23
val comments
2018-09-22 13:50:26 -04:00
rigelrozanski
b212470d31
revert some accidental stuff
2018-09-20 22:49:51 -04:00
rigelrozanski
787a2f990e
fix using cons address, also remove old commented distr code
2018-09-20 22:36:47 -04:00
rigelrozanski
1243507098
no more compile errors in tests
2018-09-20 22:09:27 -04:00
rigelrozanski
9e2b8e413d
revert some gov changes
2018-09-20 21:22:28 -04:00
rigelrozanski
0f903bdd52
finished pulling in, compiles
2018-09-20 21:17:50 -04:00
rigelrozanski
4e4749da9d
pulling in stuff from fee-distr PR
2018-09-20 20:30:18 -04:00
rigelrozanski
0867ce8656
...
2018-09-20 20:23:07 -04:00
rigelrozanski
0d9105cf7c
...
2018-09-20 20:10:26 -04:00
rigelrozanski
d36030424e
breakout use of GetValidatorByConsAddr
2018-09-20 15:36:32 -04:00
Sunny Aggarwal
8721dd6ff8
Merge PR #2355 : Governance BFT Time 2: Electric Boogaloo
2018-09-20 22:53:52 +08:00
rigelrozanski
251a81f589
yay it compiles
2018-09-20 00:53:48 -04:00
rigelrozanski
5790f33159
...
2018-09-19 23:01:55 -04:00
rigelrozanski
5dabd1bf6d
the errors never want to seem to end...
2018-09-19 22:54:46 -04:00
rigelrozanski
18fdccf95b
...
2018-09-19 22:13:12 -04:00
rigelrozanski
7002438d5f
compile debugging
2018-09-19 21:17:28 -04:00
rigelrozanski
d9396ed732
working compile errors
2018-09-19 19:33:12 -04:00
rigelrozanski
df9c8db5e7
working through compile errors
2018-09-19 19:00:21 -04:00
rigelrozanski
76882991a4
alias work, working on compiling
2018-09-19 14:47:25 -04:00
rigelrozanski
97f7dbc5e6
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-19 13:25:23 -04:00
Alessio Treglia
b74a6a9066
Merge PR #2328 : Support min fees-based anti spam strategy
2018-09-19 23:25:52 +08:00
rigelrozanski
de4071f693
aliases, errors
2018-09-19 00:42:05 -04:00
rigelrozanski
73c5fdf1f9
more cli related
2018-09-19 00:10:33 -04:00
rigelrozanski
e3cf4f606e
cli transactions
2018-09-19 00:00:48 -04:00
rigelrozanski
a18b89539a
handler, tags, msgs, codec
2018-09-18 23:30:00 -04:00
Dev Ojha
c6a3928d37
Added a couple of benchmarks ( #2353 )
...
These method were surprisingly slow from the profiling.
(Mapper.Get accounted for 2.7% of time taken, GetKey also took an
interestingly large portion of time)
2018-09-18 20:00:49 -07:00
Sunny Aggarwal
5b8a499fd0
R4R: Simulation Queued Time Operations ( #2348 )
...
* closes #2349
* queue time operations simulation
* removed FutureTimeOperation
2018-09-18 19:47:54 -07:00
rigelrozanski
bb9e647f95
add in basic commission stuff
2018-09-18 17:54:28 -04:00
rigelrozanski
24e43b9869
hookwork
2018-09-18 12:46:04 -04:00
rigelrozanski
431fdb8695
hook, genesis, and withdraw address
2018-09-17 23:02:15 -04:00
rigelrozanski
2eff69a575
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-17 17:53:42 -04:00
Dev Ojha
18d5b048a9
Merge PR #2299 : simulation: reduce number of failed governance msgs
2018-09-17 22:36:26 +08:00
Dev Ojha
65137f6331
Merge PR #2343 : Add a name field to the message type
...
This is to facillitate ease of implementing #1406 . (Tags for messages
could then be added dynamically)
Ultimately once we make the router support hiearchical routing, (#770 )
we can then remove the name field and just the parse info for tags from that.
Until then, we can parse the tag name as
`fmt.Sprintf("%s %s", msg.Type(), msg.Name())`
2018-09-17 22:34:06 +08:00
HaoyangLiu
a3df7af428
Merge PR #2346 : bugfix in validatorset query and refactor transaction search
2018-09-17 22:13:11 +08:00
Dev Ojha
2263cea118
Merge PR #2345 : update doc.go for mock/simulation
2018-09-17 12:15:06 +08:00
HaoyangLiu
7dc09d0fc2
Merge PR 2210: Judge if trust-node predefined before create certifier add verification for getBlock, queryTx and getValidators ( #2210 )
...
Replace trust-node option with distrust-node option, and add varification in getting blocks, transactions and validator sets.
2018-09-15 02:41:21 +08:00
rigelrozanski
d60f620787
working
2018-09-14 02:35:02 -04:00
Federico Kunze
d195cc15ed
Merge PR #2249 : Staking Querier pt1
...
* Cherry picked commits from prev branch
* Added new keepers for querier functionalities
* Renaming
* Fixed gov errors and messages
* Added Querier to stake and app
* Update delegation keepers
* REST Queriers not working
* Fix marshalling error
* Querier tests working
* Pool and params working
* sdk.NewCoin for test handler
* Refactor and renaming
* Update LCD queries and added more tests for queriers
* use sdk.NewCoin
* Delegator summary query and tests
* Added more tests for keeper
* Update PENDING.md
* Update stake rest query
* Format and replaced panics for sdk.Error
* Refactor and addressed comments from Sunny and Aleks
* Fixed some of the errors produced by addr type change
* Fixed remaining errors
* Updated and fixed lite tests
* JSON Header and consistency on errors
* Increased cov for genesis
* Added comment for maxRetrieve param in keepers
* Comment on DelegationWithoutDec
* Bech32Validator Keepers
* Changed Bech validator
* Updated remaining tests and bech32 validator
* Addressed most of Rigel's comments
* Updated tests and types
* Make codec to be unexported from keeper
* Moved logic to query_utils and updated tests
* Fix linter err and PENDING
* Fix err
* Fix err
* Fixed tests
* Update PENDING description
* Update UpdateBondedValidatorsFull
* Update iterator
* defer iterator.Close()
* delete comment
* Address some of Aleks comments, need to fix tests
* export querier
* Fixed tests
* Address Rigel's comments
* More tests
* return error for GetDelegatorValidator
* Fixed conflicts
* Fix linter warnings
* Address @rigelrozanski comments
* Delete comments
* wire ––> codec
2018-09-13 17:23:44 -04:00
Dev Ojha
6b55093c75
Merge PR #2324 : rename wire to codec
...
* rename wire to codec
* fix formatting and cli
* fix the docs
2018-09-13 14:17:32 -04:00
rigelrozanski
dae32a3d65
...
2018-09-13 03:03:30 -04:00
rigelrozanski
46db96bdb7
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-13 02:11:07 -04:00
Rigel
5bf9401e87
Merge PR #2310 : staking transient store for Tendermint Updates
...
* working
* non-tests compile
* fix mounting error, working on testing
* stumped using transient store
* joon comments
* remove old comments
* resolve ibc error
* lint/sim_test
* fix determinism sim test
* sim enable commit
* docs and pending
2018-09-13 00:53:55 -04:00
Federico Kunze
5834a500da
Merge PR #2259 : Minor changes on slashing logs and gov Querier
2018-09-12 15:41:09 +08:00
Dev Ojha
e5e7c4fa0f
Merge PR #2303 : simulation: Add weighted operation
2018-09-12 15:16:52 +08:00
Alexander Bezobchuk
854aca2f7d
Merge PR #2238 : Ensure Tendermint Validator Update Invariants
2018-09-12 15:16:28 +08:00
Alessio Treglia
fb0cc0b078
Merge PR #2306 : Change --gas=0 semantic and introduce --gas=simulate
...
* Change --gas=0 semantic and introduce --gas=simulate
Make --gas flag accept a conventional "simulate" string value in addition
to integers. Passing --gas=simulate would trigger the tx simulation and
set the gas according to the gas estimate returned by the simulation.
Any other integer value passed to --gas would be interpreted as-is and
and set as gas wanted value.
Closes : #2300
* Add test cases with gas=0
* ACK suggestion from @alexanderbez
* s/GasFlagSimulateString/GasFlagSimulate/
* Drop TODO comment on Gas type
* Enrich TODO with ref
2018-09-11 20:31:30 -04:00
rigelrozanski
a153088073
...
2018-09-11 13:35:47 -04:00
Dev Ojha
962b04d985
Merge PR #2285 : simulation: Write logs on panic
2018-09-11 17:18:58 +08:00
Dev Ojha
2e0fc15dd4
Merge PR #2292 : x/staking: Use variable names in switch case
2018-09-11 17:14:32 +08:00
Dev Ojha
4f0c3cb25a
Merge PR #2291 : x/staking: standardize validator record not found error
2018-09-11 17:12:35 +08:00
rigelrozanski
922eb5e7ce
...
2018-09-10 22:00:51 -04:00
rigelrozanski
7d864fee11
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-10 18:42:26 -04:00
rigelrozanski
e498d43d03
dec coins, refactoring distr
2018-09-10 18:37:58 -04:00