Alexander Peters
8991633de2
Disallow only address permission ( #1163 )
...
* Remove AccessTypeOnlyAddress for store msg
* Remove AccessTypeOnlyAddress for update config msg
* Review feedback
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com >
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com >
2023-01-25 12:46:02 +01:00
pinosu
f3ebd929cc
Remove genesis msgs ( #1104 )
...
* Remove genesis msgs
* Remove genesis msgs cli
* Refactor InitGenesis function
2022-12-09 13:20:49 +01:00
pinosu
299d4223af
Enable key name usage for admin ( #1103 )
2022-12-06 10:51:38 +01:00
GNaD13
bc00a6bae3
Add proposal instantiate 2 ( #1106 )
...
* add proposal instantiate 2
* add basic validate test
* test case for validate basic
* add integration test
* add cli
* fix lint
* add new func init proposal
* make format
2022-12-02 15:04:32 +01:00
Orkun Külçe
a589fe91e8
feat: Provide source, builder and codehash information in store code proposal message ( #1072 )
...
* Provide source, builder and codehash information in store code proposal message
* Make linter happy
* Update x/wasm/simulation/proposals.go
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com >
* Update x/wasm/client/cli/gov_tx.go
* Update x/wasm/client/cli/gov_tx.go
* Bump github.com/cosmos/gogoproto from 1.4.2 to 1.4.3
Bumps [github.com/cosmos/gogoproto](https://github.com/cosmos/gogoproto ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/cosmos/gogoproto/releases )
- [Changelog](https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cosmos/gogoproto/compare/v1.4.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: github.com/cosmos/gogoproto
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update authz grant examples
* Enable larger wasm bytecode upload for gov proposals (#1095 )
* Enable larger wasm bytecode upload for gov proposals
* Set max proposal wasm code size to 3MB
* Bump SDK to v0.45.11
* Fix license head
* Fix README header
* Bump version go to 1.19 (#1044 )
* bump go 1.19
* add change log
* correct change log
* Provide source, builder and codehash information in store code proposal message
* Implement source, builder, code_info for StoreAndInstantiateProposal
* Apply review recommendations
* Make linter happy
* Fix tests
* Formatting only
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Giancarlos Salas <giansalex@gmail.com >
Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com >
Co-authored-by: GNaD13 <89174180+GNaD13@users.noreply.github.com >
2022-11-22 15:14:38 +01:00
pinosu
ef9a84dda8
Add StoreAndInstantiateContract gov proposal ( #1074 )
...
* Add StoreAndInstantiateContract gov proposal
* Add integration tests
* Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove exposed functions
* Add tests
* Add Developer's guide and best practices (#1075 )
* Add Developer's guide and best practices
* Fix comments
* Change genesis preserving contract history (#1076 )
* preserve contract created date on genesis import and add query contract created date
* add validate created
* fix sims test app import export
* add preserve contract history
* Make proto-all only
* Remove ResetFromGenesis
* Add validation
Co-authored-by: Alex Peters <alpe@users.noreply.github.com >
* Return contract history updates
* Bump github.com/spf13/viper from 1.13.0 to 1.14.0 (#1082 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Revert "Bump github.com/spf13/viper from 1.13.0 to 1.14.0 (#1082 )"
This reverts commit cf81eb8ea6 .
* Add cli and refactor code
* Contract authz - redesign (#1077 )
* Add contract authz proto
* Implement contract autorization
* Register contract authz
* Add contract-authz tests
* Consume gas for contract authz
* Add contract authz cli
* Update cli usage
* Model spike
* Add max funds limit
* Redesign authz model
* Start e2e test
* Full e2e test
* Test filter and limits
* Test accept
* Fix description
* No linter warning
Co-authored-by: Giancarlos Salas <me@giansalex.dev >
* Add StoreAndInstantiateContract gov proposal
* Add integration tests
* Remove exposed functions
* Add tests
* Add cli and refactor code
* Fix comments
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GNaD13 <89174180+GNaD13@users.noreply.github.com >
Co-authored-by: Alex Peters <alpe@users.noreply.github.com >
Co-authored-by: Giancarlos Salas <me@giansalex.dev >
2022-11-11 16:04:04 +01:00
ravaliGangasani
b7e4770e31
Update gov_tx.go
...
adding instantiate-anyof-addresses flag in the gov_tx.go
2022-11-08 16:37:54 +05:30
pinosu
0223e2bddb
Add SilenceUsage flag to hide menu when an error occurs. ( #1068 )
...
* Add SilenceUsage flag to hide menu when an error occurs.
* Fix lint errors
2022-11-02 17:14:41 +01:00
Alex Peters
20cd4af540
More tests
2022-09-07 16:19:27 +02:00
Alex Peters
2567927d09
Parse any of address in CLI; more tests
2022-09-07 15:46:27 +02: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
Alex Peters
dda8cbb84e
Remove obsolete cli gov params
2022-08-31 17:27:26 +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
bf9c6e2ce6
Add handlers
2022-05-09 11:35:37 -06: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
Alex Peters
70ee69a54e
Add no admin flag for gov
2022-03-02 14:33:30 +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
027b951f19
Wire up cli for exec and sudo proposal
2022-01-24 19:54:26 +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
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
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
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