Commit Graph

743 Commits

Author SHA1 Message Date
Alexander Peters
cbda602723 Merge pull request #305 from CosmWasm/stargate_rc3_upgrade
Upgrade to Stargate RC3
2020-11-11 12:19:08 +01:00
Alexander Peters
550c6f5c4f Containerized Protobuf generation (#304)
* Docker container based Protobuf generation and linting

* Add protobuf comments

* Update contrib/prototools-docker/Dockerfile

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update contrib/prototools-docker/Dockerfile

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update x/wasm/internal/types/msg.proto

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update x/wasm/internal/types/types.proto

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2020-11-11 12:13:04 +01:00
Alex Peters
a485d942aa Upgrade to Stargate RC3 2020-11-10 15:04:49 +01:00
Alexander Peters
4fb3a50fa7 Support self calling contract on instantiation (#300)
* Support self calling contract on instantiation

* Review feedback

* Review feedback
2020-11-09 09:16:41 +01:00
Alexander Peters
fbd7168cc1 Merge pull request #302 from CosmWasm/code_max_param_289
Reject wasm code exceeding limit
2020-11-09 09:05:20 +01:00
Alex Peters
2efd962984 Add test to very limit on uncompressed data 2020-11-09 08:50:10 +01:00
Alex Peters
d4824f3d64 Parameter for max wasm code size 2020-11-06 11:47:01 +01:00
Alex Peters
e55cc9f3b5 Reject wasm zips exceeding limit 2020-11-05 16:58:23 +01:00
Alexander Peters
41cf73dae9 Merge pull request #299 from CosmWasm/upgrade_starport_rc2
Upgrade to Stargate RC2
2020-11-05 10:04:02 +01:00
Alex Peters
bf83c4476c Upgrade to Stargate RC2 2020-11-03 18:20:26 +01:00
Ethan Frey
1846f62f80 Merge pull request #293 from CosmWasm/upgrade_stargate_rebased
Upgrade to Stargate
2020-10-29 14:13:55 +01:00
Ethan Frey
a96273654d Merge pull request #294 from conr2d/update-readme-1
Update README
2020-10-29 13:58:13 +01:00
Alex Peters
cd3f72e6f1 Review feedback 2020-10-29 13:55:43 +01:00
Ethan Frey
262f1cfccb Document local cli tests 2020-10-28 10:33:44 +01:00
Jeeyong Um
2d7381920a Update README 2020-10-28 07:32:33 +00:00
Ethan Frey
85cccdc0d4 Away from master onto v0.40.0-rc1 2020-10-27 21:04:22 +01:00
Alex Peters
c6e0fda492 Cleanup module 2020-10-27 16:03:45 +01:00
Alex Peters
dff38d2e5b Add manual test scripts 2020-10-27 15:47:46 +01:00
Alex Peters
e54fbb9eb8 Better test setup 2020-10-27 15:01:22 +01:00
Alex Peters
5cc3e6dc8b Add GRPC querier and REST gateway 2020-10-27 15:01:22 +01:00
Alex Peters
bcb00d6017 Upgrade to Stargate commits 2020-10-27 15:01:22 +01:00
Ethan Frey
ff37dc68f2 Merge pull request #290 from CosmWasm/check-iavl-range-bounds
Check iavl range bounds
2020-10-12 23:25:45 +02:00
Ethan Frey
e3c37da8c4 Full test cases over all bounds 2020-10-12 23:16:58 +02:00
Ethan Frey
8ebab06603 Add simple iterator test - all asc/desc 2020-10-12 23:06:43 +02:00
Ethan Frey
9984c01a6b Merge pull request #286 from CosmWasm/raw-query-returns-base64
Encode raw queries as base64: The missing commit
2020-10-09 10:51:48 +02:00
Ethan Frey
80a7cfea84 Manually encode as base64 as auto-encoded doesn't work 2020-10-09 10:32:46 +02:00
Ethan Frey
b30902fe1f Merge pull request #284 from CosmWasm/raw-query-returns-base64
Base64 encoded return data on wasm raw query REST endpoint
2020-10-08 20:50:42 +02:00
Ethan Frey
13169ab629 Base64 encoded return data on wasm raw query REST endpoint 2020-10-08 20:18:51 +02:00
Ethan Frey
bc0c96f33a Merge pull request #285 from CosmWasm/prepare-v0.11-release
Prepare v0.11 release
2020-10-08 20:18:09 +02:00
Ethan Frey
aa81939067 Download newest contracts 2020-10-08 20:12:54 +02:00
Ethan Frey
8d2d2d3a81 Update to go-cosmwasm v0.11.0 2020-10-08 20:12:14 +02:00
Ethan Frey
4c93c3fbc1 Merge pull request #281 from CosmWasm/nil-raw-query-test
Test WasmQuery::Raw with missing data
2020-10-07 17:00:18 +02:00
Ethan Frey
569539c0ff Update to go-cosmwasm v0.11.0-rc and raw query tests pass 2020-10-07 16:50:20 +02:00
Ethan Frey
09d547620b Add test showing WasmQuery::Raw fails for missing responses 2020-10-07 16:45:58 +02:00
Ethan Frey
ad4262a344 Merge pull request #274 from CosmWasm/prevent_overflow
Prevent integer overflow
2020-10-07 14:50:35 +02:00
Ethan Frey
3571625d9a Merge pull request #278 from CosmWasm/fix-staking-queries
Better calculation of Delegation data
2020-10-07 14:49:10 +02:00
Ethan Frey
aabe0b6287 Extra safe we do not write during the query 2020-10-07 14:45:23 +02:00
Ethan Frey
9593e91eea Ensure the DelegationQuery doesn't modify the state 2020-10-07 14:43:19 +02:00
Ethan Frey
e14514444d Minor PR cleanup 2020-10-07 14:35:46 +02:00
Alex Peters
5fbf4ae7c7 Review feedback 2020-10-07 11:59:57 +02:00
Ethan Frey
a28b880c18 Merge pull request #279 from CosmWasm/query-testing
Improve query testing
2020-10-07 11:29:54 +02:00
Simon Warta
d2d204891c Test nil key and adapt docs 2020-10-07 11:21:22 +02:00
Simon Warta
b4d22c63f8 Test QueryContractState based on binary 2020-10-07 11:17:01 +02:00
Ethan Frey
3143ea67a7 Update app.go for new constructor 2020-10-06 20:59:22 +02:00
Ethan Frey
2a92028b29 Wrote gnarly query to get outstanding rewards for delegator 2020-10-06 20:57:18 +02:00
Ethan Frey
0b290cbab4 Better calculation of Delegation.CanRedelegate 2020-10-06 20:02:06 +02:00
Ethan Frey
dda0bf0f88 Merge pull request #277 from CosmWasm/simplify-raw-query-return
Return raw stored bytes for raw queries
2020-10-06 20:01:54 +02:00
Ethan Frey
eb0f86ebe2 Use json.RawMessage for better encoding of REST interface on raw queries 2020-10-06 19:43:52 +02:00
Ethan Frey
4689220bbf Update raw query REST response 2020-10-06 17:52:18 +02:00
Ethan Frey
2b34ee60cb Return raw stored bytes for raw queries 2020-10-06 17:48:13 +02:00