Commit Graph

2064 Commits

Author SHA1 Message Date
Christoph Otter
2ec06281e6 Fix TestAppStateDeterminism 2024-02-15 15:13:00 +01:00
Christoph Otter
6d7c91c145 Remove unnecessary conversion 2024-02-15 14:42:07 +01:00
Christoph Otter
59848968ea Add cosmwasm_2_0 capability to README 2024-02-15 14:31:44 +01:00
Christoph Otter
dd992b0deb Use different tempdir for each test run 2024-02-15 14:30:37 +01:00
Christoph Otter
db25a8284a Add cosmwasm_2_0 capability 2024-02-15 14:30:37 +01:00
Christoph Otter
ffe6aaa5ec Fix dockerfile 2024-02-15 14:30:37 +01:00
Christoph Otter
ec2c70bf72 Fix address validation 2024-02-15 14:30:37 +01:00
Christoph Otter
c8f84ff600 Fix wasmvm path in CI 2024-02-15 14:30:37 +01:00
Christoph Otter
244c55a4ba Reduce gas factor 2024-02-15 14:30:37 +01:00
Christoph Otter
cca0005c71 Fix lint 2024-02-15 14:30:37 +01:00
Christoph Otter
73e7ebb4d6 go mod tidy 2024-02-15 14:30:37 +01:00
Christoph Otter
54670c4990 Add ValidateAddress impl 2024-02-15 14:30:37 +01:00
Christoph Otter
e4d95c2453 Fix StoreCode gas usage 2024-02-15 14:30:37 +01:00
Christoph Otter
d4e6417dc7 Adjust to nested results 2024-02-15 14:30:37 +01:00
Christoph Otter
c7ba88f81d Adjust to type changes and renamings 2024-02-15 14:30:37 +01:00
Christoph Otter
b1c5bfb230 Update to wasmvm 2.0.0-rc.1 2024-02-15 14:30:37 +01:00
Simon Warta
9e44af1685 Merge pull request #1805 from CosmWasm/rewrite-compatibility
Rewrite compatibility section in README
2024-02-15 13:21:34 +01:00
Simon Warta
95111858ad Remove unused Compatibility with CosmWasm contracts headline 2024-02-09 12:55:36 +01:00
Simon Warta
84e3bc32df Update README.md
Co-authored-by: Christoph Otter <chris@confio.gmbh>
2024-02-09 12:52:36 +01:00
Simon Warta
e48ccb2829 Run README through Editorconfig/Prettier 2024-02-07 18:13:14 +01:00
Simon Warta
d5616d5d17 Add .editorconfig 2024-02-07 18:12:41 +01:00
Simon Warta
4a81bacb77 Rewrite compatibility section in README 2024-02-07 18:12:32 +01:00
Simon Warta
5f444cd9d3 Merge pull request #1799 from CosmWasm/setup-discounts
Generalize "pinned" to "discount" for cases where contract is in memory
2024-02-01 14:14:30 +01:00
Simon Warta
3206540319 Adapt tests to gas value changes 2024-01-27 16:12:03 +01:00
Simon Warta
315bf5ca18 Generalize "pinned" to "discount" for cases where contract is in memory 2024-01-26 17:18:28 +01:00
Simon Warta
796907e94a Merge pull request #1797 from CosmWasm/rename-to-setup-cost
Rename InstantiateContractCosts -> SetupContractCost; Remove NewContractInstanceCosts
2024-01-25 12:29:25 +01:00
Simon Warta
ce0dafad39 Remove NewContractInstanceCosts
We do not have entry-point specific gas metering and
NewContractInstanceCosts is just an alias for setup cost. No need to
maintain it. If we really need it, we should better explain why.
2024-01-25 10:09:40 +01:00
Simon Warta
18ff23339a Rename InstantiateContractCosts -> SetupContractCost 2024-01-25 10:02:20 +01:00
pinosu
58a5ef0e8f bump cosmos-sdk proto to v0.50.0 (#1795) 2024-01-24 14:07:38 +01:00
pinosu
64b80740e5 Fix grant cli (#1792) 2024-01-24 10:35:04 +01:00
dependabot[bot]
8948806661 Bump github.com/CosmWasm/wasmvm from 1.5.0 to 1.5.2 (#1781)
* Bump github.com/CosmWasm/wasmvm from 1.5.0 to 1.5.2

Bumps [github.com/CosmWasm/wasmvm](https://github.com/CosmWasm/wasmvm) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/CosmWasm/wasmvm/releases)
- [Changelog](https://github.com/CosmWasm/wasmvm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmWasm/wasmvm/compare/v1.5.0...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/CosmWasm/wasmvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Dockerfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pino' Surace <pino.surace@live.it>
2024-01-19 20:09:38 +01:00
dependabot[bot]
550fc247c4 Bump cosmossdk.io/log from 1.2.1 to 1.3.0 (#1773)
Bumps [cosmossdk.io/log](https://github.com/cosmos/cosmos-sdk) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/log/v1.2.1...log/v1.3.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 17:47:54 +01:00
dependabot[bot]
1ce3d9d90e Bump cosmossdk.io/store from 1.0.1 to 1.0.2 (#1774)
Bumps [cosmossdk.io/store](https://github.com/cosmos/cosmos-sdk) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/math/v1.0.1...store/v1.0.2)

---
updated-dependencies:
- dependency-name: cosmossdk.io/store
  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>
2024-01-18 14:02:58 +01:00
dependabot[bot]
2a9e7a03a3 Bump cosmossdk.io/errors from 1.0.0 to 1.0.1 (#1775)
Bumps [cosmossdk.io/errors](https://github.com/cosmos/cosmos-sdk) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/log/v1.0.0...math/v1.0.1)

---
updated-dependencies:
- dependency-name: cosmossdk.io/errors
  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>
2024-01-18 11:10:17 +01:00
dependabot[bot]
07c8beea00 Bump github.com/dvsekhvalnov/jose2go in /tests/system (#1769)
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/dvsekhvalnov/jose2go/compare/v1.5...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/dvsekhvalnov/jose2go
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 11:01:43 +01:00
dependabot[bot]
4b4f82d904 Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 (#1770)
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/dvsekhvalnov/jose2go/compare/v1.5...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/dvsekhvalnov/jose2go
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 11:01:14 +01:00
Not Jeremy Liu
651abcff89 Add Build Address gRPC Query (#1753)
* add and generate build address query protos

* change init args to bytes

* implement BuildAddress grpc query

* Add unit tests

* Update x/wasm/keeper/querier_test.go

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>

* more verbose error messages

* make CmdBuildAddress use query client instead of keeper

* src instead of srcQuery in tests

* add more test cases

* add test for invalid init args

---------

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>
2024-01-09 10:48:16 +01:00
dependabot[bot]
d0dde1a0f1 Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#1767)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.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.17.0...v1.18.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:42:47 +01:00
dependabot[bot]
19d18265ec Bump cosmossdk.io/x/tx from 0.12.0 to 0.13.0 (#1766)
Bumps [cosmossdk.io/x/tx](https://github.com/cosmos/cosmos-sdk) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/tx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 14:56:21 +01:00
dependabot[bot]
eaa6f0b654 Bump github/codeql-action from 2 to 3 (#1758)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 11:24:51 +01:00
dependabot[bot]
a1e9188fb6 Bump cosmossdk.io/x/upgrade from 0.1.0 to 0.1.1 (#1754)
Bumps [cosmossdk.io/x/upgrade](https://github.com/cosmos/cosmos-sdk) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/api/v0.1.0...x/upgrade/v0.1.1)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/upgrade
  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>
2023-12-12 10:30:37 +01:00
dependabot[bot]
017f91ccc9 Bump cosmossdk.io/tools/confix from 0.1.0 to 0.1.1 (#1756)
Bumps [cosmossdk.io/tools/confix](https://github.com/cosmos/cosmos-sdk) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/api/v0.1.0...x/upgrade/v0.1.1)

---
updated-dependencies:
- dependency-name: cosmossdk.io/tools/confix
  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>
2023-12-11 10:31:00 +01:00
dependabot[bot]
6f6be7880f Bump actions/checkout from 3 to 4 (#1750)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 10:39:17 +01:00
Alexander Peters
c686760e18 Add staticmajor code analyzer (#1738) 2023-12-01 09:21:16 +01:00
dependabot[bot]
c20e824e9c Bump cosmossdk.io/store from 1.0.0 to 1.0.1 (#1747)
Bumps [cosmossdk.io/store](https://github.com/cosmos/cosmos-sdk) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/log/v1.0.0...math/v1.0.1)

---
updated-dependencies:
- dependency-name: cosmossdk.io/store
  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>
2023-12-01 09:20:42 +01:00
dependabot[bot]
b7f24f36de Bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#1746)
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 09:19:46 +01:00
Simon Warta
9280688083 Merge pull request #1748 from CosmWasm/codeowner
Remove codeowners
2023-11-30 15:49:22 +01:00
Alex Peters
fe82969364 Remove codeowners 2023-11-30 15:31:05 +01:00
dependabot[bot]
4442cc6df6 Bump github.com/cometbft/cometbft from 0.38.1 to 0.38.2 (#1743)
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.1 to 0.38.2.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.38.1...v0.38.2)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  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>
2023-11-28 09:37:33 +01:00
Alexander Peters
7ea00e2ea8 Prepare v0.50.0 release (#1737)
* Update changelog

* Update readme
2023-11-23 15:27:17 +01:00