Commit Graph

255 Commits

Author SHA1 Message Date
Ethan Frey 199ee81a97 Revert all on failed CheckTx, fee+nonce increment on failed DeliverTx 2017-07-27 15:31:33 -04:00
Ethan Frey 4414e69b78 Remove old test 2017-07-25 10:28:54 -04:00
Ethan Frey 44f6696f11 Proper tests for accessing a multi-sig account 2017-07-19 16:45:03 +02:00
Ethan Frey 5f1d98ba0f Tested sending 1 sig from role 2017-07-19 16:36:35 +02:00
Ethan Frey 63fc25e74e Add roles cli test, coin query supports multiple apps in actor 2017-07-19 16:14:26 +02:00
Ethan Frey a12d866ed1 --sequence=-1 broken if no sequence yet 2017-07-19 13:27:29 +02:00
rigel rozanski 0a9460dc93 auto-sequencing 2017-07-19 00:13:39 -04:00
Ethan Frey d9c39ff9e6 Bring more cli tests from light-client 2017-07-18 21:46:13 +02:00
rigel rozanski 8dc5fc718d tests working 2017-07-18 12:08:30 +02:00
rigel rozanski cb00c00f0d getting query command to operate 2017-07-18 12:08:30 +02:00
Ethan Frey 71276a53b5 A failing cli test demonstating the missing query nonce command 2017-07-18 12:08:30 +02:00
rigel rozanski 3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
Ethan Frey 9fd250209e Cli now returns errors on non-zero code from DeliverTx 2017-07-18 12:08:29 +02:00
Ethan Frey e5db61a63a Cleanup counter tx check, add replay protection to cli tests 2017-07-18 12:08:29 +02:00
rigel rozanski 23615c5d37 almost done! 2017-07-18 12:08:29 +02:00
rigel rozanski 5ccf22bfb7 frey changes 2017-07-18 12:08:28 +02:00
Ethan Frey d6d1655ab1 Add support for --fee in countercli 2017-07-12 21:04:34 +02:00
Ethan Frey c1fc5ae3c8 Add --fee flag to sendtx 2017-07-12 20:51:07 +02:00
Ethan Frey 137f8a9ce1 Remove all sequence from coin, fixed cli tests 2017-07-12 19:25:15 +02: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 6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02:00
Ethan Frey 56e61c9431 Cli tests abort cleaner when server can't start 2017-07-06 13:49:02 +02:00
Ethan Frey 912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
Ethan Frey 670e7b48d1 Counter uses dispatcher to deduct fees from account 2017-07-04 14:47:46 +02:00
Ethan Frey 8003034bbb Test reading back counter tx 2017-07-04 14:19:28 +02:00
Ethan Frey 49ebe59804 Get counter app working, with cli tests 2017-07-04 14:04:18 +02:00
Ethan Frey 473451f020 Integrate dispatcher into app, and fix tests 2017-07-04 12:46:57 +02:00
Ethan Frey 413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey d36486aed7 Print output addr on failed tx to help debug #147 2017-06-29 15:13:33 +02:00
rigel rozanski a08775052c circle fixes 2017-06-29 05:47:38 -04:00
Ethan Frey f5a546894c Resolve issue #135, support 0x on account queries 2017-06-26 18:22:51 +02:00
Ethan Frey 61e56d61b0 Clean up cli tests to remove expected error messages 2017-06-26 18:22:50 +02:00
Ethan Frey aa18ff4c4c Update go-crypto with keys seedphrase, better testable password prompts 2017-06-21 20:13:54 +02:00
Ethan Frey 682f9ecc87 Cleanup after rebase 2017-06-21 18:50:36 +02:00
Ethan Buchman 0b81676067 abci handshake 2017-06-21 18:38:20 +02:00
Ethan Frey fd28e4e884 Added tests on handling restarts well, cleaned up common 2017-06-21 18:36:54 +02:00
Ethan Frey 3b66483238 Fix up one comment 2017-06-21 16:55:19 +02:00
rigel rozanski dcb4a40bd2 quick setup/tear-down 2017-06-21 16:30:53 +02:00
rigel rozanski a78a24bbe9 bash test cleanup
int
2017-06-21 16:30:53 +02:00
Ethan Frey 4cabad0980 Minor cleanup 2017-06-21 16:24:51 +02:00
Ethan Buchman 824050a0b4 basecoin init --chain-id 2017-06-21 02:48:09 -04:00
Ethan Frey 0b7b639c58 Rewrote ibc guide for basecli and relay 2017-06-19 16:34:41 +02:00
Ethan Frey 1e76d92d85 Supress ugly kill message with disown - bash magick 2017-06-19 15:13:46 +02:00
Ethan Frey a20b640f05 Better error output when setup fails 2017-06-16 21:06:43 +02:00
Ethan Frey 6658421919 Cleanup tests a bit 2017-06-16 20:47:44 +02:00
Ethan Frey cb075bbb7e Working with relay init 2017-06-16 20:36:38 +02:00
Ethan Frey b63f8bd15a Move relay to basecoin relay start 2017-06-16 20:20:23 +02:00
Ethan Frey 6eac364c43 Complete ibc tests with "basecoin ibc register" and "basecoin relay" 2017-06-16 16:59:23 +02:00
Ethan Frey 33d4f930da basecli sendtx handles chain/addr format 2017-06-16 15:42:18 +02:00
Ethan Frey cba5523ca5 Clear output of test failures in ibc 2017-06-16 15:33:37 +02:00
Ethan Frey 4606fc84f7 Add ibc test scaffolding 2017-06-16 14:43:54 +02:00
Ethan Frey fb7fc78b2e clean up cli tests 2017-06-16 14:26:35 +02:00
Ethan Frey 526e2136e1 Fix cli tests for new countercli app 2017-06-16 14:01:37 +02:00
Ethan Frey 81d6d2425f Added counter tests as well 2017-06-16 13:38:51 +02:00
Ethan Frey 9341b8be5d Support other binaries 2017-06-16 13:38:51 +02:00
Ethan Frey 789ebada42 pulled out common helpers, prepare to support ibc 2017-06-16 13:38:51 +02:00
rigel rozanski e356fc1edb makefile cleanup 2017-06-16 13:38:22 +02:00
Anton Kaliaev 41ef8af108 new logging 2017-05-14 20:47:01 +02:00
Ethan Frey 2324f5d766 Fix all tests with new tendermint style 2017-05-12 20:54:50 +02:00
Ethan Buchman 525cb4c80b fix tendermint rpc link 2017-04-27 12:52:47 -04:00
Ethan Buchman 9c391a08a9 fix some imports 2017-04-27 15:55:23 +02:00
Ethan Buchman 1a6fae6af6 update import paths for repo merge 2017-04-27 15:55:23 +02:00
Ethan Frey b6ebf9f8b8 Update to latest go-crypto, adjust code and tests 2017-04-27 15:53:49 +02:00
Ethan Frey 57356beab6 Use WrapXxx to safelt construct XxxS structs 2017-04-27 15:52:53 +02:00
Rigel Rozanski c292d54e47 Debug Flag, Run -> RunE 2017-04-21 12:34:11 -04:00
Rigel Rozanski 5ebdd964c5 rebase updates/ rpc updates 2017-04-21 12:34:11 -04:00
rigelrozanski d19f52c893 review changes
int

