Commit Graph

92 Commits

Author SHA1 Message Date
Ethan Frey 630c5ca9ff Update iavl tree and address pr cleanup comments 2017-10-25 19:14:28 +02:00
Ethan Frey 3b7020520c Clean up store versions after a limit 2017-10-25 19:14:28 +02:00
Ethan Frey 422e67b382 Update deps: tendermint/abci/iavl, fix code 2017-10-25 19:14:28 +02:00
Ethan Frey fbe88ee275 Clean up state.State as we only support persistence 2017-10-20 13:42:03 +02:00
Ethan Frey 9d1205f8c7 Merged app.Store into app.BaseApp 2017-10-20 13:42:03 +02:00
Ethan Frey 1e6d9bcac6 cleanup 2017-10-10 13:55:17 +02:00
Ethan Frey e0604baad5 Get abci commit hash/height working 2017-10-10 13:48:48 +02:00
Ethan Frey e85854fa83 state.NewState is always persistent, remove flag 2017-10-10 13:19:25 +02:00
Alexis Sellier 75e2591a68 Start adding versioned queries support 2017-10-05 15:54:57 +02:00
Alexis Sellier 36f8c59fee Move to iavl.VersionedTree 2017-10-04 17:05:38 +02:00
Ethan Frey 2951763660 Moved merkleeyes->iavl and updated references 2017-09-08 20:47:46 +02:00
Ethan Frey b869a999c3 Update deps, break on iavl proof changes 2017-09-08 20:47:46 +02:00
Ethan Frey 041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Alexis Sellier ee1a27e6fd Implement String method on *Bonsai 2017-08-10 14:51:56 +02:00
Ethan Frey 18a1dd7f6b Migrate Bonsai to GetWithProof 2017-08-04 15:46:00 +02:00
Ethan Frey e63f3bc2d9 Ensure deterministic ordering of keys when applying KVCache 2017-08-03 17:37:15 +02:00
Ethan Frey 7cf20ef70a Add test to enforce deteministic application of cache order 2017-08-03 17:37:15 +02:00
Ethan Frey 0b9be1069f Cleanup some todos 2017-08-03 17:37:15 +02:00
Ethan Frey b7f31ad70a Test sendtx with foreign addr creates proper ibc packet 2017-07-27 16:36:15 -04:00
Ethan Frey 746ae28eaa Add ibc query commands 2017-07-27 16:27:06 -04:00
Ethan Frey 8747bd5a8b Add set struct to the store 2017-07-27 16:25:03 -04:00
Ethan Frey 1b75d9431b Add span to hold sparse, ordered sets 2017-07-27 16:25:03 -04:00
Ethan Frey eaae12101e Add queue implementaiton to state 2017-07-27 16:25:03 -04:00
Ethan Frey dfdbfa04c2 Use KVMemCache for checkpointing IAVL tree as they are not go-routine safe... 2017-07-27 15:31:34 -04:00
Ethan Frey 2b79aa0413 Code cleanup from emmanuel 2017-07-27 15:31:34 -04:00
Ethan Frey ea8bdd3f92 Fix app state to commit properly 2017-07-27 15:31:34 -04:00
Ethan Frey 51a29e4bb7 Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
Ethan Frey f1785e312d SimpleDB works except for persisted 2017-07-27 15:31:33 -04:00
Ethan Frey 84e2fa64f1 Cache test for Bonsai 2017-07-27 15:31:33 -04:00
Ethan Frey d607b76234 Reorg state package and fix all imports 2017-07-27 15:31:33 -04:00
Ethan Frey d0d1a96517 Make kvtests legible 2017-07-27 15:31:32 -04:00
Ethan Frey 744d035d95 Test list queries and iavl implementation 2017-07-27 15:31:32 -04:00
Ethan Frey 37b5d16b73 Add basic kv tests 2017-07-27 15:31:32 -04:00
Ethan Frey 28ebfd64dd Started implementing SimpleDB for MemKVStore 2017-07-27 15:31:32 -04:00
Ethan Frey caff0ad01b Add SimpleDB interface for merkle tree 2017-07-27 15:31:32 -04:00
Ethan Frey f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
Ethan Frey 49357a3574 Move kvstore from types to state 2017-07-06 14:23:38 +02:00
Ethan Frey 912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
Ethan Frey 5c813833a0 Remove IBC plugin and unneeded code 2017-07-06 13:06:58 +02:00
Ethan Frey ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey ad4e3a8b3b rige: for you 2017-06-30 18:58:47 +02:00
Ethan Buchman 4503bb61f2 test SendTx to IBC packet 2017-05-22 07:35:23 -04:00
Ethan Buchman 412c2b5bb7 support SendTx to other chains via IBC 2017-05-22 07:35:23 -04:00
Ethan Frey 41c0f7cb69 Owa! nil logger -> crash on CheckTx :( 2017-05-16 23:47:36 +02:00
Anton Kaliaev e42849b4b8 move logger to state
also remove redundant root.go logger
2017-05-14 20:48:11 +02:00
Anton Kaliaev 41ef8af108 new logging 2017-05-14 20:47:01 +02:00
Ethan Buchman 1a6fae6af6 update import paths for repo merge 2017-04-27 15:55:23 +02:00
Ethan Frey 0665a2e8a6 Clean up all XxxS structs to Xxx 2017-04-27 15:52:53 +02:00
Ethan Buchman eae5dc1861 tiny cleanup 2017-04-17 20:10:31 -04:00
rigel rozanski e36a40c603 fixes, remove assert with Sprintf 2017-04-17 19:53:06 -04:00