Commit Graph

48 Commits

Author SHA1 Message Date
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
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
Ethan Frey 013491aa9d Pull out some test helpers for genesis_test 2021-01-08 17:51:44 +01:00
Alex Peters c64d5d54ba
Refactor to grpc message server 2021-01-08 15:06:51 +01:00
Alex Peters 57999b26b7
Start with wasm msg in genesis 2021-01-07 14:19:18 +01:00
Alex Peters 6a920852bf
Replace sdk.AccAddress with bech32 string 2020-11-17 13:19:54 +01:00
Alexander Peters 93761eac33
Upgrade wasmvm aka go-cosmwasm (#311)
* Upgrade wasmvm aka go-cosmwasm

* Update x/wasm/README.md

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

* Review feedback

* CircleCI: export GORACE

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2020-11-17 12:53:31 +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
Alex Peters e54fbb9eb8
Better test setup 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 3b479c3235
Merge pull request #254 from gustavohmsilva/master
Closes #10 Implemented files called general_consts.go to all modules that heavly relied on  the duplicated "ClientID : 1"
2020-10-06 08:36:50 +02:00
Ethan Frey 989830e073 Fix old contract naming in integration tests 2020-10-05 22:31:39 +02:00
Gustavo H. M. Silva fd2f51cb12 Closes #10 Implemented files called general_consts.go to all modules that heavly relied on the duplicated "ClientID : 1" 2020-09-06 09:16:20 +01:00
Gustavo H. M. Silva 23ce8e84c9 Implemented files called general_consts.go to all modules that heavly relied on the duplicated "CLientID : 1"
Future duplicated variables across the entire module can also be added to it, centralizing therefore all os those kind of values.
2020-08-19 12:30:38 +01:00
Ethan Frey 45ef2f331e
Merge pull request #201 from CosmWasm/polish_handler
Polish types in message handler
2020-07-20 10:58:24 +02:00
Alex Peters db464d891b
Rename ambiguous Code attribute 2020-07-17 17:02:21 +02:00
Alex Peters 437f0237ba
Polish types in message handler 2020-07-17 15:39:26 +02:00
Ethan Frey e0f9319624 Fix test cases 2020-06-23 15:59:36 +02:00
Ethan Frey eed809c22f Reinvest tests pass! 2020-05-18 21:49:11 +02:00
Ethan Frey c4c1f9cf35 Test scaffolding for staking, test init and query callbacks 2020-05-18 15:45:10 +02:00
Ethan Frey c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Ethan Frey 945067f5c0 Update to 0.8.0-alpha2 2020-05-13 21:16:18 +02:00
Ethan Frey 0ca2ff6702 Make QueryPlugins configurable for keeper 2020-05-07 11:08:20 +02:00
Ethan Frey 7b7a293835 Allow configuring custom message handlers in wasm 2020-05-07 10:20:18 +02:00
Ethan Frey 3f3eb3ef5c Fix up module level tests, only 2 skipped 2020-05-06 20:00:35 +02:00
Ethan Frey 03ad1fb1a0 Update to CosmWasm/go-cosmwasm master 2020-05-06 11:21:15 +02:00
Ethan Frey fee390d8f4 Return all info with GetCode, not just wasm 2020-03-01 21:20:34 +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 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 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 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 b30f96a551 Use new test contract with failure modes, and fix all calls 2020-02-07 19:04:01 +01:00
Ethan Frey 33c4e92bdf Fix tests 2020-01-24 11:23:10 +01:00
Ethan Frey 85d7677eaf x/wasmd tests pass 2020-01-23 19:43:09 +01:00
Ethan Frey 3b342bda78 Update escrow contract and uncomment tests 2020-01-17 11:26:19 +01:00
Ethan Frey 27c5483ba7 Fixed module tests (disabled escrow) 2020-01-16 12:41:32 +01:00
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 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
Sunny Aggarwal 9d39f3aa58 added genesis tests 2020-01-13 15:32:10 -05:00
Sunny Aggarwal e9c772845f rename Contract -> ContractInfo 2020-01-09 14:53:36 -05:00
Ethan Frey 76b9e3cf83 Add tests for escrow contract to debug cli failure 2019-11-28 16:22:36 +01:00
Ethan Frey 4a77f43b63 Add query command for wasm code 2019-11-22 17:50:10 +01:00
Ethan Frey 4e8001b01f Raw copy from cosmos/modules (still on v0.37) 2019-11-22 16:59:11 +01:00