Alex Peters
5c52ab7b6e
Check coin transfer enabled; extensionpoint
2021-03-10 12:59:58 +01:00
Alex Peters
3a6ac58edb
Replace keeper types with interfaces
2021-03-10 12:08:53 +01:00
Ethan Frey
78d5581040
Submsg and replies ( #441 )
...
* Add dispatchSubmessages and reply to Keeper
* Update all mock types
* Dispatch submessages in all entry points
* Rename mask -> reflect in all tests (that was cosmwasm 0.8...)
* Basic submessage dispatch test;
* Simplify messanger interface again
* Start table tests
* Added table tests
* Debuging handling out of gas and panics
* Properly handle gas limits and out of gas panics
* Test parsing return values from WasmMsg::Instantiate
* PR feedback
* Add test to trigger 0 len data panic
* Safely handle 0 sdk msg submsg responses
* Charge gas on reply
2021-03-10 09:46:12 +01:00
Alexander Peters
fd81a6679a
Merge pull request #444 from CosmWasm/stargate_msg_test_438
...
Add stargate msg test with any
2021-03-10 08:13:23 +01:00
Ethan Frey
8d9ed87001
Merge pull request #439 from CosmWasm/ibc-query-support
...
Ibc query support
2021-03-09 23:50:13 +01:00
Ethan Frey
9ce450abb4
Integrate PR review
2021-03-09 22:33:33 +01:00
Ethan Frey
91ad768938
Implement AllChannels Query
2021-03-09 22:31:03 +01:00
Ethan Frey
f03e2090aa
Implement Channel Query
2021-03-09 22:31:03 +01:00
Ethan Frey
5c8fe5a965
Add stubs for handling IBC QueryRequests from contract
2021-03-09 22:31:03 +01:00
Alex Peters
e660395eb7
Add stargate msg test with any
2021-03-09 17:54:19 +01:00
Alex Peters
6c3c1978b7
Pin/Unpin contract
2021-03-07 13:40:13 +01:00
Ethan Frey
27d5351842
Encode WasmMsg::Migrate and test
2021-03-04 21:25:28 +01:00
Ethan Frey
cec6dcd714
Test contract using raw grpc/proto stargate queries
2021-03-04 16:55:00 +01:00
Ethan Frey
8913fdf068
Simplify 2 step Message Handler setup
2021-03-04 16:24:44 +01:00
Ethan Frey
b4d325db3b
Test the Stargate HandlerPlugin encoding
2021-03-04 16:23:46 +01:00
Ethan Frey
c33b3694ac
Unpack interfaces after unpacking stargate message
2021-03-04 15:42:52 +01:00
Ethan Frey
0c3460e09f
Add stargate support to wasm querier plugins
2021-03-04 15:42:35 +01:00
Ethan Frey
220c2770d6
Implement EncodeStargateMsg
2021-03-04 14:00:02 +01:00
Ethan Frey
9bf079c556
Add placeholders for StargateQuery and StargateMsg
2021-03-04 13:32:37 +01:00
Ethan Frey
311be37e90
Add comment on tongue-in-check StealFunds message
2021-03-04 10:57:09 +01:00
Ethan Frey
a50bafb789
Update SudoMsg in test
2021-03-04 10:53:21 +01:00
Ethan Frey
1f2a7db818
Add test coverage
2021-03-04 10:53:21 +01:00
Ethan Frey
c2ff445221
Expose Sudo on WasmEngine and Keeper
2021-03-04 10:53:21 +01:00
Alex Peters
279efa9e2a
Use label from contract msg
2021-03-04 08:55:34 +01:00
Ethan Frey
8e466f0599
Update wasmvm and test contracts to v0.14.0-alpha2
2021-03-03 22:15:30 +01:00
Ethan Frey
c1ace64423
Fix tests
2021-03-03 20:14:57 +01:00
Ethan Frey
5a6c061c4b
Fix all compile errors
2021-03-03 19:14:54 +01:00
Ethan Frey
f536bf209b
Update to v0.14.0-alpha1 test contracts
2021-03-03 19:10:30 +01:00
Alex Peters
4a3e12a1a0
Fix proto field number
2021-03-03 14:46:01 +01:00
Alex Peters
0358c1c07c
Add data field to Instantiate response
2021-03-03 14:45:37 +01:00
Alex Peters
7583340d82
Rename to funds in msgs
2021-03-03 13:59:03 +01:00
Leonardo Bragagnolo
d0befd973d
Added randomized simulation parameters generation ( #389 )
...
* added simulation params
* fixed return types
* implemented full sim test on wasmd
* removed wrong committed github action
* switched to a import export test since i'm introducing params and genesis simulations
* fixed makefile
* Fixed sim test flags not working
* fixed some errors on sim test
* fixed conflicts
still a failure to be solved
* fixed wasm params error
* added missing codec
* Update params.go
removed unused import
* fixed intellij cache errors
* added full app simulation test that pass
* added README.md for sims credits
added me into contributors list
Co-authored-by: riccardo.montagnin <riccardo.montagnin@gmail.com >
2021-02-05 13:19:14 +01:00
secret
d46871eab9
remove redundant wasm limit in rest
2021-02-05 17:58:14 +08:00
Alexander Peters
4141cc36f8
Add custom message handler option ( #402 )
...
* Add custom message handler option
* Update changelog
2021-02-01 09:14:54 +01:00
Alexander Peters
0f46dee0c4
Implement IBC contract support ( #394 )
...
* Implement IBC contract support
* Update changelog
* Adjust tests for new event logic
* Review comment
2021-01-29 11:11:15 +01:00
Assaf Morami
0d5da91468
ParseEvents code comments
2021-01-24 22:08:26 +02:00
Assaf Morami
09bca64f9d
Fix ParseEvents to always include wasm.contract_address
2021-01-24 14:31:55 +02:00
Ethan Frey
e184f9e7f9
Merge pull request #367 from CosmWasm/genesis-fix
...
Genesis fix
2021-01-11 08:08:57 +01:00
Ethan Frey
5f8c246d25
Update comment on execute return value
2021-01-08 18:02:21 +01:00
Ethan Frey
33333daf97
Change protobuf return for store code to return uint64 not string
2021-01-08 17:57:04 +01:00
Ethan Frey
013491aa9d
Pull out some test helpers for genesis_test
2021-01-08 17:51:44 +01:00
Ethan Frey
9650941e12
Don't enforce balance when no funds sent
2021-01-08 17:25:51 +01:00
Ethan Frey
87eb03d0e9
Rename s, a args for clarity
2021-01-08 17:11:57 +01:00
Alex Peters
c64d5d54ba
Refactor to grpc message server
2021-01-08 15:06:51 +01:00
Alex Peters
876082145d
Follow naming convention for msg proto
2021-01-08 13:09:59 +01:00
Alex Peters
bac2339ae2
Add sanity test for all genesis message types
2021-01-07 14:20:02 +01:00
Alex Peters
83d22a9352
Polish gen msg code and tests
2021-01-07 14:20:00 +01:00
Alex Peters
5882bf36cd
Add cli tests
2021-01-07 14:19:22 +01:00
Alex Peters
35a7b90db6
Validate genesis messages
2021-01-07 14:19:22 +01:00
Alex Peters
be1927bcff
Replace viper in cli
2021-01-07 14:19:21 +01:00