Commit Graph

72 Commits

Author SHA1 Message Date
Ethan Frey
4dac673884 Add MsgClearAdmin, MsgUpdateAdmin requires admin set 2020-06-26 11:27:34 +02:00
Ethan Frey
751ce5a9bf Charge gas per instance created 2020-06-22 21:05:31 +02:00
Ethan Frey
cefd743146 Update test code 2020-06-22 14:00:50 +02:00
Ethan Frey
ac95b583fc Update to handle multiple response types 2020-06-22 13:44:06 +02:00
Ethan Frey
f7d8d6bd6f Update with go-cosmwasm fix 2020-06-15 23:58:21 +02:00
Alex Peters
42f544f5c8 Minor fixes 2020-06-12 14:50:59 +02:00
Alexander Peters
9a16d583d3 Update contract admin (#124)
* Add update administrator

* Review comments
2020-06-05 14:02:01 +02:00
Alexander Peters
81d8560d41 Migrate contract backend functionality with go-cosmwasm stub impl (#122)
* Start migration server side

* Return migration response and emit events

* Dispatch migrate contract messages

* Rebase to 0.9 and minor updates

* Review feedback

* Update changelog

* Add msg test
2020-06-04 08:54:30 +02:00
Reuven Podmazo
da3964a786 updated commit of go-cosmwasm dependency to branch dynamic-gas-metering 2020-05-28 00:54:22 +03:00
Reuven Podmazo
398763ae9a adjusted gas consumption logic in case of errors in go-cosmwasm
see:
https://github.com/CosmWasm/go-cosmwasm/pull/90
https://github.com/CosmWasm/cosmwasm/pull/359
2020-05-25 21:01:05 +03:00
Ethan Frey
c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Ethan Frey
945067f5c0 Update to 0.8.0-alpha2 2020-05-13 21:16:18 +02:00
Ethan Frey
6b88cefe43 Add staking queries with some open TODOs 2020-05-11 11:28:07 +02:00
Ethan Frey
8306d89010 Properly throw OutOfGas when we hit storage limits inside the contract 2020-05-07 12:03:31 +02:00
Ethan Frey
001969c70e Add wasm query callback 2020-05-07 11:27:17 +02:00
Ethan Frey
0ca2ff6702 Make QueryPlugins configurable for keeper 2020-05-07 11:08:20 +02:00
Ethan Frey
7b7a293835 Allow configuring custom message handlers in wasm 2020-05-07 10:20:18 +02:00
Ethan Frey
f727cb4aff Load contractAccount less, just use AccAddress 2020-05-07 09:59:32 +02:00
Ethan Frey
77d1ea4c22 Add bank querier 2020-05-06 13:58:18 +02:00
Ethan Frey
a53bfdf612 Added stubs for handler, querier to compile code 2020-05-06 11:57:55 +02:00
Ethan Frey
03ad1fb1a0 Update to CosmWasm/go-cosmwasm master 2020-05-06 11:21:15 +02:00
Ethan Frey
d9afc08be6 Simplify handling of simulation in UploadCode given v0.7.1 behavior 2020-03-12 15:30:03 +01:00
Ethan Frey
79d45f0525 Remove unneeded filter in handleSdkMessage 2020-02-27 20:13:29 +01:00
Ethan Frey
340fa4c5b2 Test and fix the sorting and redacting of created at 2020-02-27 19:07:56 +01:00
Ethan Frey
4a2ee1ab9a Store CreatedAt info when instantiating contracts 2020-02-27 19:07:56 +01:00
Ethan Frey
502e02429e Properly emit events for every sub-message dispatched by x/wasm 2020-02-27 15:46:27 +01:00
Ethan Frey
9b8dcefb24 x/wasm compiles, many tests fail 2020-02-27 11:47:30 +01:00
Ethan Frey
ba53b8a9c9 Store Label with new contracts 2020-02-25 17:04:34 +01:00
Ethan Frey
ce50e155ed Test panic and cpuloop handling 2020-02-07 19:26:13 +01:00
Ethan Frey
7d3b0e4ca5 Use base64 encoding for the CosmosMsg::Contract string payload 2020-02-07 19:11:27 +01:00
Ethan Frey
f39ee1df58 properly send funds when dispatching message to another contract 2020-02-04 18:58:17 +01:00
Ethan Frey
b760527294 Don't send coins when Instantiate/Execute are called without Coins 2020-02-04 18:58:17 +01:00
Alex Peters
ef94d4b983 Prevent storing wasm code in simulation mode 2020-01-27 11:32:51 +01:00
Ethan Frey
9d2cbc9c66 WIP: fixing types in tests 2020-01-24 08:19:32 +01:00
Ethan Frey
99be1ca85e Update data types 2020-01-24 08:19:32 +01:00
Ethan Frey
94667e9678 x/wasm/internal compiles 2020-01-23 19:10:08 +01:00
Ethan Frey
e28db84189 Contract-to-contract send works 2020-01-21 14:13:36 +01:00
Ethan Frey
5b9c6592c2 Test mask re-dispatching contract msg, fix bugs 2020-01-21 13:55:51 +01:00
Ethan Frey
5668833d69 Adjust Instantiate and Execute signatures 2020-01-21 13:21:36 +01:00
Ethan Frey
b5a621a925 Upgrade go-cosmwasm, fix CosmosMsg usage 2020-01-21 13:15:26 +01:00
Ethan Frey
29f1c3cccf Add helpers for opaque message encoding 2020-01-20 21:36:56 +01:00
Ethan Frey
f6327989e1 Cleanup 2020-01-20 20:31:49 +01:00
Ethan Frey
1b1e6ae1e8 Test passes with opaque msg 2020-01-20 20:29:54 +01:00
Ethan Frey
3f78ce5331 Got opaque message to bounce back 2020-01-20 20:21:38 +01:00
Ethan Frey
61db5560e4 Skip integration test, start simpler keeper test 2020-01-20 19:55:40 +01:00
Ethan Frey
a04f39f1cf Merge pull request #26 from cosmwasm/vw/lru_cache_config
Fix 14: Allow configuring LRU cache size in app.toml
2020-01-20 10:44:40 +01:00
anilCSE
536d6750c7 Merge branch 'master' of github.com:cosmwasm/wasmd into vw/lru_cache_config
# Conflicts:
#	x/wasm/alias.go
#	x/wasm/internal/keeper/keeper.go
2020-01-18 18:25:54 +05:30
anilCSE
84f63203d1 Add wasmconfig and default config 2020-01-18 14:03:03 +05:30
Sahith Reddy Narahari
872a40eaa3 Merge branch 'master' of https://github.com/cosmwasm/wasmd into vw/add_source_ref 2020-01-17 19:32:58 +05:30
Sahith Reddy Narahari
b2172a81e5 Added source and builder to validate basic 2020-01-17 19:16:09 +05:30