Commit Graph

546 Commits

Author SHA1 Message Date
Alex Peters
4400c4526f Move enabled gov types to app construction 2020-07-14 13:41:12 +02:00
Alex Peters
7903528306 Add code doc 2020-07-14 13:33:17 +02:00
Alexander Peters
9ab18fc46f Add wasm gov proposals to cli (#183)
* Add wasm gov proposals to cli

* Update changelog

* Rework gov proposal rest handlers

* Fix json naming

* Pretty print byte arrays in CLI

* Replace ambiguous cli flag and rest routes

* Minor cli usage doc update
2020-07-14 13:30:41 +02:00
Alexander Peters
09a20da7c6 Merge pull request #182 from CosmWasm/blocked_addresses
Prevent contract funding from blocked addr
2020-07-09 15:15:46 +02:00
Alex Peters
ad24376b58 Prevent contract funding from blocked addr 2020-07-09 13:37:33 +02:00
Alexander Peters
041d8c6809 Merge pull request #180 from CosmWasm/restrict_instantiation
Add configurable control for code instantiation
2020-07-09 10:54:12 +02:00
Alexander Peters
f5d4622266 Merge pull request #179 from CosmWasm/gov_restrict_upload
Restrict code upload
2020-07-09 10:53:13 +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
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
939525f468 Merge pull request #171 from CosmWasm/dockerfile_restructuring
Better cache optimizing Dockerfile
2020-07-06 11:05:55 +02:00
Alex Peters
744084dcd1 Better cache optimizing Dockerfile
(cherry picked from commit cc37320aed58803c89f9f54ff11214cbc4ee2b86)
2020-07-03 13:23:31 +02:00
Ethan Frey
3f62e8a001 Merge pull request #168 from CosmWasm/genesis_io_codeids
Genesis code import not position agnostic
2020-07-01 12:12:53 +02:00
Alex Peters
82702a0bea Genesis code import not position agnostic 2020-07-01 12:03:25 +02:00
Ethan Frey
1cdda2dddf Merge pull request #165 from CosmWasm/genesis_io_resilient
Validate genesis model
2020-07-01 10:40:05 +02:00
Alex Peters
44696c4a98 Test validateBasic methods 2020-07-01 09:59:40 +02:00
Ethan Frey
8653adf463 Merge pull request #160 from CosmWasm/update-go-cosmwasm-0.9.0
Update go-cosmwasm to 0.9.1
2020-06-30 21:22:29 +02:00
Ethan Frey
facf50106f go mod tidy 2020-06-30 21:18:30 +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
Ethan Frey
3761c9b9b1 Update README 2020-06-29 21:03:39 +02:00
Ethan Frey
670bfa85e9 Update go-cosmwasm to 0.9.1 2020-06-29 20:52:49 +02:00
Ethan Frey
8aad0c9630 Merge pull request #142 from CosmWasm/genesis_io_tests
Add genesis ex-/import for `lastContractId` sequence
2020-06-29 20:49:31 +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
Ethan Frey
7f7afbf7d5 Merge pull request #158 from CosmWasm/update-latest-go-cosmwasm
Update to go-cosmwasm 0.9.0-beta
2020-06-26 16:41:56 +02:00
Ethan Frey
5fd8dc363c Update to go-cosmwasm 0.9.0-beta 2020-06-26 16:41:31 +02:00
Ethan Frey
ac3babc8b0 Merge pull request #156 from shanev/shanev/update-readme
Updated README
2020-06-26 12:17:36 +02:00
Ethan Frey
e84fb6cef0 Merge pull request #157 from CosmWasm/update-admin-messages
Split MsgUpdateAdministrator to MsgUpdateAdmin and MsgClearAdmin
2020-06-26 12:16:18 +02:00
Ethan Frey
3b96d488c1 Updated with PR comments 2020-06-26 12:06:15 +02:00
Ethan Frey
fc7ba5ad5f Wire up MsgClearAdmin in handler 2020-06-26 11:30:46 +02:00
Ethan Frey
4dac673884 Add MsgClearAdmin, MsgUpdateAdmin requires admin set 2020-06-26 11:27:34 +02:00
Ethan Frey
b65f47f95a Rename MsgUpdateAdministrator -> MsgUpdateAdmin 2020-06-26 11:11:44 +02:00
Shane Vitarana
af68ae6c5d Updated README 2020-06-25 14:31:48 -07:00
Simon Warta
3d8a7a8726 Merge pull request #152 from CosmWasm/improve-makefile
Convert -tags argument to comma separated list
2020-06-24 14:02:32 +02:00
Ethan Frey
f0eb7807cc Remove debug code 2020-06-24 13:56:46 +02:00
Ethan Frey
bb6e087002 Fix build tags with comma on muslc as well 2020-06-24 13:42:02 +02:00
Simon Warta
ea9a1aefcf Convert -tags argument to comma separated list
See `go help build`:

-tags tag,list
  a comma-separated list of build tags to consider satisfied during the
  build. For more information about build tags, see the description of
  build constraints in the documentation for the go/build package.
  (Earlier versions of Go used a space-separated list, and that form
  is deprecated but still recognized.)
2020-06-24 11:11:04 +02:00
Ethan Frey
5cd9434166 Update go-cosmwasm version in Dockerfile 2020-06-24 09:58:37 +02:00
Ethan Frey
02b5eae244 Merge pull request #151 from CosmWasm/update-09-alpha3
Update to go-cosmwasm 0.9-alpha3
2020-06-23 17:19:43 +02:00
Ethan Frey
e0f9319624 Fix test cases 2020-06-23 15:59:36 +02:00
Ethan Frey
3f55bd7ceb Update to go-cosmwasm 0.9.0-alpha3 with new test contracts 2020-06-23 15:55:37 +02:00
Ethan Frey
c1db37b840 Merge pull request #149 from CosmWasm/gas-for-each-instance
Gas for each instance
2020-06-23 15:50:16 +02:00
Ethan Frey
420f3e2deb Update gas costs in unit tests 2020-06-22 21:07:02 +02:00
Ethan Frey
751ce5a9bf Charge gas per instance created 2020-06-22 21:05:31 +02:00
Ethan Frey
1fd919287c Merge pull request #147 from CosmWasm/update-cosmwasm
Update cosmwasm
2020-06-22 15:37:18 +02:00
Ethan Frey
b537571e37 Update to go-cosmwasm v0.9.0-alpha2 2020-06-22 15:19:57 +02:00
Ethan Frey
cefd743146 Update test code 2020-06-22 14:00:50 +02:00
Ethan Frey
ac95b583fc Update to handle multiple response types 2020-06-22 13:44:06 +02:00