Commit Graph

35 Commits

Author SHA1 Message Date
Alex Peters 7583340d82
Rename to funds in msgs 2021-03-03 13:59:03 +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 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 be1927bcff
Replace viper in cli 2021-01-07 14:19:21 +01:00
Alex Peters 57999b26b7
Start with wasm msg in genesis 2021-01-07 14:19:18 +01:00
Alex Peters b63a14952b
Fix param usage issue in genesis import 2020-12-11 14:08:42 +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 bcb00d6017
Upgrade to Stargate commits 2020-10-27 15:01:22 +01:00
Ethan Frey 2a92028b29 Wrote gnarly query to get outstanding rewards for delegator 2020-10-06 20:57:18 +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 9fb15beb42 Update go-cosmwasm to v0.11.0-alpha2, contracts to v0.11.0-alpha4 2020-10-05 22:03:01 +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
Alex Peters ff8991e950
Adopt contract updates to TestImportContractWithCodeHistoryReset 2020-07-24 13:41:32 +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 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
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
Alex Peters 85a404691a
Add configurable control to upload code 2020-07-08 15:54:02 +02:00
Alex Peters 82702a0bea
Genesis code import not position agnostic 2020-07-01 12:03:25 +02:00
Alex Peters 44696c4a98
Test validateBasic methods 2020-07-01 09:59:40 +02:00
Alex Peters f7b4acf47c
Review comments and additinal tests 2020-06-30 20:37:21 +02:00
Alex Peters a20e568bff
Validate genesis model 2020-06-30 11:09:15 +02:00
Alex Peters 005c8bfe0a
Go 1.13 backport 2020-06-29 18:07:03 +02:00
Alex Peters f71a9bbb13
Ex/Import missing LastInstanceID key 2020-06-29 16:49:45 +02:00
Alex Peters 077d99dbc2
Initial fuzz test 2020-06-29 16:07:58 +02:00