Commit Graph

489 Commits

Author SHA1 Message Date
Ethan Frey
d80a6ea383 Add more queries to bonded case 2020-05-18 17:38:36 +02:00
Ethan Frey
da57fd357b Test contract bonds properly 2020-05-18 17:28:31 +02:00
Ethan Frey
c4c1f9cf35 Test scaffolding for staking, test init and query callbacks 2020-05-18 15:45:10 +02:00
Ethan Frey
0379db676c Add staking contract, rename mask -> reflect 2020-05-18 13:04:24 +02:00
Ethan Frey
95bd9e8efa Update alias.go, format, clean imports 2020-05-13 22:55:07 +02:00
Ethan Frey
c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Ethan Frey
27617a7551 Update test contracts and gas prices 2020-05-13 21:19:51 +02:00
Ethan Frey
945067f5c0 Update to 0.8.0-alpha2 2020-05-13 21:16:18 +02:00
Ethan Frey
c01b855b8d Merge pull request #111 from CosmWasm/upgrade-cosmwasm-0.8
Upgrade cosmwasm 0.8
2020-05-12 22:40:49 +02:00
Ethan Frey
c691c79042 Calculate staked amount for delegation 2020-05-11 13:22:57 +02:00
Ethan Frey
21fa8a6ba5 Test all CosmosMsg -> sdk.Msg encoding 2020-05-11 12:39:49 +02:00
Ethan Frey
6b88cefe43 Add staking queries with some open TODOs 2020-05-11 11:28:07 +02:00
Ethan Frey
e6dd80493b Implement StakingMsg.Withdraw as two sdk messages 2020-05-11 09:58:16 +02:00
Ethan Frey
b2ba8026ef WasmMsg Encoders can return []sdk.Msg 2020-05-11 09:53:34 +02:00
Ethan Frey
102ac8ed1d Add staking messages except Withdraw 2020-05-11 09:45:35 +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
b3fe657920 Test custom query callbacks with mask contract 2020-05-07 11:43:57 +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
7caa786d71 Register and demo custom message handlers with mask 2020-05-07 10:40:54 +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
cc827a4a00 Fix Dockerfile 2020-05-06 20:26:50 +02:00
Ethan Frey
3f3eb3ef5c Fix up module level tests, only 2 skipped 2020-05-06 20:00:35 +02:00
Ethan Frey
42d187058e Handle Wasm instantiate 2020-05-06 17:26:36 +02:00
Ethan Frey
ffcab2176a Allow contracts to dispatch contract messages 2020-05-06 17:21:59 +02:00
Ethan Frey
77d1ea4c22 Add bank querier 2020-05-06 13:58:18 +02:00
Ethan Frey
f4294868d6 internal tests pass, with 3-4 skipped for now, escrow contract old 2020-05-06 12:45:23 +02:00
Ethan Frey
91bd23b910 Updated internal/keeper testcontracts to 0.8-dev 2020-05-06 12:09:11 +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
493a929ad3 Merge pull request #107 from CosmWasm/no-alpine-support
Add docs on (un)supported systems
2020-04-17 20:11:01 +02:00
Ethan Frey
fd5efabddd Add docs on (un)supported systems 2020-04-13 11:08:40 +02:00
Ethan Frey
6b5c6c7e64 Update deps, cosmos-sdk v0.38.3, go-cosmwasm v0.7.2 2020-04-13 10:53:03 +02:00
Simon Warta
7869d9679a Merge pull request #106 from CosmWasm/install-libgo_cosmwasm.so
Install libgo_cosmwasm.so to shared location
2020-04-04 21:43:08 +02:00
Simon Warta
573b0db969 Install libgo_cosmwasm.so to shared location 2020-04-04 16:02:56 +02:00
Ethan Frey
bcea986fda Merge pull request #101 from CosmWasm/allow-duplicate-wasm-hash
Allow duplicate wasm hash
2020-03-12 15:52:10 +01: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
9dda90cdf6 Update simulation test to the high-level behavior we want - simulate than create for real 2020-03-12 15:29:07 +01:00
Ethan Frey
74bd873152 Update to go-cosmwasm v0.7.1 and tests pass 2020-03-12 15:22:02 +01:00
Ethan Frey
b389b75fdb Add test failure (cannot create duplicate) 2020-03-12 15:21:16 +01:00
Ethan Frey
e44cce6c8f Merge pull request #100 from assafmo/patch-1
Implement query list-contract-by-code for the CLI
2020-03-04 12:37:28 +01:00
Assaf Morami
bb18c59c5d Implement query list-contract-by-code for the CLI 2020-03-04 12:12:36 +02:00
Ethan Frey
64d7d04890 Merge pull request #94 from cosmwasm/update-cli
Update wasmd cli commands to match changes
2020-03-02 16:40:17 +01:00
Ethan Frey
ba4ce39a8e Add support for --label when instantiating contracts 2020-03-02 16:29:14 +01:00
Ethan Frey
38080d2465 Merge pull request #97 from cosmwasm/stricter-build-checks
Stricter build checks
2020-03-02 16:21:59 +01:00
Ethan Frey
b5601c8ec7 Fixed test case 2020-03-02 16:09:22 +01:00
Ethan Frey
e5fbd5d2ff Merge pull request #98 from cosmwasm/document-action-event
Update README on events
2020-03-02 16:08:03 +01:00
Ethan Frey
ecdacd03e3 Update README on events 2020-03-02 15:57:28 +01:00
Ethan Frey
188d156122 Update logic and fix genesis test 2020-03-02 15:48:13 +01:00