Commit Graph

41 Commits

Author SHA1 Message Date
Alexander Peters
00082a25b8 Make app keepers public (#951)
* use ecosystem convention for keeper names in app.go

* fix linting

* Revert variable renaming

* Deprecate attribute access helper

* Formatting only

* Replace usage of deprecated test helper

* Address linter report

Co-authored-by: faddat <jacobgadikian@gmail.com>
2022-08-23 17:01:04 +02:00
Ethan Frey
1253c8e360 Merge branch 'main' into add-state-sync 2022-05-04 10:18:53 +02:00
Jorge Hernandez
fb2d2f2ab9 Add instantiate-nobody flag to cli store cmd (#827)
* add instantiate-nobody flag to cli store cmd

* add flag to genesis store cmd

* update flag description
2022-05-03 09:33:46 +02:00
Ethan Frey
4cccddbb37 Put GzipIt and Uncompress logic in a common folder 2022-04-27 21:01:28 +02:00
Ethan Frey
1e78fbccf2 Fixed error message capitalization 2022-01-21 10:48:54 +01:00
Ethan Frey
332f4cc9a8 Fix tests, handle genesis init as well 2022-01-21 10:48:34 +01:00
Ethan Frey
acd1cf9dfe Require --no-admin flag if no admin set 2022-01-21 10:48:34 +01:00
fkneeland-figure
57517b0c33 Add golangci lint check on pull requests (#645)
* added golangci lint check on pull requests

* changelog update

* updated to use circleci instead of github actions

* testing a golang change

* added workflow

* updated how we find the golangci command in the make file

* using orb for golangci

* Added golangci install make command

* use docker image for golangci

* stop using make in circleci

* reverted golang change to trigger ci

* gofmt

* make fmt

* fixed a few things

* updated version on golintci

* fixed all the lint errors

* check version

* skipped wrongly failing lint

* Revert generated file changes

* fix import grouping, return errors on failures, initialization of arrays revert

* fixed a few lint errors

* addressed more code review comments

* updated with error check

* increased timeout for golangci-lint

* dont format autogenerated files

Co-authored-by: Carlton Hanna <channa@figure.com>
2021-10-25 09:09:47 +02:00
Mojtaba
0984acaf7e Handle error on Address not found
If we use a wallet address which does not exist, it gives the following error: 
```
Error: empty address string is not allowed
```
which is coming from the SDK and confusing to the user. 
The reason is because one error is not handled properly, in the new proposal, the error is handled which returns the following error if the address does not exist:

```
Error: The specified item could not be found in the keyring
```
2021-10-21 16:09:26 +02:00
fkneeland-figure
dd390d7f5f Go Formatting update (#648)
* make fmt

* changelog update
2021-10-21 14:54:16 +02:00
Alex Peters
49bed8952f Remove obsolete cli params 2021-08-02 14:55:42 +02:00
Ethan Frey
2387a48727 All code compiles and tests 2021-07-28 11:24:44 +02:00
Ethan Frey
699fbbc215 Changed references in code - 2 broken tests 2021-07-27 14:25:33 +02:00
Alexander Peters
6a6d6c9fc4 Add cli alias (#536)
* Add cli alias

* Review feedback
2021-06-14 09:57:59 +02: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
Alex Peters
7583340d82 Rename to funds in msgs 2021-03-03 13:59:03 +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
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
6a920852bf Replace sdk.AccAddress with bech32 string 2020-11-17 13:19:54 +01:00
Alex Peters
bcb00d6017 Upgrade to Stargate commits 2020-10-27 15:01:22 +01:00
Alex Peters
db464d891b Rename ambiguous Code attribute 2020-07-17 17:02:21 +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
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
c829fcff5a Rename import from cosmwasm/wasmd to CosmWasm/wasmd 2020-05-13 22:15:40 +02:00
Ethan Frey
ba4ce39a8e Add support for --label when instantiating contracts 2020-03-02 16:29:14 +01:00
Ethan Frey
06c3f0f253 All compiles except ./cmd 2020-01-23 19:18:17 +01:00
Ethan Frey
37ec9df047 Merge branch 'master' into vw/modify-cli 2020-01-20 10:40:54 +01:00
sahith-narahari
215dcc4ffa Modified args number for txs 2020-01-20 00:34:35 +05:30
anilCSE
cd082fe353 Update tests 2020-01-17 21:41:14 +05:30
anilCSE
adb07de1db Add genesis tests for source, builder 2020-01-17 21:32:19 +05:30
Sahith Reddy Narahari
b2172a81e5 Added source and builder to validate basic 2020-01-17 19:16:09 +05:30
anilCSE
62d0c308a8 Add source ref 2020-01-17 10:58:50 +05:30
anilCSE
2ec1a577c1 Fix review changes 2020-01-14 10:02:49 +05:30
anilCSE
b71505bd8f Add auto-gzip contracts in cli when uploading 2020-01-11 16:16:58 +05:30
Ethan Frey
9f0304567d Finish full exec flow 2019-11-22 19:07:57 +01:00
Ethan Frey
0b74b12b0e Complete tx command and wire to module 2019-11-22 17:30:33 +01:00
Ethan Frey
6ddd637733 Update code to master 2019-11-22 17:17: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