Commit Graph

79 Commits

Author SHA1 Message Date
Alex Peters 7583340d82
Rename to funds in msgs 2021-03-03 13:59:03 +01:00
secret d46871eab9 remove redundant wasm limit in rest 2021-02-05 17:58:14 +08: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 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 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
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 0b7b70363b
Use base request data for sender 2020-11-25 11:04:40 +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
Alex Peters bf83c4476c
Upgrade to Stargate RC2 2020-11-03 18:20:26 +01:00
Alex Peters bcb00d6017
Upgrade to Stargate commits 2020-10-27 15:01:22 +01:00
Ethan Frey 80a7cfea84 Manually encode as base64 as auto-encoded doesn't work 2020-10-09 10:32:46 +02:00
Ethan Frey 13169ab629 Base64 encoded return data on wasm raw query REST endpoint 2020-10-08 20:18:51 +02:00
Ethan Frey eb0f86ebe2 Use json.RawMessage for better encoding of REST interface on raw queries 2020-10-06 19:43:52 +02:00
Ethan Frey 4689220bbf Update raw query REST response 2020-10-06 17:52:18 +02:00
Ethan Frey 989830e073 Fix old contract naming in integration tests 2020-10-05 22:31:39 +02:00
Alex Peters e62f2cac44
Add CLI + REST support for contract history 2020-07-20 14:58:44 +02:00
Alex Peters 1c4d4d8f0e
Validate json msg payload 2020-07-20 14:43:23 +02:00
Alex Peters db464d891b
Rename ambiguous Code attribute 2020-07-17 17:02:21 +02:00
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
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
Ethan Frey 3b96d488c1 Updated with PR comments 2020-06-26 12:06:15 +02:00
Ethan Frey b65f47f95a Rename MsgUpdateAdministrator -> MsgUpdateAdmin 2020-06-26 11:11:44 +02:00
Alex Peters 42f544f5c8
Minor fixes 2020-06-12 14:50:59 +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
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
Assaf Morami bb18c59c5d
Implement query list-contract-by-code for the CLI 2020-03-04 12:12:36 +02:00
Ethan Frey ba4ce39a8e Add support for --label when instantiating contracts 2020-03-02 16:29:14 +01:00
Ethan Frey fee390d8f4 Return all info with GetCode, not just wasm 2020-03-01 21:20:34 +01:00
Ethan Frey 34413d1e83 Return proper json object, not string, for all queries 2020-02-27 17:45:58 +01:00
Ethan Frey eeb12592f3 Use height from query and return height on query 2020-02-27 17:45:58 +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
Ethan Frey 660407b34d Fixed up REST query responses 2020-02-11 10:02:36 +01:00
Ethan Frey 28591613fa querySmart returns base64-encoded contract result
queryRaw and queryAllState return []model object
(array of key-hex and value-base64)
2020-02-10 20:10:45 +01:00
Ethan Frey 7c6c31de74 Fix list contracts by code id 2020-02-10 12:44:09 +01:00
Ethan Frey a458606b17 Add /wasm/code/{codeID}/contracts to rest to get all contract info by codeID 2020-02-09 22:09:48 +01:00
Ethan Frey 5e67261d43 Return code object (with []byte), not string 2020-02-07 20:31:32 +01:00
Ethan Frey 4544e6b1f3 Fix parsing codeID in rest call, getCodeInfo 2020-02-05 11:16:19 +01:00
sahith-narahari c84d7953f4 Modified url and fixed query contract 2020-01-27 18:38:55 +05:30
Ethan Frey 95cc9da7f3 Merge branch 'master' into merge_gaia_master_broken 2020-01-23 22:53:42 +01:00
sahith-narahari f4ee2d971c Modified url parameters 2020-01-24 02:53:23 +05:30
sahith-narahari 69fe83755a Added contract state smart query to rest 2020-01-24 01:42:28 +05:30
sahith-narahari 39ce036484 Added contract state query to rest 2020-01-24 01:16:57 +05:30
Ethan Frey 06c3f0f253 All compiles except ./cmd 2020-01-23 19:18:17 +01:00
Ethan Frey 709608d693
Merge pull request #29 from cosmwasm/vw/modify-cli
Modified arguments in txs
2020-01-20 11:01:41 +01:00