Commit Graph

46 Commits

Author SHA1 Message Date
Ethan Frey 2f4f875dd4 Cleanup from PR comments 2017-08-04 13:50:55 +02:00
Ethan Frey 37550ca91d Add InitValidate method for setup 2017-08-03 21:41:23 +02:00
Ethan Frey 4b69f1d5ba Rename SetOption to InitState 2017-08-03 21:41:23 +02:00
Ethan Frey eb08136104 Fix all tests for CheckTx/DeliverTx split 2017-08-03 21:41:23 +02:00
Ethan Frey cbfd2cd611 Make it all compile with new Deliver/CheckTx 2017-08-03 21:41:23 +02:00
Ethan Frey d0920ac1cf Add post packet to cli and test... bug 2017-07-27 16:41:13 -04:00
Ethan Frey 88781593bb Prepare stack middleware to handle IBC middleware 2017-07-27 16:23:08 -04:00
Ethan Frey ea8bdd3f92 Fix app state to commit properly 2017-07-27 15:31:34 -04:00
Ethan Frey 6b96fa4554 Add tests for checkpointer 2017-07-27 15:31:33 -04:00
Ethan Frey 51a29e4bb7 Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
Ethan Frey 199ee81a97 Revert all on failed CheckTx, fee+nonce increment on failed DeliverTx 2017-07-27 15:31:33 -04:00
Ethan Frey f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
rigel rozanski ac1ecc10c4 new library orders 2017-07-19 04:51:36 -04:00
Ethan Frey 454227393b Finish unit tests on fees 2017-07-12 20:22:42 +02:00
Ethan Frey 33c9aa96f3 First end-to-end role tests 2017-07-12 17:24:12 +02:00
Ethan Frey 9ea34e9c8f Add CheckHandler as a helper 2017-07-12 16:53:07 +02:00
Ethan Frey bb61b9fca3 Update cli to properly query into app state-space 2017-07-11 15:35:43 +02:00
Ethan Frey 66d1f86098 Fixed app tests for state spaces 2017-07-11 15:21:02 +02:00
Ethan Frey 5cc7406a00 Add state space to the modules and test 2017-07-11 15:05:37 +02:00
Ethan Frey 2f0cb2569f Add prefixStore (state space) 2017-07-11 13:56:39 +02:00
Ethan Frey 3e52e6b959 Add role struct, storage, better tx validation 2017-07-11 13:54:41 +02:00
Ethan Frey b6197a1c12 Add height to context, cleanup, add to app and stack 2017-07-10 12:19:42 +02:00
rigel rozanski 82c0f98235 more golint updating 2017-07-06 23:37:45 -04:00
Ethan Frey b757467f7b Moved content of txs package to sit next to the handlers 2017-07-06 16:33:38 +02:00
Ethan Frey a047e210fa Moved the handlers from stack into modules 2017-07-06 16:00:54 +02:00
Ethan Frey 49357a3574 Move kvstore from types to state 2017-07-06 14:23:38 +02:00
Ethan Frey 390fdf95cf Cleanup as requested on PR 2017-07-06 12:18:20 +02:00
Ethan Frey 670e7b48d1 Counter uses dispatcher to deduct fees from account 2017-07-04 14:47:46 +02:00
Ethan Frey 473451f020 Integrate dispatcher into app, and fix tests 2017-07-04 12:46:57 +02:00
Ethan Frey fcab8ac901 Write dispatcher, change SetOption arguments 2017-07-04 12:22:06 +02:00
Ethan Frey fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey 159574db89 Move ChainID into context 2017-07-03 17:32:01 +02:00
Ethan Frey 225904b010 NewXYZTx returns Tx already wrapped, except for sigs 2017-07-03 15:01:28 +02:00
Ethan Frey 995452ea02 Complete error package overhaul 2017-07-03 14:50:33 +02:00
Ethan Frey 673b51f3b0 More thorough tests on coin module 2017-06-30 20:26:17 +02:00
Ethan Frey 37796002ae Start on coin handler 2017-06-30 18:37:51 +02:00
Ethan Frey a0f1e5e66a First stab at multiplexer 2017-06-30 18:37:51 +02:00
Ethan Frey aa0c246f64 tmerror now dumps stack trace on %+v as well 2017-06-30 18:37:51 +02:00
Ethan Frey 4eef581396 Tested signature middleware with standard tx wrappers 2017-06-30 18:37:51 +02:00
Ethan Frey b9ce148e8e Add more middleware tests 2017-06-30 18:37:50 +02:00
Ethan Frey 82281aa3bb Add logger and chain middleware, default stack 2017-06-30 18:37:50 +02:00
Ethan Frey 1df0c9fe5b cleanup 2017-06-30 18:37:50 +02:00
Ethan Frey 4883476166 Add recovery middleware, test stack 2017-06-30 18:37:50 +02:00
Ethan Frey 7b5e41adf6 Move middleware interface into stack, testable handlers 2017-06-30 18:37:50 +02:00
Ethan Frey 4d0db39fb9 Abstracts away from pubkey addr -> app/chain-specific "actors" 2017-06-30 18:37:50 +02:00
Ethan Frey 1caeec218f Moved middleware into own package 2017-06-30 18:37:50 +02:00