Commit Graph

385 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
secret d46871eab9 remove redundant wasm limit in rest 2021-02-05 17:58:14 +08:00
Alexander Peters 4141cc36f8
Add custom message handler option (#402)
* Add custom message handler option

* Update changelog
2021-02-01 09:14:54 +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
Assaf Morami 0d5da91468
ParseEvents code comments 2021-01-24 22:08:26 +02:00
Assaf Morami 09bca64f9d
Fix ParseEvents to always include wasm.contract_address 2021-01-24 14:31:55 +02:00
Ethan Frey e184f9e7f9
Merge pull request #367 from CosmWasm/genesis-fix
Genesis fix
2021-01-11 08:08:57 +01:00
Ethan Frey 5f8c246d25 Update comment on execute return value 2021-01-08 18:02:21 +01:00
Ethan Frey 33333daf97 Change protobuf return for store code to return uint64 not string 2021-01-08 17:57:04 +01:00
Ethan Frey 013491aa9d Pull out some test helpers for genesis_test 2021-01-08 17:51:44 +01:00
Ethan Frey 9650941e12 Don't enforce balance when no funds sent 2021-01-08 17:25:51 +01:00
Ethan Frey 87eb03d0e9 Rename s, a args for clarity 2021-01-08 17:11:57 +01:00
Alex Peters c64d5d54ba
Refactor to grpc message server 2021-01-08 15:06:51 +01:00
Alex Peters 876082145d
Follow naming convention for msg proto 2021-01-08 13:09:59 +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 5882bf36cd
Add cli tests 2021-01-07 14:19:22 +01:00
Alex Peters 35a7b90db6
Validate genesis messages 2021-01-07 14:19:22 +01:00
Alex Peters be1927bcff
Replace viper in cli 2021-01-07 14:19:21 +01:00
Alex Peters 03b31b22dc
CLI integration 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 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 447fb07f6e
Upgrade to cosmos-sdk v0.40.0-rc6 (#354)
* Upgrade to cosmos-sdk v0.40.0-rc6

* Apply workaround for gentx cli issue

* Update changelog
2021-01-06 10:05:36 +01:00
vincent 6acc71218b
Fix legacy REST API (#352)
* fix legacy amino register

* add label for '/wasm/code/{codeId}'

* cleanup
2021-01-05 14:07:48 +01:00
Alexander Peters 53bbf96e9e
Upgrade to cosmos-sdk v0.40.0-rc5 (#345)
* Upgrade to cosmos-sdk v0.40.0-rc5

* Migrate cli queries

* Update changelog

* Remove DONTCOVER filter for coverage
2020-12-17 14:13:18 +01:00
Alex Peters b63a14952b
Fix param usage issue in genesis import 2020-12-11 14:08:42 +01:00
Alex Peters 2a105ad215
Rename protobuf package 2020-12-03 14:27:58 +01:00
Alexander Peters eeb3797d04
Merge pull request #322 from CosmWasm/handle_oog_321
Handle panics in query contract smart
2020-11-30 11:25:49 +01:00
Alex Peters 0b7b70363b
Use base request data for sender 2020-11-25 11:04:40 +01:00
Alex Peters 1d3bc0ee30
Handle panics in query contract smart 2020-11-24 12:42:39 +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 0589dfa76a
Review feedback 2020-11-17 13:43:51 +01:00
Alex Peters 6a920852bf
Replace sdk.AccAddress with bech32 string 2020-11-17 13:19:54 +01:00
Alex Peters ca040da925
Integrate wasmcli into wasmd 2020-11-17 12:54:21 +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 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 2efd962984
Add test to very limit on uncompressed data 2020-11-09 08:50:10 +01:00
Alex Peters d4824f3d64
Parameter for max wasm code size 2020-11-06 11:47:01 +01:00
Alex Peters e55cc9f3b5
Reject wasm zips exceeding limit 2020-11-05 16:58:23 +01:00
Alex Peters bf83c4476c
Upgrade to Stargate RC2 2020-11-03 18:20:26 +01:00
Alex Peters cd3f72e6f1
Review feedback 2020-10-29 13:55:43 +01:00
Alex Peters c6e0fda492
Cleanup module 2020-10-27 16:03:45 +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 e3c37da8c4 Full test cases over all bounds 2020-10-12 23:16:58 +02:00
Ethan Frey 8ebab06603 Add simple iterator test - all asc/desc 2020-10-12 23:06:43 +02:00