494 Commits

Author SHA1 Message Date
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
merge-when-green[bot]
d3bcee9dd4
Merge pull request #94 from confio/cosm-get-account
Add getAccount to CosmWasmClient
2020-02-17 11:42:42 +00: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
d4f5d1b801
Merge pull request #93 from confio/test-rest
Test block responses at RestClient level
2020-02-17 10:00:46 +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
merge-when-green[bot]
4b56ad6fe7
Merge pull request #91 from confio/getBlocks
Add CosmWasmClient.getBlock
2020-02-16 09:01:38 +00: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 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
0d471e1fa2
Merge pull request #89 from confio/findSequenceForSignedTx
Find sequence for signed tx by bruteforce
2020-02-15 09:40:20 +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
aaab4b89ab
Merge pull request #87 from confio/CosmWasmClient-queries
Add query support to CosmWasmClient
2020-02-14 23:04:21 +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
9aed3e1ac6
Merge pull request #90 from confio/upgrade-iov-core
Upgrade IOV Core to 2.0.2
2020-02-14 22:46:05 +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
843bed9e04
Merge pull request #86 from confio/search-non-existent
Improve implementation of CosmWasmConnection.getTx
2020-02-13 15:43:52 +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
297910039a
Merge pull request #85 from confio/no-unnecessary-type-assertion
Migrate rule no-unnecessary-type-assertion from tslint to eslint
2020-02-13 12:03:54 +01:00
Simon Warta
10335dc662 Migrate rule no-unnecessary-type-assertion from tslint to eslint 2020-02-13 11:50:33 +01:00