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
Ethan Frey
7f02f57f21
Increase and document the MaxGas limit
2020-07-15 16:21:40 +02:00
Ethan Frey
3dc9bed3e9
Merge pull request #190 from CosmWasm/gov_events_181
...
Cleanup event attribute keys
2020-07-15 16:15:21 +02:00
Alex Peters
165e347150
Cleanup event attribute keys
2020-07-15 10:17:34 +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
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
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
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
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
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
3f55bd7ceb
Update to go-cosmwasm 0.9.0-alpha3 with new test contracts
2020-06-23 15:55:37 +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
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
Ethan Frey
f7d8d6bd6f
Update with go-cosmwasm fix
2020-06-15 23:58:21 +02:00
Ethan Frey
ab5fdbb6c9
Merge pull request #141 from CosmWasm/minor_fixes
...
Minor fixes
2020-06-15 10:01:43 +02:00
Alex Peters
42f544f5c8
Minor fixes
2020-06-12 14:50:59 +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
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
Reuven Podmazo
0ba1e68ff0
fixed test
2020-06-04 16:33:57 +03:00
Reuven Podmazo
675c92fedc
added the GasConsumed method to QueryHandler
2020-06-04 16:32:27 +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
a03f4af61b
Update wasm contracts
2020-06-03 17:06:08 +02:00
Reuven Podmazo
da3964a786
updated commit of go-cosmwasm dependency to branch dynamic-gas-metering
2020-05-28 00:54:22 +03:00
Reuven Podmazo
398763ae9a
adjusted gas consumption logic in case of errors in go-cosmwasm
...
see:
https://github.com/CosmWasm/go-cosmwasm/pull/90
https://github.com/CosmWasm/cosmwasm/pull/359
2020-05-25 21:01:05 +03:00
Ethan Frey
a6bcf8c16e
Update for new staking queries
2020-05-19 21:34:46 +02:00
Ethan Frey
5dbc443ae0
Import updated test contracts
2020-05-19 21:34:46 +02:00
Ethan Frey
533f4189fa
Cleanup
2020-05-18 21:55:34 +02:00
Ethan Frey
eed809c22f
Reinvest tests pass!
2020-05-18 21:49:11 +02:00
Ethan Frey
ade03a1d39
Progress on distro wiring for reinvest
2020-05-18 21:08:04 +02:00
Ethan Frey
11f889dac8
Test coverage for unbonded case
2020-05-18 18:15:47 +02:00
Ethan Frey
d80a6ea383
Add more queries to bonded case
2020-05-18 17:38:36 +02:00
Ethan Frey
da57fd357b
Test contract bonds properly
2020-05-18 17:28:31 +02:00
Ethan Frey
c4c1f9cf35
Test scaffolding for staking, test init and query callbacks
2020-05-18 15:45:10 +02:00