Commit Graph

89 Commits

Author SHA1 Message Date
Alexander Peters
8e35dc260b Refactor wasm message handlers and query plugin (#460)
* Refactor wasm message handlers

* Add handler plugin tests

* Review feedback

* Add handler and query tests
2021-03-18 15:31:12 +01:00
Alex Peters
5c52ab7b6e Check coin transfer enabled; extensionpoint 2021-03-10 12:59:58 +01:00
Alex Peters
6c3c1978b7 Pin/Unpin contract 2021-03-07 13:40:13 +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
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
Alex Peters
0358c1c07c Add data field to Instantiate response 2021-03-03 14:45:37 +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
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