Commit Graph

134 Commits

Author SHA1 Message Date
jhernandezb
352e408b70 fix tag 2022-09-06 08:18:45 -06:00
jhernandezb
cc9e74075c change default behavior to always pin 2022-09-06 08:13:41 -06:00
jhernandezb
881d0aca94 add pin code flag to store code proposal 2022-09-05 10:32:22 -06:00
Alexander Peters
0f2794c47a Merge pull request #969 from public-awesome/jhernandezb/add-params-query
add params query
2022-09-01 11:09:46 +02:00
jhernandezb
e54d56e95f add params query 2022-08-31 10:58:42 -06:00
Alex Peters
dda8cbb84e Remove obsolete cli gov params 2022-08-31 17:27:26 +02:00
Jacob Gadikian
4875db2055 depracte-ioutil (#934) 2022-08-24 10:21:16 +02:00
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
shiki.takahashi
72e8b7d40b Remove unnecessary string 2022-07-08 15:55:43 +09:00
Simon Warta
5809ca2843 Use LibwasmvmVersion from wasmvm root 2022-05-16 14:07:51 +02:00
Ethan Frey
bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
jhernandezb
3ade8159b6 update proto field name 2022-05-09 11:35:37 -06:00
jhernandezb
ac6876f657 fix error message 2022-05-09 11:35:37 -06:00
jhernandezb
30f05722f1 address code review comments 2022-05-09 11:35:37 -06:00
jhernandezb
86c61efe70 add code-info query command 2022-05-09 11:35:37 -06:00
jhernandezb
bf9c6e2ce6 Add handlers 2022-05-09 11:35:37 -06:00
Alexander Peters
5bb0673264 Proto updates (#847)
* Bump ibc protos to v3

* Bump tendermint protos to v0.34.19

* Fix proofs path

* Format all
2022-05-09 16:32:13 +02:00
Jorge Hernandez
25c8ac63da Add libwasm-version query command (#846)
* add vm-version query command

* update command name
2022-05-09 10:44:01 +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
pinosu
bfa6a1cc85 Make utils methods public (#773)
Make GetAllCodes and GetAllContracts methods public
2022-03-03 18:19:14 +01:00
Alex Peters
70ee69a54e Add no admin flag for gov 2022-03-02 14:33:30 +01:00
Alex Peters
0fc0ac585c Replace custom codec with sdk codec 2022-02-21 10:31:36 +01:00
Ethan Frey
fb568e3ef7 Allow sending tokens along with governance wasm_execute proposal 2022-01-24 21:18:29 +01:00
Ethan Frey
0a96e26fba Remove RunAs from Migrate proposal 2022-01-24 20:00:01 +01:00
Ethan Frey
8a9771e8f6 Add tests for Rest client 2022-01-24 19:54:26 +01:00
Ethan Frey
fb1240c29a Add rest routes for proposals; 2022-01-24 19:54:26 +01:00
Ethan Frey
027b951f19 Wire up cli for exec and sudo proposal 2022-01-24 19:54:26 +01: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
Alexander Peters
b8319aa334 Upgrade to cosmos-sdk v0.45.0 (#717)
* Upgrade to cosmos-sdk v0.44.5

* Upgrade to sdk v0.45.0-rc1

* Fix local test deploy scripts

* Bump to v0.45.0 final release

* Fixed replace to 0.45.0 not rc1

* Fix changed import path since rc1

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-01-20 12:47:01 +01:00
Alex Peters
9d57522d67 Upgrade wasmvm to v1.0.0-beta5 2022-01-04 09:51:24 +01:00
Orkun Külçe
e7f41f2d17 Implement PinCode and UnpinCode proposal client handlers (#707)
* Implement PinCodes proposal cli

* Implement UnpinCodes proposal cli

* Fix descriptions

* Apply suggestions from code review

Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>

Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2021-12-23 11:12:45 +01:00
Alexander Peters
c18bc4b00e Add linter name and minor golint related updates (#663) 2021-10-25 15:33:21 +02:00
Alexander Peters
dfba1395d9 Fix message representation for signing (#658)
* Introduce RawContractMessage type

* Add json signbytes test for proposals

* No assumptions on MsgIBCSend.data content

* Smart query uses RawContractMessage

* Revert method signature change to be consistent

* Review comment

* Update after discussions
2021-10-25 15:23:19 +02: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
fkneeland
193f517739 remove unused flags from cmd prompt 2021-10-14 16:38:13 -06:00
Alex Peters
b7a99e69ee Query all pinned code ids 2021-10-07 13:52:06 +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
92850081f0 Fix last tests 2021-07-28 11:18:58 +02:00
Ethan Frey
477c794913 Almost all tests pass 2021-07-28 11:18:21 +02:00
Ethan Frey
d6432413a6 Fixed remaining PR comments 2021-07-27 14:25:33 +02:00
Ethan Frey
7eb7814437 Update JSON/YAML parsing and test code 2021-07-27 14:25:33 +02:00
Ethan Frey
6c7bb96511 Rename remaining {Init,Migrate}Msg fields 2021-07-27 14:25:33 +02:00
Ethan Frey
699fbbc215 Changed references in code - 2 broken tests 2021-07-27 14:25:33 +02:00