Commit Graph

303 Commits

Author SHA1 Message Date
Simon Warta
1f0b6845c8 Implement liveTx 2020-02-18 13:25:26 +01:00
Simon Warta
3f7567bdb9 Don't call parseLogs if result.logs is falsy 2020-02-18 13:25:26 +01:00
Simon Warta
af2bfbef1c Expose BroadcastMode in CosmWasmClient 2020-02-18 13:25:26 +01:00
Simon Warta
a9c605de51 Throw early if transaction fee is missing 2020-02-18 11:23:41 +01:00
Simon Warta
2f41f93d96 Add minHeight/maxHeight support to searchTx 2020-02-18 10:36:58 +01:00
Simon Warta
5091b3d94c Implement CosmWasmConnection.watchAccount 2020-02-17 17:17:41 +01:00
Simon Warta
318dc6f32c Make ERC20s non-optional in parseMsg 2020-02-17 15:43:42 +01:00
Simon Warta
5495828a6c Test ERC20 getter 2020-02-17 15:43:42 +01:00
Simon Warta
f3d24e1acd Add ERC20 support to parseUnsignedTx 2020-02-17 15:41:05 +01:00
Simon Warta
c94a49a1fb Add ERC20 supprt to parseMsg 2020-02-17 15:41:05 +01:00
Simon Warta
b46b7d7cc7 Rename COSMOS_ENABLED to WASMD_ENABLED 2020-02-17 15:35:29 +01:00
Simon Warta
a22a201fe7 Adapt scripts, config, docs to new folder name ./scripts/wasmd/ 2020-02-17 15:31:07 +01:00
Simon Warta
6b522e5b4d Split CosmWasmClient and SigningCosmWasmClient 2020-02-17 13:51:48 +01:00
Ethan Frey
b6b29562cb Expose senderAddress() 2020-02-17 13:25:50 +01:00
Ethan Frey
28a85a5e6e Expose SigningData/Callback types 2020-02-17 13:24:27 +01:00
Simon Warta
5860d80389 Remove unnecessary memo 2020-02-17 13:11:25 +01:00
Simon Warta
4a3be36bc6 Rename to CosmWasmClient.sendTokens 2020-02-17 13:09:03 +01:00
Simon Warta
0010c1bc77 Remove fees argument from makeReadOnly 2020-02-17 13:00:38 +01:00
Simon Warta
52d9e0b5c3 Convert function to function 2020-02-17 12:57:33 +01:00
Ethan Frey
2d7c4e09a3 Clean up test cases 2020-02-17 12:55:47 +01:00
Ethan Frey
6d3865a27e Add sendToken() and test 2020-02-17 12:55:47 +01:00
Simon Warta
0a10fa57ac Make fee payments configurable 2020-02-17 12:55:41 +01:00
Simon Warta
87b6556710 Remove restClient from CosmWasmConnection 2020-02-17 12:39:38 +01:00
Simon Warta
fa0fe7e22e Use cosmWasmClient.getAccount in BCP 2020-02-17 12:38:13 +01:00
Simon Warta
f8051b93dc Use BCP type in decodeCosmosPubkey 2020-02-17 12:36:55 +01:00
Simon Warta
28ee35217e Let CosmWasmClient.getNonce throw 2020-02-17 12:31:59 +01:00
Simon Warta
03f01f54d6 Test empty address in RestClient.authAccounts 2020-02-17 12:31:41 +01:00
Ethan Frey
7bc76bd59b Fix linter warnings 2020-02-17 12:21:30 +01:00
Ethan Frey
d079f7673a getAccount returns undefined when address not found 2020-02-17 12:21:30 +01:00
Ethan Frey
b39a54211b Add getAccount to CosmWasmClient 2020-02-17 12:21:30 +01:00
Simon Warta
23913e36ad Add all BlockHeader fields and test them 2020-02-16 12:25:57 +01:00
Simon Warta
3caa8f249d Test RestClient.blocksLatest/blocks 2020-02-16 11:56:52 +01:00
Simon Warta
f396cae2a5 Pull out tendermintIdMatcher 2020-02-16 11:52:13 +01:00
Simon Warta
4470efbeda Use CosmWasmClient.getBlock 2020-02-16 09:58:15 +01:00
Simon Warta
1de2abb8ff Add CosmWasmClient.getBlock 2020-02-16 09:58:15 +01:00
Simon Warta
fa78a7460c Fix broken BlockResponse types 2020-02-16 09:57:26 +01:00
Simon Warta
b80d5c39fc Fix height type 2020-02-16 09:57:26 +01:00
Simon Warta
f9081acd12 Improve BlockResponse types 2020-02-16 09:57:26 +01:00
Simon Warta
0b2da71e83 v0.0.4 2020-02-15 19:09:54 +01:00
Simon Warta
29e4291b6b Add nonces 2020-02-15 19:09:40 +01:00
Simon Warta
4f56be8c34 Stabilize beforeAll() of searchTx 2020-02-14 23:37:41 +01:00
Simon Warta
b15dc96ea6 Test and use findSequenceForSignedTx 2020-02-14 23:10:10 +01:00
Simon Warta
964965ca82 Restore naive implementation for getting sequence 2020-02-14 23:10:10 +01:00
Simon Warta
e4f1252331 Move test into "getTx" block 2020-02-14 23:10:10 +01:00
Simon Warta
c6683f0219 Grounp account data into "faucet" object 2020-02-14 23:10:10 +01:00
Simon Warta
83479f3bf7 Add findSequenceForSignedTx 2020-02-14 23:10:09 +01:00
Simon Warta
0818542fec Add some fields to TxsResponse 2020-02-14 23:10:09 +01:00
Simon Warta
a2068f79de Move ignore to top of file 2020-02-14 23:10:09 +01:00
Simon Warta
b56970eeb9 Use CosmWasmClient.queryContractSmart 2020-02-14 22:46:53 +01:00
Simon Warta
91a3144e15 Add CosmWasmClient.queryContractSmart 2020-02-14 22:46:53 +01:00