Commit Graph

1074 Commits

Author SHA1 Message Date
Simon Warta
e99e0f2eef Add CLI example to show the new GasPrice/GasLimits interface 2020-08-19 12:54:11 +02:00
willclarktech
47018d2b6f
math: Change Decimal.multiply to operate on Uint classes 2020-08-19 10:45:50 +01:00
willclarktech
3cbe9e9676
cosmwasm: Extend CosmosFeeTable in SigningCosmWasmClient 2020-08-19 10:45:50 +01:00
willclarktech
5630330c09
cli: Update cli for CosmWasmFeeTable change 2020-08-19 10:13:54 +01:00
willclarktech
a71e8f3502
faucet: Update for fee table changes 2020-08-19 10:13:54 +01:00
willclarktech
03bb146d23
cosmwasm: Add tests for fee table in SigningCosmWasmClient 2020-08-19 10:13:53 +01:00
willclarktech
8c1fd0fdca
cosmwasm: Refactor FeeTable for SigningCosmWasmClient 2020-08-19 10:13:53 +01:00
willclarktech
e4767ed2e2
launchpad: Add default fees to SigningCosmosClient construction test 2020-08-19 10:13:53 +01:00
willclarktech
914f8d94bb
launchpad: Refactor FeeTable type 2020-08-19 10:13:53 +01:00
willclarktech
f30004db73
launchpad: Update SigningCosmosClient to use GasPrice.fromString 2020-08-19 10:13:52 +01:00
willclarktech
86e7afbb1e
launchpad: Update GasPrice to hold Decimal 2020-08-19 10:13:52 +01:00
willclarktech
b94825f806
math: Add Decimal.multiply method and tests 2020-08-19 10:13:52 +01:00
willclarktech
04f8e06771
launchpad: Add basic test for GasPrice 2020-08-19 10:13:52 +01:00
willclarktech
c87b0643f9
launchpad: Refactor fee table generation 2020-08-19 10:13:52 +01:00
willclarktech
aee57597a2
launchpad: Add PrivateSigningCosmosClient class to help tests 2020-08-19 10:13:52 +01:00
willclarktech
4571b9cb19
launchpad: Extract gas helpers from SigningCosmosClient file 2020-08-19 10:13:51 +01:00
willclarktech
2e1380975b
launchpad: Add tests for SigningCosmosClient fee refactor 2020-08-19 10:13:51 +01:00
willclarktech
406c86426b
launchpad: Refactor SigningCosmosClient for fees/gas 2020-08-19 10:13:51 +01:00
mergify[bot]
8b7bd1e793
Merge pull request #402 from CosmWasm/test-query-client
Test QueryClient directly
2020-08-18 17:13:32 +00:00
Simon Warta
3cd9b5cc27 Use makeClientWithX for module X consistently
As in https://github.com/CosmWasm/cosmjs/pull/401
2020-08-18 15:06:11 +02:00
Simon Warta
e8443f44f9 Add QueryClient tests (WebSocket and Http) 2020-08-18 14:51:32 +02:00
Simon Warta
0690c77357 Fix interface name: PrivateCosmWasmClient -> PrivateCosmosClient 2020-08-18 14:23:34 +02:00
Simon Warta
ac7cd44c0f Refactor code to avoid repeating query 2020-08-18 13:13:35 +02:00
Simon Warta
ef74fefe84 Fall back on query when header from subscription is too high 2020-08-18 13:06:09 +02:00
Simon Warta
72b1b17678 Fix CosmJS version mismatch caused by merging 0.22 into master 2020-08-18 12:48:37 +02:00
Simon Warta
a3171c2f56 Work around backend issue with minHeight in the future 2020-08-18 12:48:37 +02:00
Simon Warta
1b8130c790 Add support for http clients 2020-08-18 12:48:37 +02:00
Ethan Frey
d0db9c79ed Try non-websocket header query, leave commented out example 2020-08-18 12:48:37 +02:00
Ethan Frey
305e36cbd9 Pull out nextHeader logic 2020-08-18 12:48:37 +02:00
Ethan Frey
d323b80a88 Remove some code duplication 2020-08-18 12:48:36 +02:00
Ethan Frey
598469bfac Bump to @confio/ics23 v0.6.3 2020-08-18 12:48:36 +02:00
Ethan Frey
15b1f7d836 Fix package.json 2020-08-18 12:48:36 +02:00
Ethan Frey
a185541e96 Proving queries now wait for next header and compare app hash 2020-08-18 12:48:36 +02:00
Ethan Frey
57fb9c37a1 Fix proofs to handle non-existence case 2020-08-18 12:48:36 +02:00
Ethan Frey
f43870f818 Parse ics23 proofs and do initial verification 2020-08-18 12:48:36 +02:00
Ethan Frey
f70b3a83fa queryVerified does various sanity checks on the proof envelope 2020-08-18 12:48:36 +02:00
Ethan Frey
a6e0cdee10 Expose abci query proofs in tendermint 2020-08-18 12:48:36 +02:00
Simon Warta
bcf5ae9f1a Rename cosmwasm-faucet -> cosmos-faucet 2020-08-18 11:00:04 +02:00
Simon Warta
ffc3cd4af2
Merge pull request #394 from CosmWasm/add-missing-sleep
Add missing sleep before transaction search
2020-08-18 09:49:24 +02:00
mergify[bot]
0daf9dcc0b
Merge pull request #389 from CosmWasm/tm-updates
Improve docs and tests of TendermintClient.blockchain
2020-08-18 07:21:38 +00:00
Simon Warta
6e3c8752b2 Add missing sleep before transaction search 2020-08-18 09:20:12 +02:00
Simon Warta
541559e329 Remove obsolete client.blockchain(2, 4) test 2020-08-18 09:15:36 +02:00
Simon Warta
9591c22512 Add future height test 2020-08-18 09:15:21 +02:00
Simon Warta
b94d130c84 Improve docs to highlight query+filter 2020-08-18 09:15:08 +02:00
Simon Warta
f5cc67b948 Merge branch '0.22' 2020-08-17 14:11:37 +02:00
Simon Warta
9955ec0dbe Add better docs and test for Client.blockchain 2020-08-17 13:44:16 +02:00
Simon Warta
e173576667 Create blocks for Tendermint client tests 2020-08-17 13:13:35 +02:00
Simon Warta
310052c69b Rename sequenceNumber -> sequence for consistency 2020-08-13 17:20:15 +02:00
Simon Warta
6832fd5737 Internalize SignDoc and omitDefaults for sign bytes creation 2020-08-13 16:36:36 +02:00
Simon Warta
0bf58e5a51 Fix path to generated codec 2020-08-13 16:18:55 +02:00