Commit Graph

358 Commits

Author SHA1 Message Date
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
Simon Warta
105b2cd894 Merge pull request #82 from cosmwasm/better-code-metadata
Add labels to contract instances
2020-02-25 19:23:00 +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
0db1a3d040 Merge pull request #81 from cosmwasm/set-source-builder-regexp
Improve source and builder regexp
2020-02-25 16:47:02 +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
81e4b66919 Minor adjustments to docker 2020-02-18 22:37:33 +01:00
Ethan Frey
2cf59960e8 sdk version bump, min/max height, better cors 2020-02-18 19:19:22 +01:00
Ethan Frey
941923d707 Merge pull request #74 from cosmwasm/add-cors-support
Add cors support
2020-02-18 19:07:37 +01:00
Ethan Frey
ca5df85434 Add cors flag to wasmcli in docker image 2020-02-18 18:47:14 +01:00
Ethan Frey
6a93c97e42 Upgrade to cosmos-sdk patch, --cors works on rest server 2020-02-18 18:45:50 +01:00
Ethan Frey
05ff82d6aa Update to cosmos-sdk v0.38.1 2020-02-11 19:48:32 +01:00
Ethan Frey
e1a2cc3337 Merge pull request #71 from cosmwasm/properly-encode-binary
Properly encode contract query results
2020-02-11 10:20:28 +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
2f32ffa4a8 Merge pull request #70 from cosmwasm/update-cosmwasm
Use 0.6.3 go-cosmwasm (0.6.4 cosmwasm)
2020-02-10 14:13:36 +01:00
Ethan Frey
8d9ee184da Use 0.6.3 go-cosmwasm 2020-02-10 14:07:23 +01:00
Ethan Frey
4d3334519b Enable --trace/debug info in docker wasmd server 2020-02-10 13:29:37 +01:00
Ethan Frey
7c6c31de74 Fix list contracts by code id 2020-02-10 12:44:09 +01:00
Ethan Frey
e4be8f1e58 Merge pull request #68 from cosmwasm/rest-server-fixes
Rest server fixes
2020-02-10 07:31:28 +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
a7e8464a19 Merge pull request #66 from cosmwasm/update-sdk
Update to forked sdk v0.38.2, with restart bugfix
2020-02-09 13:53:28 +01:00
Ethan Frey
800f0ed19f Merge pull request #67 from cosmwasm/fix-setup.sh
Fix setup.sh
2020-02-09 12:54:15 +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
Simon Warta
dd7c3bbe2c Override STAKE/FEE with env variables
Positional arguments are for the addresses
2020-02-09 11:32:15 +01:00
Simon Warta
f4683ce0f5 Do Double quote to prevent globbing and word splitting 2020-02-09 11:32:15 +01:00
Simon Warta
6746989e49 Fix to bash and harden some config 2020-02-09 11:31:45 +01:00
Ethan Frey
aaad847777 Update deps to forked sdk v0.38.2, support --trace debug flag 2020-02-08 22:37:12 +01:00
Ethan Frey
fff0a12922 Merge pull request #65 from cosmwasm/fix-code-download
Rest server allows proper wasm code download
2020-02-08 22:13:51 +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
678d0d7691 Merge pull request #62 from cosmwasm/add-contributors
Add list of contributors
2020-02-07 18:10:03 +01:00
Ethan Frey
aed3e05c27 Update README.md
Co-Authored-By: Marko <marbar3778@yahoo.com>
2020-02-07 14:22:42 +01:00
Ethan Frey
33d05ab674 Add list of contributors 2020-02-06 20:26:07 +01:00
Ethan Frey
a1c1bef45c Merge pull request #61 from cosmwasm/fix_ci_build
Fix CI release build command
2020-02-05 15:15:40 +01:00
Alex Peters
6e7379a71f Fix ci release build command 2020-02-05 14:56:51 +01:00
Ethan Frey
42e6b9b699 Merge pull request #60 from cosmwasm/remove-unneeded-sends
Remove unneeded sends
2020-02-05 11:29:23 +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