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
|
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
|
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
|
b389b75fdb
|
Add test failure (cannot create duplicate)
|
2020-03-12 15:21:16 +01:00 |
Assaf Morami
|
bb18c59c5d
|
Implement query list-contract-by-code for the CLI
|
2020-03-04 12:12:36 +02: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
|
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 |
Ethan Frey
|
10aea17a75
|
Add failing tests for the new conditions to restrict
|
2020-03-02 15:44:07 +01:00 |
Ethan Frey
|
fee390d8f4
|
Return all info with GetCode, not just wasm
|
2020-03-01 21:20:34 +01:00 |
Ethan Frey
|
4bac7d7daf
|
Return null not error when query missing contract
|
2020-02-29 20:50:38 +01:00 |
Ethan Frey
|
79d45f0525
|
Remove unneeded filter in handleSdkMessage
|
2020-02-27 20:13:29 +01:00 |
Ethan Frey
|
8dfde7e77f
|
Remove the "message" events from other modules inside x/wasm
|
2020-02-27 20:11:32 +01:00 |
Ethan Frey
|
3b995f9638
|
Update sdk fork, test better transfer events
|
2020-02-27 19:25:53 +01:00 |
Ethan Frey
|
443c6b9614
|
Also redact Created field when showing contract details
|
2020-02-27 19:07:56 +01:00 |
Ethan Frey
|
340fa4c5b2
|
Test and fix the sorting and redacting of created at
|
2020-02-27 19:07:56 +01:00 |
Ethan Frey
|
4a2ee1ab9a
|
Store CreatedAt info when instantiating contracts
|
2020-02-27 19:07:56 +01:00 |
Ethan Frey
|
c72cc4596e
|
Add CreatedAt info to ContractInfo
|
2020-02-27 19:07:56 +01:00 |
Ethan Frey
|
863c5e1439
|
Cleanup rest - no null init_msg, error on no such contract
|
2020-02-27 18:08:06 +01:00 |
Ethan Frey
|
34413d1e83
|
Return proper json object, not string, for all queries
|
2020-02-27 17:45:58 +01:00 |
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 |
sahith-narahari
|
69fe83755a
|
Added contract state smart query to rest
|
2020-01-24 01:42:28 +05:30 |
sahith-narahari
|
39ce036484
|
Added contract state query to rest
|
2020-01-24 01:16:57 +05:30 |
Ethan Frey
|
85d7677eaf
|
x/wasmd tests pass
|
2020-01-23 19:43:09 +01:00 |
Ethan Frey
|
06c3f0f253
|
All compiles except ./cmd
|
2020-01-23 19:18:17 +01:00 |
Ethan Frey
|
94667e9678
|
x/wasm/internal compiles
|
2020-01-23 19:10:08 +01:00 |
Ethan Frey
|
a3ec9f95a5
|
Updated tendermint cmn imports
|
2020-01-23 18:59:38 +01:00 |
Ethan Frey
|
e28db84189
|
Contract-to-contract send works
|
2020-01-21 14:13:36 +01:00 |
Ethan Frey
|
5b9c6592c2
|
Test mask re-dispatching contract msg, fix bugs
|
2020-01-21 13:55:51 +01:00 |
Ethan Frey
|
5668833d69
|
Adjust Instantiate and Execute signatures
|
2020-01-21 13:21:36 +01:00 |
Ethan Frey
|
b5a621a925
|
Upgrade go-cosmwasm, fix CosmosMsg usage
|
2020-01-21 13:15:26 +01:00 |
Ethan Frey
|
5e95d755b6
|
Clean up tests
|
2020-01-21 09:44:23 +01:00 |
Ethan Frey
|
da662fbd5c
|
Cleanup
|
2020-01-21 09:09:42 +01:00 |
Ethan Frey
|
cce07ca01d
|
Move integration test attmept to app/integration folder
|
2020-01-21 09:04:38 +01:00 |
Ethan Frey
|
29f1c3cccf
|
Add helpers for opaque message encoding
|
2020-01-20 21:36:56 +01:00 |
Ethan Frey
|
f6327989e1
|
Cleanup
|
2020-01-20 20:31:49 +01:00 |
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 |