Commit Graph

142 Commits

Author SHA1 Message Date
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
Joon
f19fbe3fb8 Merge PR #2330: iterate over storesParams 2018-09-13 21:53:21 -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
Dev Ojha
358b48771c Merge PR #2308: Remove ripemd160 entirely
* Remove ripemd160 entirely

We already made this decision awhile ago, and have had tendermint switched
for awhile. I was surprised to find ripemd still used within the storeinfo.
This actually leads me to think the new "byter" API change in the tendermint
PR RFC compliance is better, as it avoids things like this from ever happening.

* Get ripemd160 removed from the gopkg imports
2018-09-12 15:13:14 +08:00
Alexander Bezobchuk
e13cdc0260 Merge PR #2146: x/bank: Keeper Interfaces
* Update banking module to implement and use keeper interfaces

* Cleanup/consolidate x/bank keeper interface
2018-09-10 14:25:34 -04:00
Dev Ojha
43ccbd4185 Merge PR #2281: Update to iavl 0.11.0 2018-09-09 23:13:17 +08:00
HaoyangLiu
3cf3ab11b0 Merge PR #2037: transient store missed to implement store type interface
* transientstore missed to implement store type interface

* rename pointer name from rs to ts
2018-09-08 20:47:36 -04:00
Jeremiah Andrews
2378e3431c Fix linter errors 2018-09-03 07:58:57 -07:00
Christopher Goes
3ac55b589d Update testcase from merge 2018-09-03 07:57:15 -07:00
Jeremiah Andrews
b72f87a027 Update IAVL dependency for v0.10.0 2018-09-03 07:57:15 -07: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
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
HaoyangLiu
b878edc388 IRISHUB-238: fix failures in test_lint and test_cover 2018-08-30 15:52:17 +08:00
HaoyangLiu
703c643fc0 IRISHUB-238: Add multiply store proof build and verification 2018-08-30 15:05:16 +08:00
ValarDragon
f6cb4d4fb6 Speedup IAVL iterator by removing defers when unneeded.
Note each defer occurs a 30ish ns overhead here, which is significant
for IAVL iteration. We were previously using around 3-4 defers. (2 in
next, one in Valid, one in Key, one in Value) This slows down the entire
application quite significantly, as we require fast iteration.
2018-08-24 10:26:02 -07:00
Christopher Goes
7b8c1c0e80
Merge branch 'develop' into fix-iterator-leak 2018-08-22 16:06:35 +02:00
Joon
f0b3766a46 Merge PR #2074: Reject duplicate storekey name 2018-08-21 15:49:06 +02:00
youjing
517682f17c fix Iterator leak, ref to https://github.com/cosmos/cosmos-sdk/issues/2105 2018-08-21 14:54:12 +08:00
Jeremiah Andrews
f653bed8c9 Merge PR #1926: RootMultiStore test helper bugfix
* Add reload modification to test
* Modify test helper function to prefix store dbs
2018-08-08 12:27:05 +02:00
Joon
d46140a392 Merge PR #1481: Transient Stores 2018-07-27 03:24:18 +02:00
Rigel
3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Jeremiah Andrews
43b9cc6df0 Merge PR #1533: Pruning Cleanup 2018-07-13 03:20:26 +02:00
Alexander Bezobchuk
5983a07fb6 Merge PR #1599: Implementation of TraceKVStore 2018-07-13 01:58:51 +02:00
ValarDragon
0c5358c267 Continue reducing code complexity:
* Adds a Min function to Int, and uses that in the slash function
* Adds a getHeight helper function to iavlstore
* Adds a splitPath function to baseapp
* Changes cyclo param from 10 to 11
2018-07-09 15:29:16 -07:00
Jeremiah Andrews
4c5850d405 setting default to archive mode / no pruning 2018-07-07 12:34:11 -07:00