Commit Graph

1546 Commits

Author SHA1 Message Date
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
f82a91c0f8 Harden cors_allowed_origins search/replace pattern 2020-08-18 19:07:21 +02:00
Simon Warta
562dc55110
Merge pull request #400 from CosmWasm/fix-name-PrivateCosmosClient
Fix interface name: PrivateCosmWasmClient -> PrivateCosmosClient
2020-08-18 15:13:31 +02: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
8917069e52 Use stricter expression to change CORS settings for Tendermint 2020-08-18 14:58:02 +02:00
Simon Warta
6e69769950 Open up CORS in simapp tendermint config 2020-08-18 14:57:36 +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
5503484d6b
Merge pull request #398 from CosmWasm/fallback-on-query
Fallback on header query if subscription event is the wrong one
2020-08-18 14:09:14 +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
f639074d93
Merge pull request #386 from CosmWasm/verify-ics23-proofs
Verify ics23 proofs
2020-08-18 13:04:49 +02:00
Simon Warta
6788774390 Use the same protobufjs for ics23 and cosmjs 2020-08-18 12:48:37 +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
d4f3076b94 Remove stray @cosmjs/stream dependency in yarn.lock 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
mergify[bot]
7f5269d6f8
Merge pull request #390 from CosmWasm/faucet-name
Rename cosmwasm-faucet -> cosmos-faucet
2020-08-18 09:06:13 +00:00
Simon Warta
bcf5ae9f1a Rename cosmwasm-faucet -> cosmos-faucet 2020-08-18 11:00:04 +02:00
mergify[bot]
a1e0e1cf9e
Merge pull request #392 from CosmWasm/changelog-entries-0.23
Add missing 0.23 CHANGELOG entries
2020-08-18 08:46:33 +00:00
Simon Warta
21cf7569fc Add missing 0.23 CHANGELOG entries
See https://github.com/CosmWasm/cosmjs/compare/0.22...master
2020-08-18 10:34:30 +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
43826c3d43
Merge pull request #384 from CosmWasm/privatize-SignDoc
Internalize SignDoc and omitDefaults for sign bytes creation
2020-08-13 19:46:57 +02:00
Simon Warta
310052c69b Rename sequenceNumber -> sequence for consistency 2020-08-13 17:20:15 +02:00