Commit Graph

1559 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
Simon Warta
0bd8d5ecf2
Merge pull request #399 from CosmWasm/396-fee-table
Update Fee tables
2020-08-19 12:16:27 +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
3e080e834b
Update CHANGELOG for faucet fee table changes 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
53b413d96b
Update CHANGELOG 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
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