Commit Graph

281 Commits

Author SHA1 Message Date
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 fdbe6df83c reflect SendMsg 2020-01-20 20:08:45 +01:00
Ethan Frey 61db5560e4 Skip integration test, start simpler keeper test 2020-01-20 19:55:40 +01:00
Ethan Frey d21f036893 More debugging 2020-01-20 19:07:50 +01:00
Ethan Frey 34032047d9 Start writing full-app level integration test 2020-01-20 18:55:30 +01:00
Ethan Frey 2aec38f31c Use json.RawMessage to displays bytes nicer in json format 2020-01-20 14:40:27 +01:00
Ethan Frey 709608d693
Merge pull request #29 from cosmwasm/vw/modify-cli
Modified arguments in txs
2020-01-20 11:01:41 +01:00
Ethan Frey b254e5097f Merge branch 'master' into vw/modify-cli 2020-01-20 10:51:07 +01:00
Ethan Frey 2db61ec46c Merge branch 'master' into vw/add-rest-server 2020-01-20 10:45:50 +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
Ethan Frey 37ec9df047 Merge branch 'master' into vw/modify-cli 2020-01-20 10:40:54 +01:00
Ethan Frey 3d3b6539ff Use [wasm] subsection in app.toml 2020-01-20 10:29:22 +01:00
Ethan Frey 2007e70977 Update gas price - saving source adds storage gas 2020-01-20 10:15:19 +01:00
sahith-narahari 329ee0433b Modified error messages for rest 2020-01-20 01:53:32 +05:30
sahith-narahari 215dcc4ffa Modified args number for txs 2020-01-20 00:34:35 +05:30
sahith-narahari 0f8ea58646 Added rest interface for queries 2020-01-20 00:13:26 +05:30
anilCSE e895b262f9 Update tests 2020-01-19 12:07:31 +05:30
Sahith Reddy Narahari 386e0f6539 Added txs for rest 2020-01-18 19:57:46 +05:30
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
anilCSE 92e26efa79 Fix validate source url and Update genesis tests 2020-01-18 12:32:34 +05:30
Sahith Reddy Narahari d1c1dcffbf Merge branch 'master' of https://github.com/cosmwasm/wasmd into vw/add-rest-server 2020-01-18 12:16:06 +05:30
anilCSE cd082fe353 Update tests 2020-01-17 21:41:14 +05:30
anilCSE adb07de1db Add genesis tests for source, builder 2020-01-17 21:32:19 +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
Ethan Frey ec7f996218 Disable instance lru cache and update gas 2020-01-17 14:08:35 +01:00
Ethan Frey 3b342bda78 Update escrow contract and uncomment tests 2020-01-17 11:26:19 +01:00
Sahith Reddy Narahari 6aa15e7c45 Added rest interface for store code 2020-01-17 15:50:23 +05:30
anilCSE 62d0c308a8 Add source ref 2020-01-17 10:58:50 +05:30
anilCSE 2eff7112ea Allow configure query gas limit 2020-01-17 10:14:33 +05:30
anilCSE c88a7d14d2 Add lru cache size config 2020-01-17 09:45:36 +05:30
Ethan Frey a14b6961ba Update alias.go 2020-01-16 14:48:45 +01:00
Ethan Frey a93195a21b Fix tests 2020-01-16 14:46:44 +01:00
Ethan Frey 16af0d6401 Fixed nil pointer in error handler 2020-01-16 14:41:12 +01:00
Ethan Frey 275c70bcff Overhauled errors to sdk/errors 2020-01-16 14:35:25 +01:00
Ethan Frey ab5e56351e Fix smart query test with good data 2020-01-16 13:37:51 +01:00
Ethan Frey 91895d8c60 Fixed all internal tests but one (rust panic caught) 2020-01-16 13:03:23 +01:00
Ethan Frey 27c5483ba7 Fixed module tests (disabled escrow) 2020-01-16 12:41:32 +01:00
Ethan Frey d891dd8f7a Update testdata/contract.wasm to 0.6.3 compatible 2020-01-16 12:27:35 +01:00
Ethan Frey b891ecd064 Update api call, wasmd builds 2020-01-16 12:24:25 +01:00
sahith-narahari b9e2bc3dfe Merge branch 'master' of github.com:cosmwasm/wasmd into vw/add-rest-server 2020-01-15 16:55:55 +05:30
Ethan Frey 09016ead0a
Merge pull request #22 from cosmwasm/improve_contract_queries_12
Improve wasm contract queries
2020-01-15 11:53:29 +01:00
Alex Peters a1e01e5df4
ContrctQueries return non nil model slice 2020-01-14 21:45:43 +01:00
Alex Peters 6a76047d57
Return empty result for unknown raw key query 2020-01-14 21:31:55 +01:00
Alex Peters f051d24fe8
Rework query result type; tests 2020-01-14 17:04:45 +01:00
Alex Peters 9156f29a72
Query contract state variations 2020-01-14 13:47:42 +01:00
Ethan Frey eb78f8c9c0
Merge pull request #23 from sikkatech/genesis_tests
Add genesis tests
2020-01-14 12:19:24 +01:00
Ethan Frey d365da2a5f
Merge pull request #19 from cosmwasm/vw/auto-gzip-contracts
Add auto-gzip contracts in cli when uploading
2020-01-14 12:16:29 +01:00
Ethan Frey e075a1604f
Merge pull request #9 from alpe/wasm_gzip_tx_20
Uncompress gzip data in tx body
2020-01-14 12:13:06 +01:00
Alex Peters c6aac95b69
Add 'raw, all' queries 2020-01-14 12:10:00 +01:00
Alex Peters 2978442803
Add requested uncompress test case 2020-01-14 11:09:13 +01:00
Alex Peters 2d32d9f11b
Cleanup uncompress 2020-01-14 11:06:08 +01:00
Sahith Reddy Narahari d33e0841dd Added routes for rest 2020-01-14 15:02:00 +05:30
anilCSE 10e49dc625 Add more tests 2020-01-14 10:35:49 +05:30
anilCSE 2ec1a577c1 Fix review changes 2020-01-14 10:02:49 +05:30
Sunny Aggarwal 9d39f3aa58 added genesis tests 2020-01-13 15:32:10 -05:00
Alex Peters 681dcd2239
Handle contract not found cases 2020-01-13 15:18:25 +01:00
Sunny Aggarwal 1956070ca5 move Code and Contract to genesis.go 2020-01-11 13:25:48 -05:00
Alex Peters dfba1699e2
Limit uncompressed content 2020-01-11 15:10:49 +01:00
anilCSE b71505bd8f Add auto-gzip contracts in cli when uploading 2020-01-11 16:16:58 +05:30
Sunny Aggarwal 0ce1b42480 rename CodeData -> Code and ContractData -> Contract 2020-01-09 14:56:33 -05:00
Sunny Aggarwal e9c772845f rename Contract -> ContractInfo 2020-01-09 14:53:36 -05:00
Alex Peters bf1e51c6aa
Changelog and doc 2020-01-09 14:15:40 +01:00
Alex Peters 88ed663832
Uncompress gzip data in tx body 2020-01-09 14:04:47 +01:00
Sunny Aggarwal 57688babf0 two slices in GenState 2020-01-08 16:27:16 -05:00
Sunny Aggarwal 62cabd2a62 address minor review comments from @ethanfrey 2020-01-08 16:06:52 -05:00
Sunny Aggarwal 5d21232326 added genesis functions 2020-01-06 19:42:44 -05:00
Ethan Frey d12c434ab6 Update test contract, update gas cost 2019-12-02 23:52:36 +01:00
Ethan Frey 76b9e3cf83 Add tests for escrow contract to debug cli failure 2019-11-28 16:22:36 +01:00
Ethan Frey a3e7c30a2b Last query cleanup 2019-11-22 19:26:39 +01:00
Ethan Frey c164ffdce1 Clean up data types for queries 2019-11-22 19:15:14 +01:00
Ethan Frey 9f0304567d Finish full exec flow 2019-11-22 19:07:57 +01:00
Ethan Frey 5f304e335c First run-through documented, along with TODOs 2019-11-22 19:00:20 +01:00
Ethan Frey d79ff0cd19 Finalize the query cli commands for x/wasm 2019-11-22 17:57:28 +01:00
Ethan Frey 4a77f43b63 Add query command for wasm code 2019-11-22 17:50:10 +01:00
Ethan Frey 0b74b12b0e Complete tx command and wire to module 2019-11-22 17:30:33 +01:00
Ethan Frey 6ddd637733 Update code to master 2019-11-22 17:17:10 +01:00
Ethan Frey a1369d799f Update imports in x/wasmd 2019-11-22 17:05:38 +01:00
Ethan Frey 4e8001b01f Raw copy from cosmos/modules (still on v0.37) 2019-11-22 16:59:11 +01:00