Commit Graph

165 Commits

Author SHA1 Message Date
Simon Warta
3e8dcf9197 v0.0.5 2020-02-18 22:50:52 +01:00
Simon Warta
af30b85508 Add nonces 2020-02-18 22:48:40 +01:00
Simon Warta
c6df378a31 v0.0.5-alpha.1 2020-02-18 17:37:49 +01:00
Simon Warta
cf9c1e7884 Add nonces 2020-02-18 17:37:37 +01:00
Simon Warta
0e3af5fcff v0.0.5-alpha.0 2020-02-18 16:54:55 +01:00
Simon Warta
af45c254ca Unpad integers r, s in Secp256k1Signature constructor
Closes #100
2020-02-18 16:51:47 +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
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
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
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
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
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
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
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
007b4dd362 Add comment on multi request implementation 2020-02-12 14:14:49 +01:00
Simon Warta
1e122a7546 Add CosmWasmClient.searchTx 2020-02-12 14:14:49 +01:00
Simon Warta
331702638b Add CosmWasmClient.getIdentifier 2020-02-12 09:55:48 +01:00
Simon Warta
3c59a68b3a Improve interface of CosmWasmConnection.identifier 2020-02-12 09:55:48 +01:00
Simon Warta
a11b756ea6 Let encodeSecp256k1Signature expect compressed pubkeys 2020-02-12 00:05:54 +01:00