Commit Graph

146 Commits

Author SHA1 Message Date
Ethan Frey eeb12592f3 Use height from query and return height on query 2020-02-27 17:45:58 +01:00
Ethan Frey 2b1972ace3 Proper json for MsgInstantiateContract.Label 2020-02-27 17:44:10 +01:00
Ethan Frey f511afec50 Fix markdown 2020-02-27 16:39:50 +01:00
Ethan Frey 9f15833a34 Add notes to README to trigger PR update 2020-02-27 16:18:51 +01:00
Ethan Frey 5120b5210f Test and document current tag behavior 2020-02-27 16:11:57 +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 7e0d3202e6 Document events that are dispatched 2020-02-27 15:20:11 +01:00
Ethan Frey 90192b8257 Cleanup mask tests 2020-02-27 14:47:43 +01:00
Ethan Frey 4ee327ff2c Add updated mask contract 2020-02-27 14:37:59 +01:00
Ethan Frey 4ad9c900a4 Update test contract, escrow to 0.7 version 2020-02-27 12:24:13 +01:00
Ethan Frey 9b8dcefb24 x/wasm compiles, many tests fail 2020-02-27 11:47:30 +01:00
Ethan Frey 1c0d557707 Update tests 2020-02-26 09:19:26 +01:00
Ethan Frey c509fb91d8 Remove contract string list, add address info to by code id, filter out init_msg in list 2020-02-26 09:19:26 +01:00
Ethan Frey 61a117db05 Add test label is properly stored 2020-02-25 17:09:42 +01:00
Ethan Frey ba53b8a9c9 Store Label with new contracts 2020-02-25 17:04:34 +01:00
Ethan Frey b80fbdaa9e Add Label to MsgInstantiateContract and fix validation 2020-02-25 16:59:20 +01:00
Ethan Frey fae5628fba Update Msg docs 2020-02-25 16:40:21 +01:00
Ethan Frey 6cac874374 Better Validation on Sender, Source URL 2020-02-25 16:22:38 +01:00
Ethan Frey ea6346e87f Update BuilderRegexp to be a larger section of docker image:tags 2020-02-25 16:10:02 +01:00
Ethan Frey 660407b34d Fixed up REST query responses 2020-02-11 10:02:36 +01:00
Ethan Frey 28591613fa querySmart returns base64-encoded contract result
queryRaw and queryAllState return []model object
(array of key-hex and value-base64)
2020-02-10 20:10:45 +01:00
Ethan Frey 7c6c31de74 Fix list contracts by code id 2020-02-10 12:44:09 +01:00
Ethan Frey d3abcc69c0 Include source and builder in code info return info 2020-02-09 22:12:29 +01:00
Ethan Frey a458606b17 Add /wasm/code/{codeID}/contracts to rest to get all contract info by codeID 2020-02-09 22:09:48 +01:00
Ethan Frey cb148f0d13 Sort the contract addresses on queries 2020-02-09 21:59:20 +01:00
Ethan Frey ae3f47986f Merge pull request #63 from cosmwasm/test-failure-modes
Test and fix failure modes
2020-02-09 12:52:31 +01:00
Ethan Frey 5e67261d43 Return code object (with []byte), not string 2020-02-07 20:31:32 +01:00
Ethan Frey d3ef507da7 Ensure storage loop throws an ErrorOutOfGas 2020-02-07 19:36:32 +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 b30f96a551 Use new test contract with failure modes, and fix all calls 2020-02-07 19:04:01 +01:00
Ethan Frey 4544e6b1f3 Fix parsing codeID in rest call, getCodeInfo 2020-02-05 11:16:19 +01:00
Ethan Frey 47475b2558 Remove execessive events 2020-02-04 19:10:31 +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
sahith-narahari 547d82f6b6 Merge branch 'master' of github.com:cosmwasm/wasmd into vw/add-lcd-tests 2020-01-27 18:45:15 +05:30
sahith-narahari c84d7953f4 Modified url and fixed query contract 2020-01-27 18:38:55 +05:30
Ethan Frey bd5707362e
Merge pull request #55 from cosmwasm/vw/add-lcd-tests
Added rest to module
2020-01-27 13:19:46 +01:00
sahith-narahari 568a942e4f Added rest to module 2020-01-27 17:32:06 +05:30
Ethan Frey dbe123986d Fix gas prices 2020-01-27 11:53:56 +01:00
Alex Peters ef94d4b983
Prevent storing wasm code in simulation mode 2020-01-27 11:32:51 +01:00
Ethan Frey a8fd5e97da Cleanup and README explanations 2020-01-24 11:31:21 +01:00
Ethan Frey 33c4e92bdf Fix tests 2020-01-24 11:23:10 +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 95cc9da7f3 Merge branch 'master' into merge_gaia_master_broken 2020-01-23 22:53:42 +01:00
Ethan Frey 12499eaad9
Merge pull request #45 from cosmwasm/vw/add-rest-server
Added contract state query to rest
2020-01-23 22:44:50 +01:00
Sunny Aggarwal 348a12316b remove genesis test 2020-01-23 16:28:29 -05:00
sahith-narahari f4ee2d971c Modified url parameters 2020-01-24 02:53:23 +05:30
Sunny Aggarwal 1addc4847a remove http request 2020-01-23 16:18:47 -05:00