Commit Graph

70 Commits

Author SHA1 Message Date
rigelrozanski ecf800810c remove append usage from lcd, fix address order test issue in lcd 2018-05-30 09:00:00 -07:00
Rigel 1c462013a9
Merge branch 'develop' into matt/stake-rest 2018-05-30 10:53:12 -04:00
rigelrozanski 52cd8b8c1f fix endPath missing bug for query 2018-05-30 07:42:59 -07:00
Matt Bell 99e5c5a18f Restored validators query endpoint 2018-05-29 15:07:03 +09:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Matt Bell 5c1a7694e5 Merge branch 'develop' into matt/stake-rest 2018-05-27 16:02:33 +09:00
Matt Bell cfa1d42292 Fixed LCD staking tests 2018-05-26 17:37:39 +09:00
rigelrozanski 57d86cc04c fix many lcd errors, restructure lcd init 2018-05-25 10:17:49 -04:00
Matt Bell 0738de17f4 Removed candidates endpoint and addressed some comments 2018-05-25 09:32:43 +09:00
Matt Bell 6ad16e6c90 Changes to /stake/candidates REST handler 2018-05-25 09:32:37 +09:00
Matt Bell cb107c7383 Fixed LCD tests 2018-05-25 09:32:37 +09:00
Matt Bell 2c46662141 Added LCD test for candidates query 2018-05-25 09:32:37 +09:00
Matt Bell 10056d36d1 Set generated candidate addresses in lcd tests 2018-05-25 09:32:37 +09:00
Matt Bell 98b9040c63 Use actual types for genesis doc instead of unmarshaling JSON 2018-05-25 09:32:37 +09:00
Matt Bell 39995fe065 Added (non-working) stake REST tests 2018-05-25 09:32:12 +09:00
sunnya97 5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
Ethan Buchman d1402f4e92 move waitForXxx funcs from lcd to tests.WaitForXxx 2018-04-26 14:26:39 -04:00
rigelrozanski 1f9184a24b basic go-linting // moved corecontext 2018-04-18 15:39:32 -04:00
Christopher Goes f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Christopher Goes 49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Ethan Buchman 1860f988b6 fix tests 2018-04-07 20:56:49 +03:00
Jae Kwon 413780807e WIP 2018-04-07 02:16:41 -07:00
Jae Kwon 49fdf80d9d WIP commit 2018-04-06 17:25:08 -07:00
Ethan Buchman e7e98a0644 lcd: waitForHeight instead of sleep in tests 2018-04-02 19:31:54 +03:00
Ethan Buchman e226cb7a35
Merge branch 'develop' into cwgoes/misc-minor-fixes 2018-03-31 18:54:06 +03:00
Christopher Goes 10a22f20ba
Remove 'cool' and 'sketchy' modules from basecoind 2018-03-30 16:32:11 +02:00
Ethan Buchman d25593afc4
Merge pull request #726 from cosmos/adrian/mountmultipledbs
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Adrian Brink 0789a5eed0
NewBasecoinApp takes a map of databases
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02:00
Ethan Buchman 66a1130f9d
Merge pull request #662 from cosmos/matt/ibc-rest
REST IBC transfer endpoint
2018-03-29 08:45:46 -04:00
Christopher Goes 0f9bd93bb1
Switch a few directories (#644 #646) 2018-03-29 12:10:13 +02:00
Christopher Goes 44de18e8da Use temporary dir for lcd keybase tests (closes #646) 2018-03-29 12:04:52 +02:00
Christopher Goes bb66b852ef Move keybase DB to ~/.basecoind/data (closes #644) 2018-03-29 12:04:52 +02:00
Adrian Brink 243564c233
Tests can never be proven to be non-deterministic
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Christopher Goes 5b642062a7 Initial per-module genesis initialization 2018-03-28 11:24:31 +02:00
Ethan Buchman 4331d9c2a4 fix test 2018-03-27 11:35:58 -04:00
Matt Bell 5cfad33e49 Remove duplicate check 2018-03-20 13:46:02 +01:00
Matt Bell 0eec9671b2 Fixed IBC test 2018-03-20 11:53:02 +01:00
Matt Bell bad5228c4c IBC transfer REST test 2018-03-19 18:13:47 +01:00
Ethan Buchman 64852138b6 fix the tests. includes some hacks 2018-03-18 02:02:26 +01:00
Ethan Buchman d807d32f8a client/lcd: wip use in-proc tm and lcd for tests 2018-03-17 23:12:43 +01:00
Ethan Buchman 683663f680 fixes post rebase 2018-03-17 23:09:04 +01:00
Fabian Weber 5ea06639f9 fix tests and refactored 2018-03-17 22:17:56 +01:00
Matt Bell fa78893f40 Fixed LCD tests 2018-03-17 22:17:56 +01:00
Fabian Weber 947262f649 checking for expected sycning response + setting uint32 2018-03-17 22:17:56 +01:00
Fabian Weber cbbb3be0d4 fixed tests + removed indexed txs 2018-03-17 22:17:56 +01:00
Fabian Weber cf6f04978c adjusted sending + tx tests 2018-03-17 22:17:56 +01:00
Fabian Weber 1cd6ec1084 most tests working 2018-03-17 22:14:19 +01:00
Fabian Weber 579bd56127 fixed some tests 2018-03-17 22:14:19 +01:00
Ethan Buchman 39c8e4eb7f client/lcd: fix up some tests. print statements abound 2018-03-17 22:14:19 +01:00
rigelrozanski 1778a27082 more of the go-bash stuff for REST 2018-03-17 22:14:19 +01:00