Commit Graph

47 Commits

Author SHA1 Message Date
Alexander Peters bfb4d31fca
Consolidate MaxWasmSize constraints into a single var (#826)
* Convert MaxWasmSize to var

Also removes redundant maxWasmSize param

* Convert MaxWasmSize to int

* Update CHANGELOG

* Complete max wasm size changes

* Update compile flags

Co-authored-by: Cole Brown <bigswim@gmail.com>
2022-04-29 18:54:06 +02:00
Ethan Frey fbae4e86b4 Make MaxLabelSize a var not const 2022-04-27 15:40:54 +02:00
Alexander Peters b8319aa334
Upgrade to cosmos-sdk v0.45.0 (#717)
* Upgrade to cosmos-sdk v0.44.5

* Upgrade to sdk v0.45.0-rc1

* Fix local test deploy scripts

* Bump to v0.45.0 final release

* Fixed replace to 0.45.0 not rc1

* Fix changed import path since rc1

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-01-20 12:47:01 +01:00
Alexander Peters 58f3776f6e
Implement tx counter for transaction info (#621)
* Implement tx counter for transaction info

* Count tx before pre-conditions

* Doc update
2021-09-27 21:53:01 +02:00
Ethan Frey 2387a48727 All code compiles and tests 2021-07-28 11:24:44 +02:00
Alex Peters 39a967ea38
Upgrade Dockerfile 2021-07-07 10:32:54 +02:00
Alex Peters b0b1fa88bc
Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Alex Peters 7f5200b9dd
Add cost and api cost options 2021-06-11 11:46:49 +02:00
Alex Peters c637add01c
Remove max gas limit 2021-06-07 10:46:26 +02:00
Alex Peters c377d7110e
List contract address without other data 2021-04-23 15:15:54 +02:00
Alex Peters 03bf7b0adf
Introduce new interfaces for extendability 2021-03-24 14:11:42 +01:00
Alexander Peters d9142662c1
Remove internal package (#464)
* Move internal subfolders up

* Fix broken imports and fmt
2021-03-19 09:52:01 +01:00
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
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 c64d5d54ba
Refactor to grpc message server 2021-01-08 15:06:51 +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 bcb00d6017
Upgrade to Stargate commits 2020-10-27 15:01:22 +01: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
Ethan Frey 95d5646520 Add more test cases 2020-07-28 11:33:15 +02:00
Ethan Frey 7b1a4de59d Add logic to app.go to configure enabled proposals 2020-07-27 19:20:25 +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 aff2214391
Better naming for proposal type selections 2020-07-15 09:17:01 +02:00
Alex Peters 4400c4526f
Move enabled gov types to app construction 2020-07-14 13:41:12 +02:00
Alex Peters 85a404691a
Add configurable control to upload code 2020-07-08 15:54:02 +02:00
Alexander Peters 8a547179d2
Gov proposal types and handler (#173)
* Gov proposal types and handler

* Review feedback

* Store code proposal and test

* Accept only valid proposals

* Complete proposal types
2020-07-07 17:55:11 +02:00
Ethan Frey 5fd8dc363c Update to go-cosmwasm 0.9.0-beta 2020-06-26 16:41:31 +02:00
Ethan Frey fc7ba5ad5f Wire up MsgClearAdmin in handler 2020-06-26 11:30:46 +02:00
Ethan Frey b65f47f95a Rename MsgUpdateAdministrator -> MsgUpdateAdmin 2020-06-26 11:11:44 +02:00
Ethan Frey cefd743146 Update test code 2020-06-22 14:00:50 +02:00
Alexander Peters ebac9aac66
Implement CLI/REST server support for new messages (#131)
* Cleanup ContractInfo type

* Add admin to contract instanciation

* Add cli commands for new TX

* Add rest support for new TX

* Update changelog

* Make optional admin flag for better UX

* Add flag to not accidentally clear admin on update
2020-06-05 15:08:11 +02:00
Alexander Peters 9a16d583d3
Update contract admin (#124)
* Add update administrator

* Review comments
2020-06-05 14:02:01 +02: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 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 f727cb4aff Load contractAccount less, just use AccAddress 2020-05-07 09:59:32 +02:00
Ethan Frey 1c0d557707 Update tests 2020-02-26 09:19:26 +01:00
Ethan Frey c509fb91d8 Remove contract string list, add address info to by code id, filter out init_msg in list 2020-02-26 09:19:26 +01:00
anilCSE 536d6750c7 Merge branch 'master' of github.com:cosmwasm/wasmd into vw/lru_cache_config
# Conflicts:
#	x/wasm/alias.go
#	x/wasm/internal/keeper/keeper.go
2020-01-18 18:25:54 +05:30
anilCSE 84f63203d1 Add wasmconfig and default config 2020-01-18 14:03:03 +05:30
Ethan Frey a14b6961ba Update alias.go 2020-01-16 14:48:45 +01:00
Sunny Aggarwal e9c772845f rename Contract -> ContractInfo 2020-01-09 14:53:36 -05:00
Sunny Aggarwal 5d21232326 added genesis functions 2020-01-06 19:42:44 -05:00
Ethan Frey 4a77f43b63 Add query command for wasm code 2019-11-22 17:50:10 +01:00
Ethan Frey a1369d799f Update imports in x/wasmd 2019-11-22 17:05:38 +01:00
Ethan Frey 4e8001b01f Raw copy from cosmos/modules (still on v0.37) 2019-11-22 16:59:11 +01:00