Commit Graph

80 Commits

Author SHA1 Message Date
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
Alex Peters 70f35d89b9
Fix test condition to work on Linux 2021-01-07 12:28:45 +01:00
Alex Peters 38707cb2b6
Upgrade wasmvm to v0.13.0 2021-01-07 11:58:22 +01:00
Alexander Peters b0b407d5f8
Add pagination to grpc queries (#317)
* Start pagination for queries

* Complete pagination support

* Cleanups

* Use GRPC endpoint in CLI queries

* Decode page-key in cli

* Review feedback
2020-11-23 12:56:25 +01:00
Alex Peters 6a920852bf
Replace sdk.AccAddress with bech32 string 2020-11-17 13:19:54 +01:00
Alexander Peters 550c6f5c4f
Containerized Protobuf generation (#304)
* Docker container based Protobuf generation and linting

* Add protobuf comments

* Update contrib/prototools-docker/Dockerfile

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

* Update contrib/prototools-docker/Dockerfile

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

* Update x/wasm/internal/types/msg.proto

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

* Update x/wasm/internal/types/types.proto

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

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2020-11-11 12:13:04 +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 d4824f3d64
Parameter for max wasm code size 2020-11-06 11:47:01 +01:00
Alex Peters e54fbb9eb8
Better test setup 2020-10-27 15:01:22 +01:00
Alex Peters 5cc3e6dc8b
Add GRPC querier and REST gateway 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 2b34ee60cb Return raw stored bytes for raw queries 2020-10-06 17:48:13 +02: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 cc8f07563a Update code/tests to new version 2020-10-05 22:23:10 +02:00
Ethan Frey 9fb15beb42 Update go-cosmwasm to v0.11.0-alpha2, contracts to v0.11.0-alpha4 2020-10-05 22:03:01 +02:00
Ethan Frey e7a1e49c2b Error message cleanup 2020-10-04 18:30:09 +02:00
Ethan Frey 99f53b0507 Fix gas on tests 2020-10-04 18:11:30 +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
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
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 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
Alex Peters ad24376b58
Prevent contract funding from blocked addr 2020-07-09 13:37:33 +02:00
Alex Peters 522ba535cb
Add configurable control for code instantiation 2020-07-08 16:58:35 +02:00
Alex Peters 85a404691a
Add configurable control to upload code 2020-07-08 15:54:02 +02:00
Ethan Frey 5fd8dc363c Update to go-cosmwasm 0.9.0-beta 2020-06-26 16:41:31 +02:00
Ethan Frey 4dac673884 Add MsgClearAdmin, MsgUpdateAdmin requires admin set 2020-06-26 11:27:34 +02:00
Ethan Frey e0f9319624 Fix test cases 2020-06-23 15:59:36 +02:00
Ethan Frey 420f3e2deb Update gas costs in unit tests 2020-06-22 21:07:02 +02:00
Alex Peters 21df300847
Verify migration events 2020-06-11 11:38:46 +02:00
Alex Peters 3a317f6fad
Add migration integraton tests 2020-06-11 10:37:47 +02:00
Ethan Frey 46b2cadfd0 Update go-cosmwasm and test contracts 2020-06-09 14:27:01 +02:00
Alexander Peters 9a16d583d3
Update contract admin (#124)
* Add update administrator

* Review comments
2020-06-05 14:02:01 +02:00
Reuven Podmazo 0ba1e68ff0
fixed test 2020-06-04 16:33:57 +03:00
Alexander Peters 81d8560d41
Migrate contract backend functionality with go-cosmwasm stub impl (#122)
* Start migration server side

* Return migration response and emit events

* Dispatch migrate contract messages

* Rebase to 0.9 and minor updates

* Review feedback

* Update changelog

* Add msg test
2020-06-04 08:54:30 +02:00
Ethan Frey 545681db81 Update tests for new contracts 2020-06-03 17:08:41 +02:00
Ethan Frey a6bcf8c16e Update for new staking queries 2020-05-19 21:34:46 +02:00
Ethan Frey ade03a1d39 Progress on distro wiring for reinvest 2020-05-18 21:08:04 +02:00
Ethan Frey c4c1f9cf35 Test scaffolding for staking, test init and query callbacks 2020-05-18 15:45:10 +02:00
Ethan Frey 95bd9e8efa Update alias.go, format, clean imports 2020-05-13 22:55:07 +02:00
Ethan Frey c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Ethan Frey 27617a7551 Update test contracts and gas prices 2020-05-13 21:19:51 +02:00
Ethan Frey 945067f5c0 Update to 0.8.0-alpha2 2020-05-13 21:16:18 +02:00
Ethan Frey 8306d89010 Properly throw OutOfGas when we hit storage limits inside the contract 2020-05-07 12:03:31 +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 f727cb4aff Load contractAccount less, just use AccAddress 2020-05-07 09:59:32 +02:00