Commit Graph

167 Commits

Author SHA1 Message Date
Alexander Bezobchuk 8b1d75caa2
Merge PR #4382: Support height queries for queriers 2019-05-28 20:58:33 -04:00
Yumin Xia 65be4dbf09 close db write batch after use (#4379)
Closes: #4381
2019-05-22 01:42:33 +01:00
Joon dfef88dea8 Merge PR #4265: CacheKVStore keep sorted items 2019-05-15 10:42:06 -04:00
Christopher Goes b86afd8d0b
Merge PR #3745: Return on zero-length byte array input 2019-02-26 14:54:47 +01:00
Juan Leni 6967de1073 Merge PR #3676: Refactored prefixes as constants
* Refactored prefixes as constants
* Fixing test
2019-02-18 22:35:08 +01:00
Alessio Treglia e7e3c32204 Merge PR #3553: Code cleanup, take #1
* add a bunch of tests, add DONTCOVER text tag

- Also fix flaky test (closes: #3559). Don't test values
  returned by queries since there's no way to query a
  specific height via REST.

* GetTempDir -> NewTestCaseDir
2019-02-08 22:45:41 +01:00
Juan Leni b5fdb83830 Merge PR #3517: Increasing test coverage in keys/client package 2019-02-08 12:45:23 -08:00
Joon d50f3ee4fb Merge PR #3395: Store Refactor 2 2019-02-05 19:39:22 +01:00
Joon 08e62fb157 Store Refactor 1 (#2985) 2019-02-01 17:03:09 -08:00
Christopher Goes f66b7b6310
Merge PR #3435: Assert store implementations never store nil values
* Check non-nil values on IAVL store
* Reuse assertValidValue
2019-01-29 21:28:41 +01:00
HaoyangLiu afb04b117e Merge PR #3387: Add missing iterator close 2019-01-25 12:13:17 +01:00
Hleb Albau 867f8a7467 Merge PR #3195: Configurable pruning. Fix docs and create strategies const. 2019-01-09 16:06:22 +01:00
Alessio Treglia 24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
Jae Kwon 40a30b738f
Update gas costs to more reasonable numbers for GoS (#3052) 2018-12-10 02:48:19 -08: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
rigelrozanski 70e60c2f30 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-21 01:51:56 -05:00
Jae Kwon 10bdf8fa03 Store ConsensusParams to main store 2018-11-20 16:44:49 -08:00
Jae Kwon 47eed3958b
Clean up Context/MultiStore usage in BaseApp (#2847) 2018-11-20 01:06:14 -08: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
Sunny Aggarwal 8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08:00
Jae Kwon c7b3efdd02
Do not allow nil values to be set in CacheKVStore (#2708)
* Do not allow nil values to be set in CacheKVStore
2018-11-07 00:29:27 -08:00
Jae Kwon 2779f4dba3
Add general merkle absence proof (also for empty substores) (#2685) 2018-11-07 00:03:02 -08:00
Jae Kwon f4338d6f75 Fix merge conflict bug; Update PENDING 2018-11-04 19:42:11 -08:00
Jae Kwon 5b74e1d0b6
Bez/tm0.26 update pt 2 redux (#2684)
* Update to TM v0.26.0
* Update TODOs
* Proof and verification updates
* Fix linting
* Fix key path creation
* Temporarily fix tendermint revision to make tests pass
2018-11-04 19:36:35 -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
Christopher Goes 79ce52a41a
Merge PR #2458: Move linear to store 2018-10-16 21:57:42 +02:00
mossid 27b8322a27 split test 2018-10-16 04:09:41 +09:00
mossid 9d809d7855 Merge branch 'develop' into joon/2406-move-linear 2018-10-16 03:18:04 +09:00
mossid fb78f1d0af add docs, fix GetSubspace, address comments
rm Subspace.ptr
2018-10-14 02:44:29 +09:00
mossid 62feae87f5 fix missed conflict 2018-10-12 00:23:52 +09:00
mossid 42c7a09075 Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-12 00:09:07 +09:00
mossid 0c92477b4d mv types/lib/* store/ 2018-10-09 22:23:22 +09:00
mossid 0cbb37ff03 rm Close() from Next() 2018-10-09 21:05:18 +09:00
mossid ed9b29c856 fix typo 2018-10-09 21:05:18 +09:00
mossid 43b3352c87 fix Close() 2018-10-09 21:05:17 +09:00
mossid e7c76eb344 port tests from tmlibs, fix tests 2018-10-09 21:05:17 +09:00
mossid c770e74571 fix cloneAppend 2018-10-09 21:05:17 +09:00
mossid 5091d1688d partially apply requests 2018-10-09 21:05:17 +09:00
mossid 5237639138 fix prefixIterator 2018-10-09 21:05:17 +09:00
mossid 7d49675600 apply requests in progress 2018-10-07 01:12:01 +09:00
mossid 6978d283bf fix lint 2018-10-07 01:12:01 +09:00
mossid 30ea9f85ae add tests for cloneAppend 2018-10-07 01:12:01 +09:00
mossid f3c330ec4d fix prefixstore 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 cc75924182 last rereview 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
Christopher Goes 17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Alexander Bezobchuk 8ca8acf638 Merge PR #2357: Refactor Iterator Gas Consumption 2018-09-26 22:02:56 +08: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