Commit Graph

466 Commits

Author SHA1 Message Date
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
404db28f6f
Merge pull request #99 from confio/implement_watchAccount
Implement CosmWasmConnection.watchAccount
2020-02-17 21:31:05 +01:00
Simon Warta
5091b3d94c Implement CosmWasmConnection.watchAccount 2020-02-17 17:17:41 +01:00
merge-when-green[bot]
1df7de4781
Merge pull request #97 from confio/read-erc20
Add read support for ERC20 executions
2020-02-17 14:48:30 +00: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
merge-when-green[bot]
3f534908f8
Merge pull request #98 from confio/rename-folder-cosm
Rename development blockchain to wasmd consistently
2020-02-17 14:38:48 +00: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
28f5cb643f Rename folder cosm -> wasmd 2020-02-17 15:28:23 +01:00
merge-when-green[bot]
04ab04375e
Merge pull request #95 from confio/expose-more-types
Expose more types
2020-02-17 12:59:04 +00:00
Simon Warta
0489a98256 Adapt deploy_erc20.js 2020-02-17 13:55:51 +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
merge-when-green[bot]
fda2df453f
Merge pull request #96 from confio/expose-send
Expose sendToken() on CosmWasmClient
2020-02-17 12:14:43 +00: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
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 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