Commit Graph

1120 Commits

Author SHA1 Message Date
Alex Peters
7b2cfa48ed Strip message events and reorder 2021-08-11 14:08:56 +02:00
Alex Peters
7bc048e1ed Add tests for events 2021-08-11 13:12:46 +02:00
Ethan Frey
a579455fdb Update ibc reflect contract from CosmWasm PR 1046 2021-08-11 11:00:39 +02:00
Alex Peters
e9156be200 Refactor events 2021-08-10 18:19:16 +02:00
Alexander Peters
0d2b291f3a Merge pull request #585 from husio/shelltools
Use shellcheck and shfmt on contrib scripts
2021-08-09 17:54:09 +02:00
Ethan Frey
59129027a7 Merge pull request #581 from CosmWasm/events-docs
Document event handling
2021-08-09 14:55:17 +02:00
Piotr Husiatyński
c30a5a35c5 Use shellcheck and shfmt on contrib scripts
This commit does not introduce any functionality change. It is only
applying suggestions from the shellcheck linter and reformats the code
using shfmt.

Shellcheck is a base shell linter that helps avoiding common shell
script mistakes.
Shfmt formats shell code similar to other Xfmt (i.e. gofmt) tools. No
need to format code manually or argue about the style anymore!

Both tools can be integrated with many editors or IDE.
2021-08-09 14:42:17 +02:00
Ethan Frey
e4987f7fa5 Use mode: handle_failure/success attribute on reply 2021-08-09 13:55:48 +02:00
Ethan Frey
79f3fadf45 Remove hex-encoded result attribute 2021-08-09 10:47:05 +02:00
Ethan Frey
be3fcf1b73 Remove submsg_start/stop, improve documentation of flattening 2021-08-09 10:46:11 +02:00
Ethan Frey
3c920a1fe3 Empty Response.attributes -> no wasm event emitted 2021-08-06 12:41:57 +02:00
Ethan Frey
33d58d56e7 Remove all _code_id references, no injection in wasm events 2021-08-06 12:37:26 +02:00
Ethan Frey
90d73a3475 _code_id, document emitting custom events, handling events in reply 2021-08-06 02:12:25 +02:00
Ethan Frey
37d4105f8f Split x/wasm events into multiple types, document message concat 2021-08-06 01:46:37 +02:00
Ethan Frey
b71f7262aa Import docs on bank / distribution modules 2021-08-06 01:15:26 +02:00
Ethan Frey
b34398471d Clarified event processing in the sdk 2021-08-06 00:53:23 +02:00
Ethan Frey
f1ac7c0f33 Fill out rest of the skeleton 2021-08-06 00:36:24 +02:00
Ethan Frey
c9b7480eee Start documenting events system 2021-08-06 00:36:24 +02:00
Ethan Frey
9efbb61ee4 Merge pull request #582 from CosmWasm/bump-deps
Cosmos SDK 0.42.9, wasmvm 0.16.0
2021-08-05 18:58:58 +02:00
Ethan Frey
095ba8cb2f update test contracts to cosmwasm v0.16.0 2021-08-05 18:53:07 +02:00
Ethan Frey
1b716a8b59 Use wasmvm 0.16.0 2021-08-05 18:50:57 +02:00
Alex Peters
962e2133f6 Update Dockerfile 2021-08-05 15:46:46 +02:00
Alex Peters
4f22421404 Add contract features to debug logging
(cherry picked from commit ccd075200f704c39ae619d36be781092711bbd41)
2021-08-05 15:45:08 +02:00
Ethan Frey
4938751a60 Cosmos SDK 0.42.9, wasmvm 0.16.0-rc3 2021-08-05 13:47:41 +02:00
Alexander Peters
4cba33a753 Merge pull request #578 from CosmWasm/grpc_gateway_path
Add organisation to grpc gateway path
2021-08-04 17:04:57 +02:00
Alex Peters
7ea8cd788d Add organisation to grpc gateway path 2021-08-04 17:00:04 +02:00
Alexander Peters
d9ae0e2ef1 Update CHANGELOG (#577)
* Update CHANGELOG

* Update changelog

* Update changelog
2021-08-04 16:59:20 +02:00
Ethan Frey
945c68e850 Merge pull request #576 from CosmWasm/security_303
Add intiial SECURITY.md
2021-08-04 16:36:38 +02:00
Alex Peters
7457ae5827 Add intiial SECURITY.md 2021-08-04 09:03:40 +02:00
Ethan Frey
75e1f5c62d Merge pull request #573 from CosmWasm/cli_doc_fix
Remove obsolete cli params
2021-08-03 00:12:13 +02:00
Ethan Frey
59146143aa Merge pull request #572 from CosmWasm/sdk-upgrade
Bump Cosmos-sdk to v0.42.8
2021-08-03 00:10:04 +02:00
Alex Peters
49bed8952f Remove obsolete cli params 2021-08-02 14:55:42 +02:00
Alex Peters
ed254dcdbb Bump Cosmos-sdk to v0.42.8 2021-08-02 11:53:21 +02:00
Ethan Frey
0f6f437b38 Merge pull request #570 from CosmWasm/561-better-ibc-contract-interface
Better ibc contract interface
2021-07-29 09:13:59 +02:00
Ethan Frey
3d1ff09b05 Merge pull request #571 from CosmWasm/update-latest-cosmwasm
Update latest cosmwasm
2021-07-28 23:07:56 +02:00
Ethan Frey
12b6eb4fa8 Update gas price 2021-07-28 23:05:05 +02:00
Ethan Frey
b25956d0a1 Use v0.16.0-rc5 contracts 2021-07-28 23:04:02 +02:00
Ethan Frey
0fe0b6223a Fix relay tests 2021-07-28 22:15:31 +02:00
Ethan Frey
cf854947e9 Change IBCContractKeeper interface, code builds 2021-07-28 22:11:27 +02:00
Ethan Frey
0dbcef0d55 Merge pull request #567 from CosmWasm/553-adjust-default-msg-gas
Adjust default msg gas
2021-07-28 15:24:13 +02:00
Ethan Frey
103285337c Update comments 2021-07-28 13:08:50 +02:00
Ethan Frey
b34290772b Adjust gas prices in tests 2021-07-28 13:06:09 +02:00
Ethan Frey
774034f862 Make gas register tests more flexible, fix counting bug 2021-07-28 13:04:47 +02:00
Ethan Frey
5149372e53 Change default message size cost to 0 2021-07-28 13:04:47 +02:00
Ethan Frey
267643fc12 Merge pull request #564 from CosmWasm/540-trim-code-info
Trim code info
2021-07-28 13:03:23 +02:00
Ethan Frey
18741cb19a Used reserved keyword in protobuf 2021-07-28 11:26:51 +02:00
Ethan Frey
2387a48727 All code compiles and tests 2021-07-28 11:24:44 +02:00
Ethan Frey
c9360f63d1 keeper and types pass tests 2021-07-28 11:24:44 +02:00
Ethan Frey
6bde321974 x/wasm/keeper compiled 2021-07-28 11:24:44 +02:00
Ethan Frey
e0811c5f40 x/wasm/types compiles 2021-07-28 11:24:44 +02:00