Commit Graph

209 Commits

Author SHA1 Message Date
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
rigelrozanski 5ba297089a expose some keeper functions, tick cleanup 2018-03-28 19:01:50 +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 742d24b7e4
Merge pull request #699 from lino-network/builder
Encapsulate Get Passphrase Logic in Builder
2018-03-27 20:25:48 -04:00
Rigel f2cf779117
Merge pull request #700 from lino-network/KeyAddBug
Fix key add override bug
2018-03-27 22:06:47 +02:00
Ethan Buchman 4331d9c2a4 fix test 2018-03-27 11:35:58 -04:00
Yukai Tu 487424eb19 Fix key add override bug 2018-03-25 01:35:02 -07:00
Yukai Tu 96d9c55172 Encaptulate Get Passphrase Logic in Builder 2018-03-24 23:14:18 -07: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
Matt Bell ef68be2f38 Added IBC transfer REST endpoint 2018-03-19 18:13:37 +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 7f3a6e0c04 Options -> AppState 2018-03-17 23:10:44 +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
rigelrozanski fdb9d5f580 moved actual go commands 2018-03-17 22:14:19 +01:00
Fabian b3532e2d2b using actual running servers + http calls to test REST 2018-03-17 22:14:19 +01:00
rigelrozanski 8858371c43 ... 2018-03-17 22:14:19 +01:00
Fabian Weber 5cc0acf274 improved send coins test 2018-03-17 22:14:19 +01:00
Fabian Weber 8cd9e05fc2 remove keys.db 2018-03-17 22:14:19 +01:00
Fabian e8e1e2899b removed /latest endpoints and checks 2018-03-17 22:14:19 +01:00
Fabian abfa409d37 fixed merge 2018-03-17 22:14:19 +01:00
Fabian Weber 1b78752311 removed clutter 2018-03-17 22:14:19 +01:00
Fabian Weber ef88f34d57 added regexp for version returned 2018-03-17 22:14:19 +01:00
Fabian 0121c98a1e add /accounts endpoints but failing 2018-03-17 22:14:19 +01:00
Fabian 0d423ae066 ignore generated keys.db from tests 2018-03-17 22:14:19 +01:00
Fabian 4ef129d9e6 require seed for account creation 2018-03-17 22:14:19 +01:00
Fabian f1cdf57a48 add request test helper 2018-03-17 22:14:19 +01:00
Fabian 8aec254333 add add key test 2018-03-17 22:14:19 +01:00
rigelrozanski 11fdd831ee refactoring server new non-deterministic error :( 2018-03-17 22:14:19 +01:00
Fabian Weber 189ce0d73f added version test 2018-03-17 22:14:19 +01:00
Fabian Weber 134d909cf6 added failing tests for blocks and validators 2018-03-17 22:14:19 +01:00
Fabian Weber b6c094f1ad improved node status tests 2018-03-17 22:14:19 +01:00
Fabian 2f470baf19 refactored route registering 2018-03-17 22:14:19 +01:00
Fabian Weber afea775748 improved test output 2018-03-17 22:14:19 +01:00
rigelrozanski a28f53721d rebase fixes
...
2018-03-17 22:14:19 +01:00
rigelrozanski c7589cc67c lcd tests to assert 2018-03-17 22:14:19 +01:00
Fabian Weber cdba13c531 added node info tests 2018-03-17 22:14:19 +01:00
Fabian 37bbde837b added node syncing endpoint 2018-03-17 22:14:19 +01:00
Fabian Weber 7d36d953f2 added tests for /keys 2018-03-17 22:14:19 +01:00
Ethan Buchman ad705fdea1 bump version
added rest server and status endpoint

added get block endpoint

added latest block endpoint

add 404 if height is out of bounds

add version endpoint

add validators endpoint

export GetBlockHeight

add keys endpoints

add txs endpoints

added verb limiters to ednpoints

only output node info + json structure improvement

fixed wrong body parsing

github PR template

crypto.Address -> sdk.Address

revert to old go-wire

update glide

remove print statement and update glide

fix #554

add .DS_Store to .gitignore

Massive consolidation: queue, data storage struct, store, logic, ...

Small fixes
2018-03-17 22:14:19 +01:00
Ethan Buchman 3babf8c2d9 fix and clean fees and x/auth 2018-03-17 19:54:18 +01:00
rigelrozanski 5965df1613 move signmsg into common sign and build functionality 2018-03-17 16:49:47 +01:00
Ethan Buchman 2336a20f5a fix cli to sign StdSignDoc. fixes #620 2018-03-14 13:11:19 +01:00
Ethan Buchman 032a0b4539
Merge pull request #552 from cosmos/rigel/basecoin-upgrade
Basecoin Upgrade + tiny bit client refactor
2018-03-11 00:12:02 +01:00
Ethan Buchman 9dc3690a0c change deps to master. remove tmwire dep 2018-03-08 19:48:17 +00:00
rigelrozanski fb199e293e fixes, add to changelog 2018-03-04 17:21:37 +00:00
rigelrozanski b6347db664 refactor client 2018-03-04 17:21:37 +00:00
Ethan Buchman 630a5fe579 revert to old go-wire 2018-03-02 04:24:07 -05:00
rigelrozanski 0469358286 rebase fixes 2018-03-01 03:17:48 +00:00
rigelrozanski 3be46395cf restructure to remove deps on example 2018-03-01 02:36:57 +00:00
rigelrozanski 65f27f2daa basecli refactor 2018-03-01 02:36:57 +00:00
Ethan Frey 94948746a0 rpc cli output uses wire.MarshalJSON 2018-03-01 02:36:57 +00:00
Ethan Frey bb74e84b29 Clean up keys/keybase and comments 2018-03-01 02:36:57 +00:00
Ethan Frey 03dc660797 Cleanup client/input.go per buckys request 2018-03-01 02:36:57 +00:00
Ethan Frey 05f5141734 Cleanup from rige's review 2018-03-01 02:36:57 +00:00
Ethan Frey 8392cf93ac Implement RPC subcommands
Turned out the tendermint rpc was broken in the refactor and
had to fix that first...
2018-03-01 02:36:57 +00:00
Ethan Frey c083678cae cleaned up basecli tx so it really works 2018-03-01 02:36:57 +00:00
Ethan Frey 734b1073ba Added tx subcommands and automate manual testing 2018-03-01 02:36:57 +00:00
Ethan Frey bae7cec3fa Move all subcommands out of main into proper folders 2018-03-01 02:36:57 +00:00
Ethan Frey c7ca6ec038 Fixed import 2018-03-01 02:36:57 +00:00
Ethan Frey 356baf61c1 Move sendtx and query account commands into x/bank 2018-03-01 02:36:57 +00:00
Ethan Frey 00304dd094 Prompt for password on sendtx 2018-03-01 02:36:57 +00:00
Ethan Frey 8c93a6455b Implement query account without proofs 2018-03-01 02:36:57 +00:00
Ethan Frey b0c65f8045 All keys logic works with new basecli 2018-03-01 02:36:57 +00:00
Ethan Frey 7361269eb6 Updated keys add 2018-03-01 02:36:57 +00:00
Ethan Frey ee31db3263 Very rough import of old keys logic 2018-03-01 02:36:57 +00:00
Ethan Buchman e45ad068fb move things to _attic 2018-01-06 15:35:22 -05:00
Jae Kwon 1d207a2a5e Fixing store/* bugs... 2017-12-04 00:23:10 -08:00
Ethan Frey 850796bad5 eyes example compiles - but doesnt work 2017-10-25 19:56:48 +02:00
Ethan Frey 2cc53beca7 CLI supports creating ledger keys 2017-10-25 19:54:57 +02:00
Ethan Frey 6f87b0a42f Rename seeds command to commits 2017-10-25 19:35:36 +02:00
Ethan Frey 9442e7e04a Cleaned up naming of seed->commit 2017-10-25 19:35:36 +02:00
Ethan Frey 1c446f4b49 fix client tests 2017-10-25 19:35:36 +02:00
Ethan Frey 1b7bec230d make install works 2017-10-25 19:35:36 +02:00
Ethan Frey 624133ad92 Fix lot more lightclient imports 2017-10-25 19:35:36 +02:00
Ethan Frey 1f897cabde Fix light-client imports 2017-10-25 19:35:36 +02:00
Ethan Frey 7fad21d800 Use own ErrNoData, not from light-client 2017-10-25 19:35:36 +02:00
Ethan Frey c4ead8b8a3 Expose height flag in all queries 2017-10-25 19:14:28 +02:00
Ethan Frey 422e67b382 Update deps: tendermint/abci/iavl, fix code 2017-10-25 19:14:28 +02:00
Ethan Frey f65215ad92 Big cleanup of app dir
StoreApp just the queries, BaseApp with handler/ticker
Ticker now defined top level, as an interface, with context
Name for info taken as parameter, start cmd uses commandline name
Cleaner compisition of apps.
2017-10-20 13:42:03 +02:00
Ethan Frey c1d36eeb21 Fixed all tests 2017-10-20 13:42:03 +02:00
Ethan Frey 6c667b8398 Use tendermint version format for basecoin version 2017-10-20 13:05:59 +02:00
Ethan Frey 5238448a46 Make sure height in store increments every block, even if empty 2017-10-10 15:03:39 +02:00
Ethan Frey 9092b4d7f1 Fix TestTxProofs 2017-10-10 14:27:38 +02:00
Ethan Frey 8fbf923c25 Update binaries to use our key commands, not the ones from go-crypto 2017-09-08 20:47:46 +02:00
Ethan Frey ed690b8aa3 Move keys command from go-crypto here 2017-09-08 20:47:46 +02:00