Commit Graph

972 Commits

Author SHA1 Message Date
Alexander Peters
63fe568b32 Merge pull request #463 from CosmWasm/telemetry_387
Add telemetry
2021-03-19 09:31:04 +01:00
Alexander Peters
e3b5a6e5e9 Merge pull request #462 from CosmWasm/transfer_portid_396
Handle non default transfer port id
2021-03-18 16:27:37 +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
dependabot-preview[bot]
293c96da77 Bump github.com/golang/protobuf from 1.4.3 to 1.5.1
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.3 to 1.5.1.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.3...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 06:48:15 +00:00
Alexander Peters
356d786a9c Merge pull request #459 from CosmWasm/grpc_query_nil_416
Handle nil in grpc querier
2021-03-16 09:47:00 +01:00
Alex Peters
2eb45fc526 Handle nil in grpc querier 2021-03-15 13:54:23 +01:00
Alexander Peters
ffb7c29a7a Upgrade relayer-test for rly latest (cf49cb4) (#458) 2021-03-12 10:06:20 +03:00
Alexander Peters
0370397a78 Merge pull request #456 from CosmWasm/blocklist_addr
Fix blocklist addresses
2021-03-11 10:34:38 +01:00
Alex Peters
60b5100aa6 Fix blocklist 2021-03-11 09:09:53 +01:00
Alexander Peters
315284e360 Merge pull request #452 from CosmWasm/sdk_upgrade
Upgrade cosmos-sdk to v0.42.0
2021-03-10 21:33:27 +01:00
Alex Peters
0b9fcdbb7c Upgrade cosmos-sdk to v0.42.0 2021-03-10 21:24:11 +01:00
Ethan Frey
bd3cae0b8c Merge pull request #447 from CosmWasm/wasmvm_upgrade
Upgrade wasmvm to v0.14.0-beta1
2021-03-10 21:22:22 +01:00
Ethan Frey
200a2e949c dispatch submessages from ibc handlers 2021-03-10 19:19:27 +01:00
Ethan Frey
810c05bbca Merge pull request #453 from CosmWasm/fix-docker-setup-for-fast-blocks
Allow subsecond block times
2021-03-10 18:04:18 +01:00
Ethan Frey
310aa8b3dd Allow subsecond block times 2021-03-10 16:40:12 +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
Alexander Peters
10a1fef083 Merge pull request #446 from CosmWasm/send_coins_enabled_414
Check coin sendable status
2021-03-10 15:17:05 +01:00
Alex Peters
5c52ab7b6e Check coin transfer enabled; extensionpoint 2021-03-10 12:59:58 +01:00
Alex Peters
3a6ac58edb Replace keeper types with interfaces 2021-03-10 12:08:53 +01:00
Ethan Frey
78d5581040 Submsg and replies (#441)
* Add dispatchSubmessages and reply to Keeper

* Update all mock types

* Dispatch submessages in all entry points

* Rename mask -> reflect in all tests (that was cosmwasm 0.8...)

* Basic submessage dispatch test;

* Simplify messanger interface again

* Start table tests

* Added table tests

* Debuging handling out of gas and panics

* Properly handle gas limits and out of gas panics

* Test parsing return values from WasmMsg::Instantiate

* PR feedback

* Add test to trigger 0 len data panic

* Safely handle 0 sdk msg submsg responses

* Charge gas on reply
2021-03-10 09:46:12 +01:00
Alexander Peters
fd81a6679a Merge pull request #444 from CosmWasm/stargate_msg_test_438
Add stargate msg test with any
2021-03-10 08:13:23 +01:00
Ethan Frey
8d9ed87001 Merge pull request #439 from CosmWasm/ibc-query-support
Ibc query support
2021-03-09 23:50:13 +01:00
Ethan Frey
4072abf203 Merge pull request #436 from CosmWasm/contract_pinning_401
Start Pin/Unpin contract
2021-03-09 22:49:10 +01:00
Ethan Frey
9ce450abb4 Integrate PR review 2021-03-09 22:33:33 +01:00
Ethan Frey
91ad768938 Implement AllChannels Query 2021-03-09 22:31:03 +01:00
Ethan Frey
f03e2090aa Implement Channel Query 2021-03-09 22:31:03 +01:00
Ethan Frey
5c8fe5a965 Add stubs for handling IBC QueryRequests from contract 2021-03-09 22:31:03 +01:00
Alex Peters
e660395eb7 Add stargate msg test with any 2021-03-09 17:54:19 +01:00
Alex Peters
6c3c1978b7 Pin/Unpin contract 2021-03-07 13:40:13 +01:00
Ethan Frey
d51a1b87f5 Merge pull request #437 from CosmWasm/wasm-migrate-msg
Encode WasmMsg::Migrate and test
2021-03-05 13:50:01 +01:00
Ethan Frey
27d5351842 Encode WasmMsg::Migrate and test 2021-03-04 21:25:28 +01:00
Ethan Frey
b98353e1ec Merge pull request #435 from CosmWasm/stargate-msg-and-query
Stargate msg and query
2021-03-04 19:05:51 +01:00
Ethan Frey
cec6dcd714 Test contract using raw grpc/proto stargate queries 2021-03-04 16:55:00 +01:00
Ethan Frey
8913fdf068 Simplify 2 step Message Handler setup 2021-03-04 16:24:44 +01:00
Ethan Frey
b4d325db3b Test the Stargate HandlerPlugin encoding 2021-03-04 16:23:46 +01:00
Ethan Frey
c33b3694ac Unpack interfaces after unpacking stargate message 2021-03-04 15:42:52 +01:00
Ethan Frey
0c3460e09f Add stargate support to wasm querier plugins 2021-03-04 15:42:35 +01:00
Ethan Frey
220c2770d6 Implement EncodeStargateMsg 2021-03-04 14:00:02 +01:00
Ethan Frey
9bf079c556 Add placeholders for StargateQuery and StargateMsg 2021-03-04 13:32:37 +01:00
Ethan Frey
b09a925b48 Merge pull request #433 from CosmWasm/sudo-entry-point
Sudo entry point
2021-03-04 11:09:38 +01:00
Ethan Frey
311be37e90 Add comment on tongue-in-check StealFunds message 2021-03-04 10:57:09 +01:00
Ethan Frey
a50bafb789 Update SudoMsg in test 2021-03-04 10:53:21 +01:00
Ethan Frey
43430b751e Update CHANGELOG 2021-03-04 10:53:21 +01:00
Ethan Frey
1f2a7db818 Add test coverage 2021-03-04 10:53:21 +01:00
Ethan Frey
c2ff445221 Expose Sudo on WasmEngine and Keeper 2021-03-04 10:53:21 +01:00
Ethan Frey
4307e9b402 Merge pull request #430 from CosmWasm/instantiate_encoder_376
Use Label from contract's instantiate message
2021-03-04 10:50:22 +01:00
Alex Peters
279efa9e2a Use label from contract msg 2021-03-04 08:55:34 +01:00