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
Ethan Frey
b4258b9910
Merge pull request #726 from CosmWasm/702-autopin-gov-contracts
...
Autopin gov contracts
2022-01-21 10:48:16 +01:00
Ethan Frey
e9d96cf4dd
Add CHANGELOG entry
2022-01-21 10:40:39 +01:00
Ethan Frey
d60dbd56e0
And properly pin it on governance vote
2022-01-21 10:39:43 +01:00
Ethan Frey
ab12678446
Failing test showing it was not currently pinned
2022-01-21 10:39:43 +01:00
Denis Fadeev
00a01da039
feat: Starport configuration file
...
Many Starport users are asking for CosmWasm. Cosmos SDK is notorious for how hard it is to add modules to an existing chain `app.go` (either manually or programmatically). Until Cosmos SDK becomes better at handling modules, I propose adding a simple `config.yml`, so that users can do this:
```
git clone https://github.com/cosmwasm/wasmd
cd wasmd
starport chain serve
```
2022-01-21 12:22:43 +03:00
Alexander Peters
4bf0092b42
Merge pull request #725 from CosmWasm/v022_changelog
...
Prepare changelog for v0.22.0
2022-01-21 10:03:45 +01:00
Alexander Peters
109eb18c2e
Merge pull request #723 from CosmWasm/dependabot/go_modules/github.com/prometheus/client_golang-1.12.0
...
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0
2022-01-20 17:05:55 +01:00
Mauro Lacy
bf84b199a8
Proper systemerror follow-up ( #715 )
...
* Add custom NoSuchContract error
* Return custom NoSuchContract error from WasmQuerier
* Add custom NoSuchContract error
* Use custom ErrNoSuchContract error
Map to corresponding wasmvmtypes error
* Handle wrapped errors
Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2022-01-20 17:05:10 +01:00
Alex Peters
9fad87b026
Prepare changelog for v0.22.0
2022-01-20 17:03:52 +01:00
dependabot[bot]
0b82ac4570
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.11.0 to 1.12.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.11.0...v1.12.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>
2022-01-20 11:47:55 +00: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
Alexander Peters
52477ead36
Merge pull request #714 from CosmWasm/wasmvm_upgrade
...
Upgrade wasmvm to v1.0.0-beta5
2022-01-04 14:35:18 +01:00
Alex Peters
9d57522d67
Upgrade wasmvm to v1.0.0-beta5
2022-01-04 09:51:24 +01:00
Mauro Lacy
f621948ea8
Merge pull request #701 from CosmWasm/687-proper-systemerror
...
`ContractInfo` query: return `NoSuchContract` system error instead of sdk error
2022-01-03 10:09:15 +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
Mauro Lacy
8d07dc01b4
Return NoSuchContract system error instead of sdk error in ContractInfo query
2021-12-16 10:07:32 +01:00
Jacob Gadikian
9a17505cf8
Use replace statements to enforce consistent versioning. ( #692 )
...
* Use replace statements to enforce consistent versioning.
* Fix CI (I think. Consider this a test of that.)
* Further consistency enforcement
* SDK 0.42.11 for much secure
* Update CHANGELOG.md
* Update CHANGELOG.md
2021-12-08 08:33:29 +01:00
Ethan Frey
358052007e
Merge pull request #684 from CosmWasm/659-benchmarks
...
Fix flickering benchmark tests
2021-11-25 13:41:51 +01:00
Alex Peters
cb7497c530
Fix flickering benchmark tests
2021-11-25 10:17:04 +01:00
Jacob Gadikian
1da2078229
Go 1.17 provides a much clearer go.mod file ( #679 )
...
* Go 1.17 provides a much clearer go.mod file
* tidy
* Go 1.17 cleanup
2021-11-24 21:18:23 +01:00
Alexander Peters
4ffba67273
Bump wasmvm to v1.0.0-beta2 ( #676 )
...
* Bump wasmvm to v1.0.0-beta2
* Update changelog
2021-11-17 20:33:34 +01:00
Ethan Frey
269ba89aeb
Merge pull request #675 from CosmWasm/v0.21_changelog
...
Update Changelog and Readme for release
2021-11-17 19:33:40 +01:00
Alex Peters
500b29af67
Update Readme
2021-11-17 17:57:36 +01:00
Alex Peters
4f48193c74
Update changelog for v0.21
2021-11-17 17:52:06 +01:00
dependabot[bot]
8b4fcd8627
Bump github.com/cosmos/iavl from 0.17.1 to 0.17.2 ( #673 )
...
Bumps [github.com/cosmos/iavl](https://github.com/cosmos/iavl ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/cosmos/iavl/releases )
- [Changelog](https://github.com/cosmos/iavl/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cosmos/iavl/compare/v0.17.1...v0.17.2 )
---
updated-dependencies:
- dependency-name: github.com/cosmos/iavl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 17:20:52 +01:00
Alexander Peters
efe87743e4
Limit simulation gas ( #674 )
...
* Limit simulation gas
* Put parameters on separate lines
2021-11-17 17:20:26 +01:00
Alexander Peters
1f43ca13c7
Merge pull request #666 from CosmWasm/dependabot/go_modules/github.com/rs/zerolog-1.26.0
...
Bump github.com/rs/zerolog from 1.25.0 to 1.26.0
2021-11-17 14:55:51 +01:00
Alexander Peters
090b8e91e2
Merge pull request #669 from CosmWasm/api-cleanup
...
Open read access to sequences
2021-11-08 12:33:03 +01:00
Alex Peters
445fbb7564
Open read access to sequences
2021-11-05 15:07:12 +01:00
dependabot[bot]
100b551daa
Bump github.com/rs/zerolog from 1.25.0 to 1.26.0
...
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/rs/zerolog/releases )
- [Commits](https://github.com/rs/zerolog/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 08:22:59 +00:00
Alexander Peters
14e58bfa81
Merge pull request #665 from fkneeland-figure/update_readme_for_m1
...
Add lack of M1 support to README
2021-10-28 08:27:35 +02:00
fkneeland
5139ea5aff
Added that m1 macs are currently not supported
2021-10-27 14:53:16 -06:00
Ethan Frey
7edf2f9a8c
Merge pull request #664 from CosmWasm/nolint2
...
Disable false positive linter alert
2021-10-26 12:18:55 +02:00
Alex Peters
a316dccbe5
Disable false positive
2021-10-26 09:00:04 +02:00
fkneeland-figure
9186d81ce5
Fixed wrong error message when lastCodeID value is incorrect ( #644 )
...
* Fixed wrong error message when lastCodeID value is incorrect
* Updated changelog
* removed unused import
* fixed typeo
2021-10-26 08:59:41 +02: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
Alexander Peters
465c085e15
Revert error handling on export ( #662 )
2021-10-25 15:22:42 +02:00
Ethan Frey
161927c7b4
Merge pull request #661 from CosmWasm/formatting_generated
...
Format generated files
2021-10-25 12:30:32 +02:00
Alex Peters
950b2e446b
Format generated files
2021-10-25 09:16:38 +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
Ethan Frey
c34b4863b1
Merge pull request #657 from mojtaba-esk/patch-1
...
Handle error on Address not found
2021-10-21 16:24:39 +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
Ethan Frey
2abbc00baf
More bank/cw20 benchmarks ( #651 )
...
* Add blocks of 1000 tx
* Increase Block.MasGas for tests/benchmarks
* Add huge initialization
2021-10-19 10:06:52 +02:00
Ethan Frey
d82a0b94d2
Merge pull request #650 from fkneeland-figure/remove_unused_flags_from_cmd_prompt
...
Remove unused flags from cmd prompt
2021-10-15 14:54:34 +02:00
fkneeland
fe7ee710ba
changelog update
2021-10-14 16:39:25 -06:00
fkneeland
193f517739
remove unused flags from cmd prompt
2021-10-14 16:38:13 -06:00