Commit Graph

42 Commits

Author SHA1 Message Date
Simon Warta
f10faf0e22 Apply new array-type linter rule 2020-07-07 17:01:09 +02:00
Simon Warta
77980b60f4
Upgrade CosmWasm to 0.9 (#245)
* Upgrade chain to v0.9.0-alpha4

* Update expected build_tags

* Update wasmd init contracts

* Update hackatom test contract

* Update CosmWasm message descriptions

* Make some test code more compact

* Pull out InstantiateOptions

* Add admin field to ContractInfo

* Allow instantiating with admin

* Remove some noise

* Add SigningCosmWasmClient.updateAdmin

* Create return type ChangeAdminResult

* Add SigningCosmWasmClient.clearAdmin

* Add SigningCosmWasmClient.migrate

* Move message type testers close to type

* Export MsgUpdateAdmin/isMsgUpdateAdmin

* Fix typo in privillage

* Update some test code

* Test hackatom result data

* Add compatibility table

* Update wasmd to v0.9.0-beta

* Upgrade test contracts
2020-06-28 08:28:43 +02:00
Simon Warta
f0432b11ce
Merge pull request #233 from CosmWasm/stabilize-unsuccessful-tx-search
Stabilize unsuccessful tx search
2020-06-23 13:10:39 +02:00
Simon Warta
27644dfc96
Merge pull request #236 from CosmWasm/delegate
Add delegation message and demo
2020-06-23 13:03:08 +02:00
Simon Warta
b9cce63514
Merge pull request #232 from CosmWasm/test-and-harden-coin-helper
Harden and test coin/coins helpers
2020-06-23 12:57:01 +02:00
Simon Warta
b36d324e6c Harden signedTx 2020-06-22 10:34:37 +02:00
Simon Warta
d5f874e608 Improve StdTx docs 2020-06-22 10:01:11 +02:00
Simon Warta
3e7ab8ac52 Rename to StdSignDoc 2020-06-22 10:01:11 +02:00
Simon Warta
33d55e6923 Add MsgDelegate 2020-06-22 10:01:11 +02:00
Simon Warta
6b52d376b5 Create new msgs module 2020-06-20 10:37:14 +02:00
Simon Warta
e3b43fd9dd Remove Wasm types from @cosmjs/sdk38 2020-06-20 10:20:22 +02:00
Simon Warta
9754f914f1 Harden and test coin/coins helpers 2020-06-19 14:27:17 +02:00
Simon Warta
c20a77a5ac Use coins helper to create amounts 2020-06-19 14:12:08 +02:00
Simon Warta
43d72f311c Send sendUnsuccessful first
to have enough time between submission and search
2020-06-19 14:00:05 +02:00
Simon Warta
ffecf9adff Streamline test tx types 2020-06-19 13:58:57 +02:00
Simon Warta
2728f25c36 Let encodeTx return type EncodeTxResponse unprocessed 2020-06-19 13:29:28 +02:00
Simon Warta
64673c6f21 Remove Wasm types from @cosmjs/sdk38 2020-06-19 13:21:15 +02:00
Simon Warta
1c233774f9 Increase tolerance for slow block creation in "gets height via last block" 2020-06-18 10:55:07 +02:00
willclarktech
b121eabca4
Update sdk38 error handling for review comments 2020-06-10 10:42:05 +01:00
willclarktech
34d19e4d7e
Reorganise error handling in sdk38 2020-06-09 17:13:52 +01:00
Simon Warta
88faba8bed Replace internal usages of @iov/encoding with @cosmjs/{encoding,math} 2020-06-09 17:54:17 +02:00
Simon Warta
4cca97651b Use @cosmjs/utils in this project 2020-06-09 17:45:48 +02:00
Simon Warta
92417373cd Use @cosmjs/crypto in this project 2020-06-09 17:39:36 +02:00
willclarktech
29ebcd88fd
Replace GitHub URLs 2020-06-09 14:41:55 +01:00
Simon Warta
0c591c7c02 Add data field to PostTxsResponse 2020-06-09 08:24:49 +02:00
Simon Warta
6acdb3051a Stabilize "gets height via last block" 2020-06-08 10:24:07 +02:00
Simon Warta
2292de6e19 Add some tolerance for slow chains 2020-06-08 10:24:07 +02:00
Simon Warta
61d655a269 Stabilize height tests 2020-06-08 10:24:05 +02:00
Simon Warta
4701e1aaea Allow multiple tx results in "can query transactions by height" 2020-06-08 10:22:46 +02:00
Simon Warta
a504d1a3c6 Get sendUnsuccessful.height from error
this makes parallel testing more stable
2020-06-08 10:22:46 +02:00
Simon Warta
f704194836 Move marshalTx/unmarshalTx to BCP 2020-06-08 10:17:46 +02:00
Simon Warta
538004a1d6 Replace deprecated Encoding class with free functions 2020-06-05 11:17:04 +02:00
Simon Warta
ab45793e7c Give blockchain more time to index transactions
Usually not needed but this makes the CI more stable
2020-06-05 09:44:33 +02:00
Simon Warta
fe7f930bca Harden some tests for parallel testing 2020-06-03 14:04:24 +02:00
Simon Warta
0dbed5ac29 Add test accounts Alice/Bob 2020-06-03 14:04:24 +02:00
Simon Warta
3ceae61a0d Deduplicate large parts of the RestClient 2020-06-03 13:21:53 +02:00
Simon Warta
54cff0367e Remove contract functionality from sdk38 2020-06-03 08:41:51 +02:00
Simon Warta
9d054c6dd3 Improve Msg types 2020-06-02 16:14:04 +02:00
Simon Warta
5da7bbc93c Deduplicate and sort some types 2020-06-02 16:13:34 +02:00
Simon Warta
efb90d1f65 Sort some types between sdk38 and cosmwasm 2020-06-02 13:45:19 +02:00
Simon Warta
a0cb8011e1 Export rawSecp256k1PubkeyToAddress, Pen, Secp256k1Pen, makeCosmoshubPath 2020-06-02 13:18:31 +02:00
Simon Warta
b1003be1df Create package @cosmwasm/sdk38 2020-06-02 12:30:38 +02:00