Commit Graph

464 Commits

Author SHA1 Message Date
Alexander Peters
f8e39bf5cd Merge pull request #534 from CosmWasm/response_428
Cleanup keeper result types
2021-06-14 08:56:05 +02:00
Alexander Peters
3b82807e81 Merge pull request #537 from CosmWasm/check_coin
Verify converted coin
2021-06-14 08:34:48 +02:00
Alex Peters
44e7669611 Empty submsg result does not overwrite 2021-06-14 08:28:46 +02:00
Alex Peters
110da0f2c3 Verify converted coin 2021-06-11 15:04:36 +02:00
Alex Peters
0dd695c126 Cleanup keeper result types 2021-06-11 12:38:30 +02:00
Alex Peters
7f5200b9dd Add cost and api cost options 2021-06-11 11:46:49 +02:00
Ethan Frey
6230c3fd0e Merge pull request #529 from CosmWasm/max_gas_528
Remove max gas limit
2021-06-07 11:44:48 +02:00
Alex Peters
470b2dacc7 Test Pinned contract does not loop forever 2021-06-07 11:28:10 +02:00
Alex Peters
c637add01c Remove max gas limit 2021-06-07 10:46:26 +02:00
Alex Peters
2f2d59a151 Allow access to contract address builder 2021-06-01 10:42:07 +02:00
Alex Peters
ed60864bf2 Use interface for better decoupling 2021-06-01 08:39:06 +02:00
Alex Peters
98431c6dc9 Remove json type cast for contract msgs 2021-05-21 14:05:44 +02:00
Ethan Frey
0576bab625 Update deps, contracts, and Dockerfile to v0.14.0 2021-05-03 17:11:46 +02:00
Alexander Peters
3d4b3d184f Upgrade to wasmvm v0.14.0-rc1 (#508)
* Upgrade to wasmvm v0.14.0-rc1

* Update contracts from cosmwasm#910, re-enable test

* Fix parsing in query type

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2021-04-30 08:26:41 +02:00
Alexander Peters
70dedadb9c Monitor WasmVM cache metrics (#503)
* Start collect WasmVM cache metrics

* Review comments

* Integrate wasmvm metrics

* Bring all together
2021-04-28 15:08:54 +02:00
Ethan Frey
846611bcd2 Update to wasmvm v0.14.0-beta5 (#504)
* Bump deps and contracts to v0.14.0-beta5

* Add admin field/variants to WasmMsg handling

* Compiles

* Update usage of IBC Timeout in tests

* Minor doc/test/Dockerfile updates

Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2021-04-28 14:35:48 +02:00
Alexander Peters
305f13cc0a Submessage reply can overwrite caller response (#502)
* Reply may overwrite result data

* Fix interface name

* Refacting for tests

* Test response handler

* Fix naked error
2021-04-27 14:00:42 +02:00
Ethan Frey
c67cf14db1 Merge pull request #497 from CosmWasm/list_contract_323
Improve list contracts by code query
2021-04-27 11:38:07 +02:00
Alex Peters
8c7967e5b4 Review feedback 2021-04-27 09:04:58 +02:00
Ethan Frey
9ebeb859cf Update to wasmvm 0.14.0-beta4 (#499)
* Update deps and test contracts to v0.14.0-beta4

* Update to new DistributionMsg, StakingQuery

* Fix existing tests

* Add test for single Validator query
2021-04-27 08:24:38 +02:00
Alex Peters
c377d7110e List contract address without other data 2021-04-23 15:15:54 +02:00
Alex Peters
8ef2d2695b Persist last code update with contract lookup index 2021-04-23 13:29:14 +02:00
Ethan Frey
602881f6d3 Clean up docs, point to CosmWasm repo for contract details 2021-04-20 22:13:43 +02:00
Alex Peters
aabc575ff4 Fix InitializePinnedCodes 2021-04-16 13:39:15 +02:00
Alexander Peters
d90bf6ec3f Extend ContractInfo for custom data (#492)
* Extend ContractInfo with custom data

* Review comments
2021-04-16 13:38:21 +02:00
Alex Peters
39eed79466 Better interface name 2021-04-13 10:40:13 +02:00
Alex Peters
9ec97b5de9 Handle wasmvm Burn message 2021-04-13 10:27:23 +02:00
Alex Peters
1a355dcb26 Continue wasmvm version upgrade 2021-04-13 10:27:05 +02:00
Ethan Frey
42ca87d161 Handle ReplySuccess + ReplyError properly 2021-04-12 22:14:43 +02:00
Ethan Frey
1bec9259aa Test to show conditional replies not implemented 2021-04-12 22:11:07 +02:00
Ethan Frey
84a6c4d7f4 Fix gas prices 2021-04-12 21:49:43 +02:00
Ethan Frey
6189e17271 Add ReplyOn fields to SubMsg, state is bech32 not canonical addresses 2021-04-12 21:39:19 +02:00
Ethan Frey
39856bf028 Deps and contracts to v0.14.0-beta3 2021-04-12 21:27:11 +02:00
Alexander Peters
8109bba871 Add extension points to the CLI (#477)
* Extract interfaces for genesis state in CLI

* Add more godoc

* Review feedback
2021-03-31 13:24:06 +02:00
Alex Peters
48df71f873 Review comment 2021-03-29 13:50:48 +02:00
Alex Peters
55ac19bc7e Public CoinTransferrer interface 2021-03-24 14:11:43 +01:00
Alex Peters
408bba14a5 Extract contract keeper 2021-03-24 14:11:42 +01:00
Alex Peters
03bf7b0adf Introduce new interfaces for extendability 2021-03-24 14:11:42 +01:00
loloicci
85173c69d5 fix a typo in comment 2021-03-23 16:18:07 +09:00
Alexander Peters
cfcfa64ecc Restructure protobuf files (#466)
* Restructure protobuf dir and generation

* Format protobuf definitions
2021-03-22 15:50:23 +01:00
Alexander Peters
d9142662c1 Remove internal package (#464)
* Move internal subfolders up

* Fix broken imports and fmt
2021-03-19 09:52:01 +01:00
Alexander Peters
63fe568b32 Merge pull request #463 from CosmWasm/telemetry_387
Add telemetry
2021-03-19 09:31:04 +01:00
Alex Peters
75d5fcb6b1 Add telemetry 2021-03-18 16:25:09 +01:00
Alex Peters
6996f72b38 Handle non default ibc tranfer port 2021-03-18 15:31:33 +01:00
Alexander Peters
8e35dc260b Refactor wasm message handlers and query plugin (#460)
* Refactor wasm message handlers

* Add handler plugin tests

* Review feedback

* Add handler and query tests
2021-03-18 15:31:12 +01:00
Alex Peters
2eb45fc526 Handle nil in grpc querier 2021-03-15 13:54:23 +01:00
Ethan Frey
200a2e949c dispatch submessages from ibc handlers 2021-03-10 19:19:27 +01:00
Alex Peters
ea04c10db5 Update wasm contracts 2021-03-10 15:20:34 +01:00
Alex Peters
16779e60c7 Upgrade wasmvm to v0.14.0-beta1 2021-03-10 15:20:33 +01:00
Alex Peters
5c52ab7b6e Check coin transfer enabled; extensionpoint 2021-03-10 12:59:58 +01:00