Commit Graph

343 Commits

Author SHA1 Message Date
Simon Warta
ca2989eb5d Update contract tests in CosmWasmClient 2020-02-27 18:17:23 +01:00
Ethan Frey
365c1a0e66 Add label to SigningCosmWasmClient.instantiate 2020-02-27 17:39:08 +01:00
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
d26d35888a Move @types/bn.js to devDependencies 2020-02-21 10:54:02 +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
3a351e19f7 Adapt CLI code to new method name 2020-02-19 10:23:16 +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
8ff9d719c2 Merge branch 'neuma-demo' 2020-02-18 22:45:33 +01:00
Simon Warta
e53f96439d
Merge pull request #104 from confio/update-test-setup
Update test setup
2020-02-18 22:35:38 +01:00
Simon Warta
64a3273f9d
Merge pull request #103 from confio/unpadded-r-s
Unpad integers r, s in Secp256k1Signature constructor
2020-02-18 22:34:20 +01:00
Simon Warta
cd40206651 Use new token names HASH/ISA/JADE
those don't conflict with other BCP demo tokens
2020-02-18 17:55:46 +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
1aa476ba9a Use new token names HASH/ISA/JADE
those don't conflict with other BCP demo tokens
2020-02-18 17:15:53 +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
1f0b6845c8 Implement liveTx 2020-02-18 13:25:26 +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
16b875fac6 Unpad integers r, s in Secp256k1Signature constructor
Closes #100
2020-02-18 13:24:32 +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
5091b3d94c Implement CosmWasmConnection.watchAccount 2020-02-17 17:17:41 +01: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