Alex Peters
83d22a9352
Polish gen msg code and tests
2021-01-07 14:20:00 +01:00
Alex Peters
03b31b22dc
CLI integration
2021-01-07 14:19:21 +01:00
Alex Peters
38707cb2b6
Upgrade wasmvm to v0.13.0
2021-01-07 11:58:22 +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
6a920852bf
Replace sdk.AccAddress with bech32 string
2020-11-17 13:19:54 +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
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
ad4262a344
Merge pull request #274 from CosmWasm/prevent_overflow
...
Prevent integer overflow
2020-10-07 14:50:35 +02:00
Ethan Frey
3571625d9a
Merge pull request #278 from CosmWasm/fix-staking-queries
...
Better calculation of Delegation data
2020-10-07 14:49:10 +02:00
Alex Peters
5fbf4ae7c7
Review feedback
2020-10-07 11:59:57 +02:00
Simon Warta
d2d204891c
Test nil key and adapt docs
2020-10-07 11:21:22 +02:00
Ethan Frey
2a92028b29
Wrote gnarly query to get outstanding rewards for delegator
2020-10-06 20:57:18 +02:00
Ethan Frey
2b34ee60cb
Return raw stored bytes for raw queries
2020-10-06 17:48:13 +02:00
Alex Peters
fd9130d7df
Prevent integer overflow
2020-10-06 10:52:23 +02:00
Ethan Frey
cc8f07563a
Update code/tests to new version
2020-10-05 22:23:10 +02:00
Ethan Frey
0232a6804d
go-cosmwasm 0.11.0-alpha1 and fix compiler issues
2020-10-04 16:32:24 +02:00
Ethan Frey
f74e077a27
Properly charge gas in keeper
2020-07-27 13:44:18 +02:00
Ethan Frey
4c6757fc1e
Always throw OutOfGas panic when wasmer uses all gas
2020-07-24 11:31:09 +02:00
Ethan Frey
fae55715e5
Update go-cosmwasm to v0.10.0-alpha2 and code compiles
2020-07-24 10:51:10 +02:00
Ethan Frey
5e6a0eb01d
Handle gas meter multiplier in x/wasm not go-cosmwasm
2020-07-23 22:53:42 +02:00
Reuven Podmazo
a7f801d123
fixed recursive queries losing context
2020-07-22 16:13:56 +03:00
Alex Peters
ad520ed1d3
Return init/migration msg with contract history
2020-07-20 17:22:10 +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
e6e4839875
Genesis export via code prefix
2020-07-20 14:42:26 +02:00
Alex Peters
a9f31c7cd8
Additional tests and minor updates
2020-07-17 10:40:32 +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
Ethan Frey
7f02f57f21
Increase and document the MaxGas limit
2020-07-15 16:21:40 +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
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
f71a9bbb13
Ex/Import missing LastInstanceID key
2020-06-29 16:49:45 +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
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
Alex Peters
42f544f5c8
Minor fixes
2020-06-12 14:50:59 +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