Commit Graph

164 Commits

Author SHA1 Message Date
Ethan Frey 70fe2444ab Deduplicate validator changes in EndBlock and test this 2017-08-03 21:41:24 +02:00
Ethan Frey a46cb62272 Returns all validator changes from DeliverTx in EndBlock 2017-08-03 21:41:24 +02:00
Ethan Frey 4b69f1d5ba Rename SetOption to InitState 2017-08-03 21:41:23 +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 fd10387eb5 Tested register and update ibc via cli 2017-07-27 16:30:20 -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 27e7fbe4cf Last cleanup 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 199ee81a97 Revert all on failed CheckTx, fee+nonce increment on failed DeliverTx 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 f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
Ethan Frey 5272ca5831 Add checkpoint to middleware not app 2017-07-27 15:31:31 -04:00
Ethan Frey 5f1d98ba0f Tested sending 1 sig from role 2017-07-19 16:36:35 +02:00
Ethan Frey 911dd1423e Add roles wrapper/tx/query command to basecoin 2017-07-19 14:26:40 +02:00
rigel rozanski ac1ecc10c4 new library orders 2017-07-19 04:51:36 -04:00
rigel rozanski 3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
rigel rozanski 007230e583 swap the nonce & chain check order in stack 2017-07-18 12:08:29 +02:00
rigel rozanski 7a37b9b9a9 unit test fixes after rebase 2017-07-18 12:08:29 +02:00
rigel rozanski 16b039534d working sequence number with errors 2017-07-18 12:08:28 +02:00
rigel rozanski 50e4d31149 working nonce module 2017-07-18 12:08:27 +02:00
Ethan Frey 36a453ea41 Fee handler set by default, tested app level 2017-07-12 20:38:54 +02:00
Ethan Frey 5950ff34e3 remove sequence number from coins 2017-07-12 19:25:14 +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 b6197a1c12 Add height to context, cleanup, add to app and stack 2017-07-10 12:19:42 +02:00
Ethan Frey 100d88d7dd Fix up all tests to handle NewChainTx change 2017-07-10 11:57:37 +02:00
rigel rozanski 1821f8bd7a more cleanup
int
2017-07-07 01:27:29 -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 6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02: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 390fdf95cf Cleanup as requested on PR 2017-07-06 12:18:20 +02:00
rigel rozanski 0303f2aaaa golinted up to and incl modules 2017-07-06 05:30:03 -04:00
rigel rozanski 375fad3bec go linting working 2017-07-04 23:28:27 -04: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 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 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 Buchman 0b81676067 abci handshake 2017-06-21 18:38:20 +02:00
Anton Kaliaev e242345d03
fix panic when genesis file does not include app_options (Fixes #101) 2017-06-05 15:11:46 +03:00
Ethan Buchman 1f5a278965 fix build/tests 2017-05-22 07:44:50 -04:00
Ethan Buchman f4c5edaca3 fixes to compile 2017-05-22 07:35:23 -04:00
Ethan Frey ecaff359d2 89: Add support for setting accounts by address (not just pub_key) in genesis.json 2017-05-22 13:10:25 +02:00
Ethan Frey b53d71c5cf 87: sort the coins from genesis.json/SetOptions to ensure they are valid 2017-05-22 11:59:34 +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 78593078ba fix genesis format 2017-05-13 20:04:53 -04:00
Ethan Buchman 1a6fae6af6 update import paths for repo merge 2017-04-27 15:55:23 +02:00
Ethan Frey 787cf0ebac Update to patched go-p2p, tendermint, fix a few tests 2017-04-27 15:53:49 +02:00
rigelrozanski b60845c818 BCHOME default dir change
int

int

int

int
2017-04-21 12:34:11 -04:00
rigel rozanski e36a40c603 fixes, remove assert with Sprintf 2017-04-17 19:53:06 -04:00
Ethan Buchman e6ec782f0c minor cleanup 2017-04-17 17:47:00 -04:00
Rigel Rozanski f857f6218b foo->in bar->out, use of variadic variables 2017-04-13 23:31:52 -04:00
Ethan Buchman 750859f1e8 some renames and comments 2017-04-13 23:31:52 -04:00
rigelrozanski d19f52c893 review changes
int

int
2017-04-13 23:31:52 -04:00
rigelrozanski 468b35f28d removed comment test 2017-04-13 23:31:52 -04:00
rigelrozanski e788a9863a commented failing test 2017-04-13 23:31:52 -04:00
rigelrozanski 0720a03dae tests cleanup
cleanup
2017-04-13 23:31:52 -04:00
rigelrozanski 16ff0ccf4f finished execution test
int

interim, tests finalized
2017-04-13 23:31:52 -04:00
rigelrozanski 4bf37baf0b Additional Unit Tests
int

int

int

int, got it working!

int
2017-04-13 23:31:52 -04:00
Ethan Buchman 09433299ca add plugin_options and fix tests 2017-03-14 13:55:46 -04:00
Ethan Buchman 03ea00f1e6 consolidate genesis files 2017-03-14 13:32:39 -04:00
Ethan Frey a6f62023b2 test LoadGenesis and change format 2017-02-25 00:12:15 +01:00
Ethan Buchman b593954285 forgot log.go file 2017-02-21 16:44:27 -05:00
Ethan Buchman 0b77bcfce6 Query: Height -> LastHeight 2017-02-17 09:38:59 -05:00
Ethan Buchman 558df7da15 enable ibc by default 2017-02-17 09:37:48 -05:00
Ethan Frey 1d8f59644f Updated dependencies 2017-02-17 13:32:58 +01:00
Ethan Frey 7c481f8c72 Add /account path to query 2017-02-13 16:50:17 +01:00
Matt Bell c23c018824 Assert that Basecoin ABCI app implements abci.BlockchainAware 2017-02-04 15:09:16 -08:00
Matt Bell 4ea03bc9dd Change ABCI app to implement abci.BlockchainAware interface 2017-02-04 15:09:16 -08:00
Ethan Buchman 5c9d63c6e0 app.GetState() for testing 2017-02-03 16:06:12 -05:00
Ethan Frey 66697774dd Actually return result on successful tx 2017-02-02 21:26:46 +01:00
Ethan Buchman f811502826 cmd: counter tx 2017-01-29 16:30:25 -08:00
Jae Kwon b8374f4a9c Merge abci_proof 2017-01-28 09:33:07 -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
Jae Kwon 6cb95498fd TMSP -> ABCI 2017-01-14 20:42:47 -08:00
Jae Kwon 8a6e4095b7 Cleanup code, remove plugin type byte 2017-01-13 16:10:22 -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 1c50204470 Reset readCache upon commit 2017-01-12 17:49:51 -08:00
Jae Kwon 88fd1b752e Cache updates to state.store in readCache 2017-01-12 14:57:59 -08:00
rigelrozanski c1c79d1e3d pubkey not nil error 2017-01-12 14:57:59 -08:00
Jae Kwon 324e72f36d Plugin interface methods take store 2016-05-01 13:52:08 -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 13a0bdd911 Fix Basecoin CheckTx cache 2016-03-29 14:25:17 -07:00
Jae Kwon f498e53095 Fix SetOption set account 2016-03-27 23:04:58 -07:00
Jae Kwon f491c8d8fb Query uses type bytes 2016-03-27 21:51:04 -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 964a4cfd50 Plugins and AccountCaches 2016-03-24 12:17:26 -07:00
Jae Kwon 83e7c9dab1 Basecoin TMSP test; Result logs 2016-03-24 11:27:44 -07:00