Commit Graph

288 Commits

Author SHA1 Message Date
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
Simon Warta
62d6bd7bd9 Improve error messages 2020-02-14 22:46:53 +01:00
Simon Warta
520f32ed36 Add CosmWasmClient.queryContractRaw 2020-02-14 22:46:53 +01:00
Simon Warta
da2ce9987e Adapt code to BCP changes 2020-02-14 16:29:53 +01:00
Simon Warta
a12ceb8916 Upgrade IOV Core to v2.0.2 2020-02-14 16:22:42 +01:00
Simon Warta
7d610348c6 Remove broken height argument from RestClient.authAccounts 2020-02-13 12:30:47 +01:00
Simon Warta
d24d6255e1 Improve "can post and get a transaction" test code 2020-02-13 12:30:47 +01:00
Simon Warta
3e5bd7c3c7 Fix handling of non-existent ID in getTx 2020-02-13 12:30:47 +01:00
Simon Warta
fd725998c6 Avoid throwing error when transaction ID does not exist
Before we got "Error: Tx: RPC error -32603 - Internal error: tx
(0000000000000000000000000000000000000000000000000000000000000000) not
found"
2020-02-13 12:30:47 +01:00
Simon Warta
7b72afc74c Rename to primarySignerAddress 2020-02-12 15:01:38 +01:00
Simon Warta
1ce8bf3580 Remove unnecessary chainId argument 2020-02-12 14:59:51 +01:00
Simon Warta
84c9ac4406 Create parseAndPopulateTxResponseUnsigned 2020-02-12 14:58:56 +01:00
Simon Warta
580ce6bfaa Create parseTxsResponseUnsigned 2020-02-12 14:55:33 +01:00
Simon Warta
11710d5849 Pull out parseUnsignedTx 2020-02-12 14:51:41 +01:00
Simon Warta
8ad5524b09 Fix memo handling in parseMsg 2020-02-12 14:48:54 +01:00
Simon Warta
4e97af33e6 Import testdata as testdata for readability 2020-02-12 14:48:24 +01:00