Commit Graph

514 Commits

Author SHA1 Message Date
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
Ethan Frey
1307064ce5 Add tests on base tx 2017-06-30 18:37:48 +02:00
Ethan Frey
6029f5c986 Introduce the concept of TxLayer 2017-06-30 18:37:48 +02:00
Ethan Frey
207cf6b64e Add fee tx wrapper 2017-06-30 18:37:48 +02:00
Ethan Frey
24802303e0 Start tx framework, testing sigs 2017-06-30 18:37:47 +02:00
Ethan Frey
bdd0463849 Start tx holder with gen 2017-06-30 18:37:47 +02:00
Ethan Frey
defe9f941f Renamed scripts to publish for clarify, it is just for publishing releases 2017-06-30 18:34:19 +02:00
Ethan Frey
6dc3aedc25 Fix up the tx parsing for chain ids in address 2017-06-30 18:30:02 +02:00
Ethan Frey
4b815f4289 Test to reproduce #147 2017-06-30 18:28:40 +02:00
Ethan Frey
d36486aed7 Print output addr on failed tx to help debug #147 2017-06-29 15:13:33 +02:00
Ethan Frey
d3b66492f7 Merge pull request #145 from tendermint/feature/99-autotest-tutorials
Feature/99 autotest tutorials
2017-06-29 14:59:40 +02:00
Ethan Frey
78787ccd23 Cleanup Makefile - cache shunit2 files 2017-06-29 14:53:38 +02:00
Ethan Frey
8618e287e5 Add vagrantfile so i can build dist on osx (docker) 2017-06-29 14:44:34 +02:00
rigel rozanski
4e93be304e circle fix, minor IBC tutorial 2017-06-29 05:52:07 -04:00
rigel rozanski
a7c07ab3c0 Auto-tutorial basecoin-tool 2017-06-29 05:48:25 -04:00
rigel rozanski
b65cd2ab8d auto-tutorial basecoin plugins 2017-06-29 05:48:25 -04:00
rigel rozanski
a08775052c circle fixes 2017-06-29 05:47:38 -04:00
rigel rozanski
ec7ef41fdc First Full Auto-Tutorial Test 2017-06-29 05:47:38 -04:00
rigel rozanski
985665fb8a working 2017-06-29 05:47:38 -04:00
rigel rozanski
e521f3769e tutorial auto-testing, basecoin basics 2017-06-29 05:47:38 -04:00