Commit Graph

164 Commits

Author SHA1 Message Date
rigelrozanski cd689ce2c1 remove experimental bash tests from ci
int

Fix typo

...
2018-05-07 19:12:45 -04:00
rigelrozanski 7e2ac80137 cli testing fix 2018-04-26 14:26:39 -04:00
Ethan Buchman d1402f4e92 move waitForXxx funcs from lcd to tests.WaitForXxx 2018-04-26 14:26:39 -04:00
rigelrozanski c80b9674cd stake CLI various fixes, confirmed working 2018-04-18 12:19:35 -04:00
rigelrozanski 59f86b4251 interim borken 2018-04-18 12:19:35 -04:00
rigelrozanski ebb2faabe0 go-bash working 2018-04-18 12:19:35 -04:00
rigelrozanski 3ab032e1c6 cli testing 2018-04-18 12:19:35 -04:00
rigelrozanski 8ab77e2ab5 started gaia go-bash cli testing 2018-04-18 12:19:35 -04:00
Ethan Buchman 683663f680 fixes post rebase 2018-03-17 23:09:04 +01:00
Fabian Weber 07a1f4dc15 increase timeout for server and add output to console 2018-03-17 22:17:56 +01:00
Matt Bell fa78893f40 Fixed LCD tests 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 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 b44690563a hack city 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
rigelrozanski c8032a3588 ... 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
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
Zach Ramsay d4dcc4c3c8 tests: more organized 2018-02-13 09:12:23 -05:00
Zach Ramsay b51d5dda8c remove deprecated 'tests/' directory & old D-file 2018-02-13 09:12:23 -05:00
Ethan Frey ff0a50a1b3 Fix cli tests to explicitly pass height when querying results of tx 2017-10-25 19:14:28 +02:00
Ethan Frey 5714b101b5 Handle explicit heights to query tx in basictx.sh 2017-10-25 19:14:28 +02:00
rigelrozanski d3b4d42458 integrated init --static, fix tests 2017-10-10 03:13:02 -04:00
Ethan Frey b11536c579 Move the tests into basecoin examples 2017-09-08 20:51:14 +02:00
rigelrozanski 4ac089f084 json testing, addressed init option PR comments 2017-09-06 01:19:20 -04:00
Rigel Rozanski ab8505d1f6 init options tests 2017-09-06 01:19:20 -04:00
Rigel Rozanski bfd4ce96bb added init option flag and tests 2017-09-06 01:19:20 -04:00
Ethan Frey 96f96ffc3d Moved basecoin into examples 2017-09-04 16:50:09 +02:00
Ethan Frey b274494474 Fix timing issue in rest cli test 2017-09-04 16:50:09 +02:00
Ethan Frey 041396b53e Moved eyes into example apps, cleaned up Makefile 2017-09-04 16:50:09 +02:00
Ethan Frey d22c08b12a Store shunit2 in the repo, no dangerous wget each test 2017-09-04 16:50:09 +02:00
Ethan Frey ce46642aa0 Move counter cli tests into example dir 2017-09-04 16:50:09 +02:00
Ethan Frey 041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Ethan Frey 8a430648e4 Bump version to 0.7.0-alpha 2017-08-18 23:48:57 +01:00
Emmanuel Odeke 8a4e24925a Fixed tests/cli/rest.sh for checking accounts 2017-08-18 22:50:10 +01:00
Emmanuel Odeke f52d92a40e modules/coin/rest: implemented CreateRole
* Note: Role must be a hex string, as enforced in tests/rest/cli.sh

```shell
$ curl -X POST http://localhost:8998/build/create_role --data \
'{
  "role":"DEADBEEF", "seq": 1,
  "min_sigs": 1,
  "signers": [{
    "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9", "app": "role"
  }]
}'
```

```HTTP
HTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 08 Aug 2017 19:15:13 GMT
Content-Length: 387

{
  "type": "chain/tx",
  "data": {
    "chain_id": "test_chain_id",
    "expires_at": 0,
    "tx": {
      "type": "role/create",
      "data": {
        "role": "DEADBEEF",
        "min_sigs": 1,
        "signers": [
          {
            "chain": "",
            "app": "role",
            "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9"
          }
        ]
      }
    }
  }
}
```

Updates #200
2017-08-18 22:32:04 +01:00
Ethan Frey 2b1c4dd8b9 Really renames etc -> eyes... finish the job 2017-08-07 19:21:07 +02:00
Ethan Frey 0133723aca Clean up comments 2017-08-07 18:50:33 +02:00
Ethan Frey 483ed6d87a Add cli tests for eyes query and add to Makefile 2017-08-07 18:50:33 +02:00
Ethan Frey f2adf3645a role cli uses hex for consistency 2017-08-04 14:44:28 +02:00
Ethan Frey 4652779a3d Fix up flag handling 2017-07-29 17:23:21 -04:00
Ethan Frey 8dd2371cc5 Don't require init when --trust-node is given 2017-07-29 17:23:21 -04:00
Ethan Frey b98bfc01ae Add --trust-node flag to cli to skip proofs on queries 2017-07-29 17:23:21 -04:00
Ethan Frey f0e2227ada Use password as key, allow 3 letter names 2017-07-29 17:16:24 -04:00