Commit Graph

97 Commits

Author SHA1 Message Date
Simon Warta
fe5acb9056 Extract init.sh 2020-02-10 14:25:33 +01:00
Simon Warta
9bcf9fed8e Use beforeAll to create contract for "contract state" block 2020-02-10 13:08:33 +01:00
Simon Warta
6e83bd6459 Let queryContractSmart return a string 2020-02-10 13:08:32 +01:00
Ethan Frey
77294979bc Ensure metadata is set 2020-02-10 12:46:01 +01:00
Ethan Frey
abe8eeeac3 Return full info on 500 errors 2020-02-10 12:41:47 +01:00
Ethan Frey
efcca8a769 Download wasm code by id works 2020-02-10 12:20:32 +01:00
Ethan Frey
f1e1c76baa Update rest server, pass tests 2020-02-10 12:01:21 +01:00
Simon Warta
4520953e53 Move pubkey prefixes to pubkey.ts 2020-02-09 13:47:47 +01:00
Simon Warta
00c033b669 Use CosmosAddressBech32Prefix explicitely for addresses 2020-02-09 13:43:22 +01:00
Simon Warta
1ed25c1bc0 Test pubkey response in authAccounts 2020-02-09 13:31:29 +01:00
Simon Warta
af5e5a76a9 Add encodeBech32Pubkey 2020-02-09 13:27:53 +01:00
Simon Warta
b2fcb0b105 Move decodeBech32Pubkey to pubkey.ts 2020-02-09 13:16:54 +01:00
Simon Warta
ff78c296d4 Collect faucet data in object 2020-02-09 13:10:35 +01:00
Simon Warta
34c0f1e18f Rename type to CosmosSdkAccount 2020-02-09 13:08:28 +01:00
Simon Warta
a22f035c94 Test full authAccounts return value 2020-02-09 13:05:07 +01:00
Simon Warta
266697a63f Pull out encodeSecp256k1Pubkey 2020-02-08 20:13:24 +01:00
Simon Warta
5bcdf286f6 Fix optional types in MsgStoreCode
If they are unset, signatures are invalid.
2020-02-07 17:32:14 +01:00
Simon Warta
80b49841a6 Let getContractAddress return most recent contract 2020-02-07 17:10:41 +01:00
Simon Warta
2ecf319ab1 Allow unset transferAmount in test code 2020-02-07 16:39:56 +01:00
Simon Warta
c354af68d9 Export logs module from SDK 2020-02-07 16:30:09 +01:00
Simon Warta
8b382d76d5 Add findAttribute to logs module 2020-02-07 16:19:34 +01:00
Simon Warta
cce7ee52e4 Remove unnecessary parseSuccess 2020-02-07 16:15:05 +01:00
Simon Warta
999f0f3830 Make Pen construction async and pubkey synchonous
This avoids a lot of computation, since the HD derivation only happens
once.
2020-02-07 09:24:40 +01:00
Simon Warta
3d2fe5fd03 Use Pen in RestClient tests 2020-02-07 00:33:30 +01:00
Simon Warta
9e4a79f670 Add Pen 2020-02-07 00:28:42 +01:00
Simon Warta
0c0d42dc85 Deduplicate copies of jasmine-spec-reporter.config.json 2020-02-06 15:53:56 +01:00
Simon Warta
4264d1d64f Add License section to package READMEs 2020-02-06 15:32:12 +01:00
Simon Warta
beb60319da v0.0.3 2020-02-06 10:22:21 +01:00
Simon Warta
2480dbb9f9 Add nonces 2020-02-06 10:20:30 +01:00
Simon Warta
9be3dda938 Fix titles and links 2020-02-06 10:03:34 +01:00
Simon Warta
0efac03a31 v0.0.2 2020-02-06 09:00:44 +01:00
Simon Warta
a1322fe9d5 Add nonces 2020-02-06 08:59:22 +01:00
Ethan Frey
49070f668f A bit more cleanup 2020-02-05 18:22:20 +01:00
Ethan Frey
8699e2e8f7 Cleanup from PR review 2020-02-05 18:05:19 +01:00
Ethan Frey
213d59c75c Clean up test naming 2020-02-05 17:33:53 +01:00
Ethan Frey
c7313275c3 Test smart queries 2020-02-05 17:18:25 +01:00
Ethan Frey
90ac9f1387 All contract queries except smart 2020-02-05 17:14:08 +01:00
Ethan Frey
620767b5c6 Inline getCodeId and getContractAddress helpers 2020-02-05 16:59:26 +01:00
Ethan Frey
4bacba8340 Add some basic contract queries 2020-02-05 16:55:51 +01:00
Ethan Frey
0846162434 Test list codes 2020-02-05 16:39:51 +01:00
Ethan Frey
03be05964a More test helper refactoring 2020-02-05 16:31:26 +01:00
Ethan Frey
da9eff547e Pull out wasm contract actions as test helper functions 2020-02-05 16:26:37 +01:00
Ethan Frey
477511f1b3 Complete wasm calls via manual testing with curl 2020-02-05 16:11:46 +01:00
Ethan Frey
e0b3cb006c Add some basic wasm queries (manually tested with curl) 2020-02-05 15:24:15 +01:00
Simon Warta
a74310ab4c
Merge pull request #47 from confio/execute-contract
Implement contract execution message
2020-02-05 12:57:30 +01:00
Simon Warta
651ba497d9 Deduplicate pubkey type strings 2020-02-05 12:34:34 +01:00
Simon Warta
0b3b1559f7 Make pubkeyTypes readonly 2020-02-05 11:50:07 +01:00
Simon Warta
f1a354eb0c Extract findAttribute in test code 2020-02-05 11:41:54 +01:00
Simon Warta
e3c294ed2e Implement contract execution 2020-02-05 11:31:35 +01:00
Simon Warta
ce18a5296d Add some fields to PostTxsResponse 2020-02-05 11:31:35 +01:00