Commit Graph

295 Commits

Author SHA1 Message Date
Ethan Frey
3a9bd38169 Merge pull request #246 from CosmWasm/fix_code_list
Support gaps in query code list
2020-08-06 14:05:45 +02:00
Alex Peters
0e6d7243e9 Support gaps in query code list 2020-08-06 12:30:07 +02:00
Ethan Frey
4592325ab5 [skp ci] Add documentation on governance proposals 2020-08-03 15:30:44 +02:00
Ethan Frey
6c1f75b391 Merge pull request #233 from CosmWasm/restrict-querier-redispatched-gas
Restrict querier redispatched gas
2020-07-30 00:05:46 +02:00
Ethan Frey
ea5ae47ffd Properly charge gas on sub-queries, tests pass 2020-07-29 22:08:34 +02:00
Ethan Frey
b97c87212c Update go-cosmwasm and Use new gas limits 2020-07-29 21:06:38 +02:00
Alex Peters
9734dfb3c9 Move counting singleton to test code 2020-07-28 14:03:49 +02:00
Ethan Frey
851a7a47a7 Use global singleton counter, check call depth 2020-07-28 13:32:48 +02:00
Ethan Frey
95d5646520 Add more test cases 2020-07-28 11:33:15 +02:00
Ethan Frey
4729de2481 Add deep recursion with cpu burn test; 2020-07-28 11:09:11 +02:00
Ethan Frey
3e9d208300 Clean up recursive query tests 2020-07-28 10:49:14 +02:00
Ethan Frey
21dd88137a Rename type ProposalTypeStoreInstantiateContract 2020-07-27 19:38:04 +02:00
Ethan Frey
133ed4e75e Add testcase for ConvertToProposals 2020-07-27 19:36:39 +02:00
Ethan Frey
7b1a4de59d Add logic to app.go to configure enabled proposals 2020-07-27 19:20:25 +02:00
Ethan Frey
e83f2de688 Cleanup from PR comments 2020-07-27 14:56:29 +02:00
Ethan Frey
e088aecde1 Test external query gas limits are still enforced 2020-07-27 14:10:09 +02:00
Ethan Frey
8af0c88e34 Test gas charged properly for various recursion levels 2020-07-27 13:48:33 +02:00
Ethan Frey
f74e077a27 Properly charge gas in keeper 2020-07-27 13:44:18 +02:00
Ethan Frey
fa5d338509 Framework for recursive query tests 2020-07-27 13:32:07 +02:00
Ethan Frey
5224936dcd Merge pull request #218 from CosmWasm/update-go-cosmwasm
Update go cosmwasm
2020-07-24 13:55:33 +02:00
Alex Peters
ff8991e950 Adopt contract updates to TestImportContractWithCodeHistoryReset 2020-07-24 13:41:32 +02:00
Ethan Frey
e43c032e66 Store Message ignores missing permission from JSON 2020-07-24 11:43:39 +02:00
Ethan Frey
4c6757fc1e Always throw OutOfGas panic when wasmer uses all gas 2020-07-24 11:31:09 +02:00
Ethan Frey
6ef26fa768 Updated all test contracts, gas costs 2020-07-24 11:05:00 +02:00
Ethan Frey
fae55715e5 Update go-cosmwasm to v0.10.0-alpha2 and code compiles 2020-07-24 10:51:10 +02:00
Ethan Frey
5e6a0eb01d Handle gas meter multiplier in x/wasm not go-cosmwasm 2020-07-23 22:53:42 +02:00
Reuven Podmazo
a7f801d123 fixed recursive queries losing context 2020-07-22 16:13:56 +03:00
Alex Peters
ad520ed1d3 Return init/migration msg with contract history 2020-07-20 17:22:10 +02:00
Alex Peters
a1aa2f5e4c Fix codec for msg 2020-07-20 14:59:23 +02:00
Alex Peters
e62f2cac44 Add CLI + REST support for contract history 2020-07-20 14:58:44 +02:00
Alex Peters
430da1dbf5 Remove unused arguments 2020-07-20 14:44:19 +02:00
Alex Peters
00adcb4a58 Add contract history query handler 2020-07-20 14:44:19 +02:00
Alex Peters
72a1a45030 Use prefix store for contract history 2020-07-20 14:44:19 +02:00
Alex Peters
1c4d4d8f0e Validate json msg payload 2020-07-20 14:43:23 +02:00
Alex Peters
882d8177b8 Verify genesis import data 2020-07-20 14:42:26 +02:00
Alex Peters
e6e4839875 Genesis export via code prefix 2020-07-20 14:42:26 +02:00
Ethan Frey
65e4e3a9b5 Merge pull request #195 from CosmWasm/update_history
Full history of contract code migrations
2020-07-20 14:29:50 +02: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
Alexander Peters
02a54d33ff Merge pull request #204 from CosmWasm/code_id
Rename ambiguous Code attribute
2020-07-20 10:29:43 +02:00
Alexander Peters
81351d8c52 Merge pull request #200 from CosmWasm/amino_renaming
Follow sdk amino naming convention
2020-07-20 10:21:14 +02:00
Alex Peters
d9143bc927 Polish for go vet 2020-07-17 17:09:14 +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
Alex Peters
631aa8461c Follow sdk amino naming convention 2020-07-17 15:21:57 +02:00
Alex Peters
a9f31c7cd8 Additional tests and minor updates 2020-07-17 10:40:32 +02:00
Alex Peters
530710e67f Validate InstantiateConfig in CodeInfo 2020-07-17 09:49:43 +02:00
Alex Peters
871896c62b Reset history on import 2020-07-16 17:16:28 +02:00
Alex Peters
f8dbfd12f0 Store code history for contract 2020-07-16 16:49:14 +02:00
Alexander Peters
774f6d7876 Introduce Wasmgovd (#189)
* Introduce wasmgovd; disable wasm proposals with wasmd

* Update changelog

* Setup wasmgov with permission Nobody

* Review feedback
2020-07-16 16:47:44 +02:00
Ethan Frey
7f02f57f21 Increase and document the MaxGas limit 2020-07-15 16:21:40 +02:00