189 Commits

Author SHA1 Message Date
Simon Warta
357fc3577e Increase searchTx limit to 50 2020-02-10 18:10:03 +01:00
Simon Warta
69c57c9758 Remove default codec 2020-02-10 18:10:03 +01:00
Simon Warta
97363cd404 Add ERC20 support in connection 2020-02-10 18:10:03 +01:00
Simon Warta
0fe0d3bec3 Add ERC20 support in codec 2020-02-10 18:10:03 +01:00
Simon Warta
220a8ddd98 Add erc20 support to buildUnsignedTx 2020-02-10 18:10:03 +01:00
Simon Warta
6dc61379b9 Deprecate default codec 2020-02-10 18:10:03 +01:00
Simon Warta
a763b8a2ea Organize cosmWasmCodec test code 2020-02-10 18:10:03 +01:00
Simon Warta
c0dbdd0a14 Ensure getAccount does not list zero balances of ERC20s 2020-02-10 18:09:48 +01:00
Simon Warta
fe5acb9056 Extract init.sh 2020-02-10 14:25:33 +01:00
Simon Warta
062b003a4a Fix denom of COSM and STAKE 2020-02-10 14:20:20 +01:00
Simon Warta
1280c2f8cf Pull out Webserver 2020-02-10 14:19:34 +01:00
Simon Warta
3f8ab89877 Remove obsolete setSecretAndCreateIdentities 2020-02-10 14:19:34 +01:00
Simon Warta
6075d2900c Move credit function infot Faucet 2020-02-10 14:19:34 +01:00
Simon Warta
6e53302d49 Sort some code 2020-02-10 14:19:34 +01:00
Simon Warta
46ddff93ec Move and test loadAccounts 2020-02-10 14:19:34 +01:00
Simon Warta
accef527fe Move and test loadTokenTickers 2020-02-10 14:19:34 +01:00
Simon Warta
85cd71ddfe Move profile into faucet 2020-02-10 14:19:34 +01:00
Simon Warta
3b1774794d Remove obsolete tokenTicker from SendJob 2020-02-10 14:19:34 +01:00
Simon Warta
940c41ba64 Move send to Faucet; and test 2020-02-10 14:19:34 +01:00
Simon Warta
d378df6b8c Move connection and codec into Faucet 2020-02-10 14:19:34 +01:00
Simon Warta
5f32796bfc Pull out TokenManager 2020-02-10 14:19:34 +01:00
Simon Warta
a3b6ab5bd8 Improve codec handling 2020-02-10 14:19:33 +01:00
Simon Warta
59d336e54a Pull out faucet class
Closes #65
2020-02-10 14:19:33 +01:00
Simon Warta
144a051e39 Rename module faucet to cli 2020-02-10 14:19: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
615892e37f Adapt faucet code to change in TokenConfiguration 2020-02-10 13:08:33 +01:00
Simon Warta
df32bf6d95 Add read support for ERC20 tokens 2020-02-10 13:08:33 +01:00
Simon Warta
6e83bd6459 Let queryContractSmart return a string 2020-02-10 13:08:32 +01:00
Simon Warta
669905b11e Make bank tokens explicit 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
96fc3230ed Standardize argument name 2020-02-09 14:30:42 +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
736b27afaa Add address generator example 2020-02-08 20:16:43 +01:00
Simon Warta
0b5b4d569e Add Bip39, Random, encodeSecp256k1Pubkey, encodeAddress to selftest 2020-02-08 20:16:20 +01:00
Simon Warta
295ab8a35c Add missing encoding/decoding helpers in CLI 2020-02-08 20:14:44 +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