Commit Graph
251 Commits
Author SHA1 Message Date
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
Simon Warta 769e6ce9d3 Rename method to parseSignedTx 2020-02-12 14:35:45 +01:00
Simon Warta 8c7b6c0305 Pull out isDefined 2020-02-12 14:22:24 +01:00
Simon Warta 18aa7e33dd Add more information about missing minHeight/maxHeight support 2020-02-12 14:20:21 +01:00
Simon Warta 007b4dd362 Add comment on multi request implementation 2020-02-12 14:14:49 +01:00
Simon Warta f27b278014 Use CosmWasmClient.searchTx to implement searchTx 2020-02-12 14:14:49 +01:00
Simon Warta 1e122a7546 Add CosmWasmClient.searchTx 2020-02-12 14:14:49 +01:00
Simon Warta e66aa14d6d Use CosmWasmClient.getIdentifier 2020-02-12 09:55:48 +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 2b8a1bce35 Random test cleanups 2020-02-12 00:54:42 +01:00
Simon Warta 58634eb577 Calculate Nonce from account number and sequence 2020-02-12 00:52:07 +01:00
Simon Warta 42369eba12 Cleanup unused encodePubkey 2020-02-12 00:06:00 +01:00
Simon Warta a11b756ea6 Let encodeSecp256k1Signature expect compressed pubkeys 2020-02-12 00:05:54 +01:00
Simon Warta e2340ba0c1 Fix test description 2020-02-12 00:04:16 +01:00
Simon Warta 41ede3605e Let encodeSecp256k1Signature expect 64 byte signatures 2020-02-12 00:04:13 +01:00
Simon Warta 4e089b4a03 Adapt CLI code and guides 2020-02-11 19:41:11 +01:00
Simon Warta 18740bc8b8 Let Pen.sign return full StdSignature 2020-02-11 19:34:46 +01:00
Simon Warta 4c7124d12c Add format guarantee to PostTxResult.transactionHash 2020-02-11 16:41:02 +01:00
Simon Warta 90e76b7a41 Create type ExecuteResult 2020-02-11 14:32:31 +01:00
Simon Warta 8c68e66b97 Use CosmWasmClient in CosmWasmConnection 2020-02-11 14:31:00 +01:00
Simon Warta 6783b273f8 Pull out explicit fee constants 2020-02-11 14:31:00 +01:00
Simon Warta 83bb1021aa Add CosmWasmClient.postTx 2020-02-11 14:31:00 +01:00
Simon Warta 0e0ff9455f Add and use CosmWasmClient.getNonce 2020-02-11 14:31:00 +01:00
Simon Warta ae586cc012 Let makeSignBytes take account number and sequence as two args 2020-02-11 14:31:00 +01:00
Simon Warta b4b36c3a34 Simplify memo handling 2020-02-11 14:31:00 +01:00
Simon Warta e7df090ea7 Add CosmWasmClient.execute 2020-02-11 14:31:00 +01:00
Simon Warta 66fd0800ff Add first version of CosmWasmClient 2020-02-11 14:31:00 +01:00
Simon Warta 80d0c44616 Move test code to testutils.spec 2020-02-11 14:31:00 +01:00
Simon Warta a6b2751936 Cleanup CosmosSdkTx 2020-02-11 14:31:00 +01:00
Simon Warta 6017fc88c8 Merge pull request #75 from confio/fix-package-name
Fix package name to @cosmwasm/cli
2020-02-11 13:55:23 +01:00
Simon Warta 6dae508e8a Fix package name to @cosmwasm/cli 2020-02-11 12:49:36 +01:00
Ethan Frey d9bcd821c1 Added helper to parse Uint8Array as Utf8-encoded json for smart queries 2020-02-11 12:01:01 +01:00
Ethan Frey c3bd498524 Merge guide into readme 2020-02-11 12:01:01 +01:00
Ethan Frey ec9a1eab92 Run through the full script 2020-02-11 12:01:01 +01:00
Ethan Frey 1bea452fbc more 2020-02-11 12:01:01 +01:00
Ethan Frey b047658af3 Got guide working 2020-02-11 12:01:01 +01:00
Ethan Frey 0544836a60 Start with some helpers 2020-02-11 12:01:01 +01:00