Commit Graph
189 Commits
Author SHA1 Message Date
Simon Warta 19f73b432d Merge pull request #121 from confio/code-and-contracts
Add code and contract getters to CosmWasmClient
2020-02-24 13:50:55 +01:00
Simon Warta 3e7720c8ab Remove obsolete bn.js dependency from sdk 2020-02-23 22:41:21 +01:00
Simon Warta dd65786df0 Remove makeSecp256k1SignatureFromFixedLength
in favour of native Secp256k1Signature.fromFixedLength
2020-02-23 22:40:20 +01:00
Simon Warta c229df97e4 Upgrade IOV Core 2020-02-23 20:36:03 +01:00
Simon Warta db16428697 Test getCodes/getCodeDetails/getContracts/getContract 2020-02-21 23:59:10 +01:00
Simon Warta 17ded4b676 Add code and contract getters to CosmWasmClient 2020-02-21 18:18:03 +01:00
Simon Warta 2502ce5d38 v0.0.8 2020-02-21 14:23:50 +01:00
Simon Warta 192b36177a Add nonces 2020-02-21 14:23:30 +01:00
Simon Warta b5a08f206a Add txsQuery wrapper on CosmWasmClient 2020-02-21 14:12:48 +01:00
Simon Warta dfe1cccadb Implement min/max height filters in CosmWasmClient 2020-02-21 13:57:09 +01:00
Simon Warta 798854b002 Rename to txsQuery and test 2020-02-21 13:57:09 +01:00
Simon Warta 00801b2831 Avoid unnecessary conversion to bytes in postTx
In Cosmos world, transactions are posted as JSON. Move the byte
representation into BCP.
2020-02-21 13:57:01 +01:00
Simon Warta 8f1f8d93be Sort methods in RestClient 2020-02-21 12:00:10 +01:00
Simon Warta 31e9c3bcdf v0.0.7 2020-02-20 15:41:20 +01:00
Simon Warta 4d29fbe937 Add nonces 2020-02-20 15:29:15 +01:00
Simon Warta 08a10c6374 Move @types/pako to devDependencies 2020-02-20 15:19:34 +01:00
Simon Warta 6679dfcf62 v0.0.6 2020-02-20 12:35:45 +01:00
Simon Warta c7b3fe9d8d Add nonces 2020-02-20 12:33:41 +01:00
Simon Warta db550220db Merge pull request #110 from confio/simplify-prefix
Simplify address prefix handling
2020-02-19 20:46:30 +01:00
Simon Warta 5504288de4 Auto-compress contracts in upload 2020-02-19 12:52:12 +01:00
Simon Warta 67b21337ba Rename method to pubkeyToAddress 2020-02-19 10:15:41 +01:00
Simon Warta ef999070e8 Remove CosmosAddressBech32Prefix/isValidAddress 2020-02-19 10:15:41 +01:00
Simon Warta 9705b98be9 Bring back no-bitwise 2020-02-19 09:42:20 +01:00
Simon Warta 4b7a060a4b Remove tslint 2020-02-19 09:37:05 +01:00
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