Jack Zampolin
14ebc65daf
Merge PR #3119 : Move all store keys into constants
...
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Jack Zampolin
e1f0767ba8
R4R: Move generate_only and simulate to POST body in REST txs ( #3060 )
...
* Move generate_only and simulate to POST body in REST txs
Closes : #3056
* Run make format
* drop extra else block, outdent its block, and make linter happy
* Update PENDING.md
* Update LCD swagger docs
2018-12-10 14:51:53 -08:00
Christopher Goes
243576143e
Merge PR #3072 : Catch overflows in gas wanted
...
* Check for overflow
* Only expect block gas meter on DeliverTx
* ErrGasOverflow in tx.ValidateBasic()
* Update unit test
2018-12-10 21:39:29 +01:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Hendrik Hofstadt
db77117a5b
Only allow supported pubKey types ( #2949 )
...
* Only allow supported pubKey types
* Add type and supported types to error message
* Add default value for ConsensusParams
2018-11-29 09:21:45 -08:00
Hendrik Hofstadt
ca43225851
Merge PR #2943 : Fix tag usage in handlers and EndBlocker
...
* Fix tag usage in handlers and EndBlocker
* Prepend action tag in baseApp
* Fix LCD
* Remove unnecessary conversion
* Fix invalid consensus pubkey in CLI tests
* Fix tag usage in cli_test
* Shorten bechify in test
* Update docs and PENDING
2018-11-29 15:34:57 +01:00
Alexander Bezobchuk
cdb027e914
Merge PR #2917 : Print commit ID in hex
2018-11-27 18:24:53 +01:00
Jae Kwon
d1e76221d8
Jae/simulator improvements ( #2900 )
...
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
Jae Kwon
819af35962
Final fixes from review
2018-11-24 18:15:02 -08:00
Alexander Bezobchuk
5792e1d5c4
Apply suggestions from code review
...
Co-Authored-By: jaekwon <jae@tendermint.com>
2018-11-24 18:10:39 -08:00
rigelrozanski
ce10ef2b27
replaced proto with codec in baseapp
2018-11-22 12:41:20 -05:00
rigelrozanski
0861112b70
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-22 12:34:41 -05:00
rigelrozanski
56fa7dc4ef
fix BlockGasRecovery
2018-11-22 12:34:13 -05:00
Christopher Goes
2d3e1afea8
Add demonstrative failing testcase
2018-11-22 11:21:11 +01:00
rigelrozanski
abed373d5c
extra max block gas test at limit
2018-11-22 00:36:12 -05:00
rigelrozanski
b4b61b890c
address some comments while reviewing Jaes work
2018-11-22 00:30:04 -05:00
Alexander Bezobchuk
1ea0e4c457
Merge PR #2863 : Transaction ValidateBasic
...
* Add ValidateBasic to Tx interface
* Update BaseApp unit tests
* Add missing return in ValidateBasic
* Update ValidateBasic to use IsNotNegative
* Add pending log entry
* Add unit test TestTxValidateBasic
* Fix broken lint regression
* Add sig count check to validation
* Add test case to TestTxValidateBasic
2018-11-21 11:16:56 +01:00
rigelrozanski
6fd3132e71
lint fix, merge fix
2018-11-21 02:02:15 -05:00
rigelrozanski
70e60c2f30
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-21 01:51:56 -05:00
Jae Kwon
4afd53d81b
Consume block gas to tx gas limit even upon overconsumption
2018-11-20 20:07:30 -08:00
Jae Kwon
10bdf8fa03
Store ConsensusParams to main store
2018-11-20 16:44:49 -08:00
Jae Kwon
d911565d0b
Fix compile
2018-11-20 13:16:44 -08:00
Jae Kwon
47eed3958b
Clean up Context/MultiStore usage in BaseApp ( #2847 )
2018-11-20 01:06:14 -08:00
rigelrozanski
56dc2363fa
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-20 02:58:33 -05:00
Alexander Bezobchuk
6e813ab3a8
Change gas & related fields to unsigned integer type ( #2839 )
...
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -08:00
Alexander Bezobchuk
15b6fa0959
Cache-wrap context during ante handler exec ( #2781 )
...
* Use cache-wrapped multi-store in ante
* Implement TestBaseAppAnteHandler
* Add reference documentation for BaseApp/CheckTx/DeliverTx
2018-11-16 10:33:47 -08:00
Sunny Aggarwal
8d6b0929fb
Codespaces as Strings ( #2821 )
2018-11-16 09:12:24 -08:00
rigelrozanski
2a594fe338
basic cwgoes comments
2018-11-15 11:13:18 -05:00
rigelrozanski
524906478a
add init chain block gas for gen-txs (all unit tests fixed)
2018-11-14 14:16:52 -05:00
rigelrozanski
0d4dd8762b
fix baseapp tests
2018-11-14 14:07:46 -05:00
rigelrozanski
68e3b9a559
only use block gas for deliver
2018-11-14 00:57:27 -05:00
rigelrozanski
7e6fcc0161
passing test
2018-11-13 16:01:00 -05:00
rigelrozanski
eead27872f
initial test case
2018-11-13 15:12:04 -05:00
rigelrozanski
8069b2b7e6
default infinite block gas meter
2018-11-13 14:30:24 -05:00
rigelrozanski
3bf67b63e1
compiling
2018-11-13 14:27:15 -05:00
rigelrozanski
ebaa39468a
modified app provider to pass genesis
2018-11-13 13:01:18 -05:00
rigelrozanski
956d351f68
basic structure in place
2018-11-13 11:30:06 -05:00
rigelrozanski
2f73cf4193
block gas meter working
2018-11-12 23:12:09 -05:00
Christopher Goes
256ec0f07b
Simulation improvements (logging fix, random genesis parameters) ( #2617 )
...
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface
Closes #2556
Closes #2396
Via #2671 :
closes #2669
closes #2670
closes #2620
Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Sunny Aggarwal
d666658ca9
Merge PR #2553 : Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route()
2018-10-23 21:23:55 +02:00
zhangzheng
c653053cfb
Merge PR #2468 : fix bounds checking and missing return
2018-10-11 23:34:46 -04:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00
Dev Ojha
145e06b85c
Merge PR #2382 : baseapp: Move code from setters.go to options.go
2018-09-26 21:17:46 +08:00
Dev Ojha
b1583dd8c5
Merge PR #2383 : baseapp: Move query tests to their own file
2018-09-26 21:16:50 +08:00
Dev Ojha
7823b9bb10
Merge PR #2366 : baseapp: Automatically add action tags to messages
2018-09-21 23:54:32 +08:00
Alessio Treglia
b74a6a9066
Merge PR #2328 : Support min fees-based anti spam strategy
2018-09-19 23:25:52 +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
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
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