Commit Graph

533 Commits

Author SHA1 Message Date
Ethan Frey
8003034bbb Test reading back counter tx 2017-07-04 14:19:28 +02:00
Ethan Frey
c6c5e34c3a Fix shell-down tutorials 2017-07-04 14:10:06 +02:00
Ethan Frey
49ebe59804 Get counter app working, with cli tests 2017-07-04 14:04:18 +02:00
Ethan Frey
6d56891a0f Re-implement counter plugin 2017-07-04 13:43:25 +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
9cd303d1fd Cleaned up unneeded adapters 2017-07-03 22:34:30 +02:00
Ethan Frey
413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey
af132fbab8 Fixed basecli query for 0.7 2017-07-03 21:53:58 +02:00
Ethan Frey
36be40f3af Fix genesis tests 2017-07-03 21:40:10 +02:00
Ethan Frey
fc44de2141 Fix up BasecoinApp and tests 2017-07-03 21:34:08 +02:00
Ethan Frey
7c4f408934 Implement SetOption in coin module 2017-07-03 18:58:28 +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
ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey
d0a2041c89 Remove references to IBC from binaries 2017-07-03 16:47:03 +02:00
Ethan Frey
c5a1b4883a Connect coin handler to a store and test it 2017-07-03 15:33:59 +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
5fa77bf647 Refactor errors package, so we can do type-checking IsXXErr() 2017-07-03 14:22:46 +02:00
Ethan Frey
2fc4da1076 Rough draft of the new coins storage 2017-06-30 20:55:23 +02:00
Ethan Frey
673b51f3b0 More thorough tests on coin module 2017-06-30 20:26:17 +02:00
Ethan Frey
27a31953f9 Now solid validation tests for coin 2017-06-30 20:00:27 +02:00
Ethan Frey
c2edd9ac14 Start testing the sendtx validation 2017-06-30 19:44:35 +02:00
Ethan Frey
ad4e3a8b3b rige: for you 2017-06-30 18:58:47 +02:00
Ethan Frey
96348d2500 Fixed tests 2017-06-30 18:37:51 +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
6fdf71f187 Pull out sendtx into own module 2017-06-30 18:37:51 +02:00
Ethan Frey
872c04280c Pull out fees from base into own module 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
Ethan Frey
98e65124a1 Middleware system with secure auth contexts 2017-06-30 18:37:49 +02:00
Ethan Frey
f6395c8981 Update middlewares to new interface 2017-06-30 18:37:49 +02:00
Ethan Frey
eed1bf753d Start separating middleware and handler 2017-06-30 18:37:49 +02:00
Ethan Frey
52f7a47ef2 Abstracted out the permissions for multiple apps 2017-06-30 18:37:49 +02:00
Ethan Frey
c5a62143ec Fix tests after rebase 2017-06-30 18:37:49 +02:00
Ethan Frey
ab72ca881e Add fee handler and signer handler to show how layering works 2017-06-30 18:37:49 +02:00
Ethan Frey
f4393511ee First demo of handlers 2017-06-30 18:37:49 +02:00
Ethan Frey
be89f1f582 Clean up error handling 2017-06-30 18:37:48 +02:00
Ethan Frey
9db18750be Added ValidateBasic() to all Tx for easy stateless pre-filtering 2017-06-30 18:37:48 +02:00
Ethan Frey
2c9123224e Add refactored SendTx, chain filter, and new error codes 2017-06-30 18:37:48 +02:00
Ethan Frey
c130603d10 Import errors from personal tmflow repo, and cleanup 2017-06-30 18:37:48 +02:00