int
2017-04-13 23:31:52 -04:00
Anton Kaliaev 924d11397e update go-rpc
rpc clients were renamed
2017-04-13 21:39:04 -04:00
Ethan Frey 52353433a3 Update all dependencies to develop, fix method names 2017-04-13 14:25:06 +02:00
Ethan Buchman 09433299ca add plugin_options and fix tests 2017-03-14 13:55:46 -04:00
Ethan Frey a6f62023b2 test LoadGenesis and change format 2017-02-25 00:12:15 +01:00
Ethan Frey 1fd2d17cd9 Update go-crypto, move testutils into types 2017-02-25 00:12:15 +01:00
Ethan Frey c1fa8cb0d2 Use new go-crypto S structs to get full go-data support 2017-02-25 00:12:15 +01:00
Jae Kwon b8374f4a9c Merge abci_proof 2017-01-28 09:33:07 -08:00
Jae Kwon 16ccf8c6d7 Remove spurious commits 2017-01-15 15:31:38 -08:00
Jae Kwon c0e153d103 Move tmsp_test to tests/tmsp 2017-01-15 15:16:18 -08:00
Jae Kwon 16a6680e24 Vote->Counter; Fee is types.Coin; Context has Account; Cleanup 2017-01-15 15:10:51 -08:00
rigelrozanski ba24e69e45 restructure, tmsp test now using go testing, app/tmsp_test.go 2017-01-13 15:29:12 -05:00
rigelrozanski f2275c3089 successful vote plugin tests 2017-01-13 04:27:07 -05:00
Jae Kwon 623ef17a84 Fix tests 2017-01-12 14:57:59 -08:00
rigelrozanski c1c79d1e3d pubkey not nil error 2017-01-12 14:57:59 -08:00
Jae Kwon 056106a43a Incomplete fix to make Basecoin compile 2016-09-22 17:46:42 +08:00
Jae Kwon 324e72f36d Plugin interface methods take store 2016-05-01 13:52:08 -07:00
Jae Kwon fefcbbf3b0 Remove unnecessary SetSignature calls 2016-04-19 17:21:02 -07:00
Jae Kwon 7676e59944 Fixing tests 2016-04-19 17:11:19 -07:00
Jae Kwon ce2b8904d6 Split validation into basic/advanced 2016-04-18 08:09:19 -07:00
Jae Kwon bc78a2d272 Governmint testing 2016-04-17 12:41:26 -07:00
Jae Kwon d6f75370a1 Disable scripts/* building with build tags 2016-04-13 15:05:07 -07:00
Jae Kwon a16b96062b Coins and fees and gas... 2016-04-01 15:19:07 -07:00
Jae Kwon f81718eea4 Fix tx encoding 2016-03-30 13:20:55 -07:00
Jae Kwon 13a0bdd911 Fix Basecoin CheckTx cache 2016-03-29 14:25:17 -07:00
Jae Kwon cd3da2bf29 Add TestSequence in tests/tmsp 2016-03-28 09:35:19 -07:00
Jae Kwon fa39c9da5c s/CallTx/AppTx/g; NamedPlugins 2016-03-27 12:47:50 -07:00
Jae Kwon 601a654b7d Plugin support for SetOption, Query, and Commit 2016-03-24 14:10:17 -07:00
Jae Kwon 83e7c9dab1 Basecoin TMSP test; Result logs 2016-03-24 11:27:44 -07:00
Jae Kwon 5049c35efc Merge basecoin with tendermint_classic 2016-03-21 15:31:25 -07:00
Jae Kwon 63279a897c Begin integrating Governmint 2016-03-15 15:01:53 -07:00
Jae Kwon 3235172a74 Move main.go to cmd/main.go 2016-02-21 15:09:47 -08:00
Jae Kwon cec82d8250 s/blackstar/basecoin/g 2016-02-16 12:29:54 -08:00
Jae Kwon 0417c71543 s/GetHash/Commit/g 2016-02-14 13:13:49 -08:00
Jae Kwon 538f3110b1 Relaxed nonce-checking for demo 2016-02-08 15:01:26 -08:00
Jae Kwon 7dccf61484 Fix app 2016-02-08 02:19:32 -08:00
Jae Kwon 01b2def693 Actually set Input.Signature; Call rpc broadcast_tx_sync 2016-02-08 01:55:13 -08:00
Jae Kwon 436e0ba7d7 Added genesis file; Added draft of Tendermint tests 2016-02-07 22:54:49 -08:00