Christopher Goes
e1981d47e3
Merge PR #2181 : Implement a simulate-only CLI flag/field for REST endpoints
2018-08-31 22:35:52 +02:00
Rigel
b92ac313ac
Merg PR #2198 : Ensure Legacy Validator Delegation Invariants
...
* Test and allow jailed validator to self-bond
* Implement TestJailedValidatorDelegations
* Restructure TestJailedValidatorDelegations
* Add Delegation to Validator type and update handleMsgUnjail accordingly
* Update ErrMissingSelfDelegation error message
* Update democoin mock validator set impl
* Update pending log
* Add comment to ValidatorSet
* Fix conflicts/errors due to develop merge
2018-08-31 15:21:12 -04:00
Alessio Treglia
d84885ca49
No need to create a fake slice of signatures nor skip account no./sequence check
2018-08-31 19:09:39 +02:00
Alessio Treglia
1ed76565f2
Remove obsolete comments
2018-08-31 19:04:45 +02:00
Alessio Treglia
122ed3a900
Don't use pointers when you need them not!
2018-08-31 19:04:45 +02:00
Alessio Treglia
1370ca611b
Set GasAdjustment in CLIContext when handling HTTP requests
...
This is to address @alexanderbez's comments
2018-08-31 19:04:42 +02:00
Alessio Treglia
599923fb99
Introduce simulate mode
...
Add a simulate only flag '--dry-run' to both CLI tx commands
and RESTful endpoints to trigger the simulation of unsigned
transactions.
* Turning --dry-run on causes the --gas flag to be ignored.
The simulation will return the estimate of the gas required
to actually run the transaction.
* Adjustment is no longer required. It now defaults to 1.0.
* In some test cases accounts retrieved from the state do not
come with a PubKey. In such cases, a fake secp256k1 key is
generated and gas consumption calculated accordingly.
Closes : #2110
2018-08-31 19:04:11 +02:00
Christopher Goes
03f79ef744
Merge PR #2192 : Split LCD implementation PR, part one
2018-08-31 18:41:24 +02:00
Raymond
46172bb78b
Merge pull request #99 from HaoyangLiu/bianjie/lcd-proof-build-verfication
...
IRISHUB-238: change wait 3 second to wait tendermint new block. use M…
2018-08-31 23:27:29 +08:00
HaoyangLiu
67857d704b
IRISHUB-238: change wait 3 second to wait tendermint new block. use MustUnmarshalBinary instead of UnmarshalBinary
2018-08-31 23:20:06 +08:00
Raymond
436bbc195c
Merge pull request #97 from HaoyangLiu/bianjie/lcd-proof-build-verfication
...
IRISHUB-238: fix test_lint failure
2018-08-31 15:56:19 +08:00
HaoyangLiu
cb3e729582
IRISHUB-238: fix test_lint failure in context.go
2018-08-31 15:54:15 +08:00
HaoyangLiu
959582476b
IRISHUB-238: fix test_lint failure
2018-08-31 15:21:35 +08:00
ValarDragon
e64c6da6f2
cleanup goleveldb dirs
2018-08-30 23:42:12 -07:00
rigelrozanski
b2eab0d0c4
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-08-31 02:41:16 -04:00
Raymond
62869dc8a4
Merge pull request #96 from HaoyangLiu/bianjie/lcd-proof-build-verfication
...
IRISHUB-238: missing change a comment
2018-08-31 14:10:24 +08:00
HaoyangLiu
de8ac6e2a9
IRISHUB-238: missing change a comment
2018-08-31 14:06:53 +08:00
Raymond
d2e2b9c5eb
Merge pull request #93 from HaoyangLiu/bianjie/lcd-proof-build-verfication
...
PR part one, refactor code according to code reviewers
2018-08-31 14:01:42 +08:00
HaoyangLiu
b977baec73
IRISHUB-238: move certifier creation to a function
2018-08-31 13:31:24 +08:00
Rigel
ee0434e5a7
Revert "Merge PR #2176 : Ensure Legacy Validator Delegation Invariants" ( #2197 )
...
This reverts commit df33452490
.
2018-08-31 00:55:33 -04:00
Alexander Bezobchuk
df33452490
Merge PR #2176 : Ensure Legacy Validator Delegation Invariants
...
* Test and allow jailed validator to self-bond
* Implement TestJailedValidatorDelegations
* Restructure TestJailedValidatorDelegations
* Add Delegation to Validator type and update handleMsgUnjail accordingly
* Update ErrMissingSelfDelegation error message
* Update democoin mock validator set impl
* Update pending log
* Add comment to ValidatorSet
2018-08-31 00:10:51 -04:00
Alexander Bezobchuk
2d92803b9f
Merge PR #2040 : Refactor Validator Account Types/Bech32 Prefixing
...
* Add new account bech32 prefixes with godocs
* Restructure spacing of existing account code
* Update account godocs
* More account godoc updates + new tm pub/addr helpers
* Update validator type to use new account types/bech32 prefixes
* Fix account documentation errors
* Update Bech32 prefix for consensus nodes
* Update Bech32 spec doc
* Fix account type tests
* Add missing account consensus functions, clear up godocs, and fix tests
* Add to TestRandBech32PubkeyConsistency check
* Update initialization of validator public keys
* Update query signing info command
* Implement new ConsAddress type with associated unit tests
* [WIP] Update stake and slashing parameters
* Update all calls to MustBech32ifyValPub
* [WIP] Validator operator API updates
* [WIP] Fix and update unit tests
* Fix gov logs (helping to debug failing tests)
* Fix gov tally
* Fix all broken x/ unit tests
* Update gaia app genesis address logic
* Fix linting errors
* Fix broken LCD tests
* Fix broken CLI tests
* Implement command to get validator address and pubkey from key name
* Add support for getting validator key information via REST endpoint
* Update PENDING log
* Update docs
* Revert GaiaGenTx.PubKey bech32 prefix
* Fix broken docs and cli tests
* Update genesis to use correct Bech32 (cons) prefix for pubkeys
* Update docs and unit tests to reflect new cosmos account bech32 prefix
* minor formatting
2018-08-31 00:06:44 -04:00
HaoyangLiu
6d2fb8edef
IRISHUB-238: fix test_cli failure, move certifier creation from lcd/root.go to NewCLIContext
2018-08-31 11:29:55 +08:00
HaoyangLiu
9de7650b99
IRISHUB-238: fix a bug in judge whether proof is required and refactor comment
2018-08-31 10:15:37 +08:00
HaoyangLiu
ab76fd964a
IRISHUB-238: remove todo, refactor comment and refactor multistoreproof
2018-08-31 10:03:48 +08:00
Matthew Slipper
dc0f13214d
Merge PR #2170 : Add show-address command
...
* Add show-address command
Closes #1274 .
* Add PENDING entry
* Add godoc
* Updates from code review
2018-08-30 21:38:28 -04:00
Matthew Slipper
03c56fc024
Merge PR #2190 : Rename --gen-txs to --with-txs
...
* Rename --gen-txs to --with-txs
Closes #1088 .
* Update CHANGELOG.md
2018-08-30 21:33:48 -04:00
rigelrozanski
d900c583ff
melekes comment
2018-08-30 21:16:23 -04:00
Christopher Goes
1558bce9e1
Merge PR #2184 : DataDog hostname reporting fix
2018-08-30 23:31:26 +02:00
Christopher Goes
153756bb75
Merge PR #2171 : Add documentation regarding environment variables
2018-08-30 23:24:11 +02:00
Greg Szabo
fa78303253
DataDog hostname reporting fix
2018-08-30 23:20:34 +02:00
ValarDragon
a69725d40d
Add method to benchmark with commits
2018-08-30 11:47:32 -07:00
ValarDragon
4be69077fe
Fix cyclomatic complexity, add ability to use GoLevelDB
2018-08-30 11:43:56 -07:00
ValarDragon
d1a5808a75
Address Anton's comment
2018-08-30 09:32:15 -07:00
Raymond
5a632afd2c
Merge pull request #91 from HaoyangLiu/bianjie/lcd-proof-build-verfication
...
Split LCD implementation PR, part one
2018-08-30 19:18:51 +08:00
HaoyangLiu
5e85a5cdcd
IRISHUB-238: delete client manager
2018-08-30 17:14:10 +08:00
HaoyangLiu
3f83aca599
IRISHUB-238: fix test_lint failures in client/lcd/root.go and server/
2018-08-30 16:24:56 +08:00
HaoyangLiu
b878edc388
IRISHUB-238: fix failures in test_lint and test_cover
2018-08-30 15:52:17 +08:00
ValarDragon
b3d08bcb23
minor cleanup
2018-08-30 00:35:02 -07:00
ValarDragon
03d2f7331b
Remove code duplication
2018-08-30 00:28:15 -07:00
HaoyangLiu
5473771105
IRISHUB-238 :add trust option for rest-server command
2018-08-30 15:08:10 +08:00
HaoyangLiu
703c643fc0
IRISHUB-238: Add multiply store proof build and verification
2018-08-30 15:05:16 +08:00
ValarDragon
31ca2e058b
Update PENDING
2018-08-29 23:11:14 -07:00
ValarDragon
46bbada4ee
simulation: Add benchmarking
2018-08-29 23:02:15 -07:00
rigelrozanski
8d02c3eba0
fix golint
2018-08-29 20:24:35 -04:00
rigelrozanski
6fd8299b1a
...
2018-08-29 18:54:02 -04:00
rigelrozanski
2a1515f00a
changelog
2018-08-29 18:48:42 -04:00
rigelrozanski
52b249b0cd
complete tests
2018-08-29 18:44:40 -04:00
rigelrozanski
d1a2fed2bc
tests working
2018-08-29 02:28:27 -04:00
Mike Xu
fd8c1e5253
Merge PR #2159 : fix the gov/slash error
2018-08-29 01:22:39 -04:00