Skip to content

Commit

Permalink
Merge branch 'release/1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jul 3, 2023
2 parents f2443f8 + f6301da commit eec1333
Show file tree
Hide file tree
Showing 49 changed files with 5,702 additions and 560 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ workflows:
# Add your branch here if benchmarking matters to your work
- fix-benchmarking
- w3
- coverage
# - coverage # disabled temporarily because Rust version is too low
deploy:
jobs:
- build_and_upload_devcontracts:
Expand Down
57 changes: 55 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,60 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.3.0-rc.0] - 2023-07-03

### Fixed

- cosmwasm-vm: Add missing cache stats increment when calling `pin`.

### Added

- cosmwasm-std: Implement `BankQuery::AllDenomMetadata` to allow querying all
the denom metadata and `BankQuery::DenomMetadata` to query a specific one. In
order to use this query in a contract, the `cosmwasm_1_3` feature needs to be
enabled for the `cosmwasm_std` dependency. This makes the contract
incompatible with chains running anything lower than CosmWasm `1.3.0`.
([#1647])
- cosmwasm-std: Add `DistributionQuery::DelegatorWithdrawAddress`. Also needs
the `cosmwasm_1_3` feature (see above). ([#1593])
- cosmwasm-std: Add `DistributionMsg::FundCommunityPool`. Also needs the
`cosmwasm_1_3` feature (see above). ([#1747])
- cosmwasm-std: Add `FromStr` impl for `Coin`. ([#1684])
- cosmwasm-std: Add `Coins` helper to handle multiple coins. ([#1687])
- cosmwasm-vm: Add `Cache::save_wasm_unchecked` to save Wasm blobs that have
been checked before. This is useful for state-sync where we know the Wasm code
was checked when it was first uploaded. ([#1635])
- cosmwasm-vm: Allow sign extension Wasm opcodes in static validation. This
allows contracts to be compiled with Rust 1.70.0 and above. ([#1727])
- cosmwasm-std: Add trait functions `Storage::range_keys` and
`Storage::range_values`. The default implementations just use
`Storage::range`. Later this can be implemented more efficiently. ([#1748])
- cosmwasm-std: Add `Int64`, `Int128`, `Int256` and `Int512` signed integer
types. ([#1718])

[#1593]: https://github.com/CosmWasm/cosmwasm/pull/1593
[#1635]: https://github.com/CosmWasm/cosmwasm/pull/1635
[#1647]: https://github.com/CosmWasm/cosmwasm/pull/1647
[#1684]: https://github.com/CosmWasm/cosmwasm/pull/1684
[#1687]: https://github.com/CosmWasm/cosmwasm/pull/1687
[#1718]: https://github.com/CosmWasm/cosmwasm/pull/1718
[#1727]: https://github.com/CosmWasm/cosmwasm/issues/1727
[#1747]: https://github.com/CosmWasm/cosmwasm/pull/1747
[#1748]: https://github.com/CosmWasm/cosmwasm/pull/1748

### Changed

- cosmwasm-vm: Add checks for table section of Wasm blob ([#1631]).
- cosmwasm-vm: Limit number of imports during static validation ([#1629]).
- cosmwasm-vm: Add target (triple + CPU features) into the module cache
directory to avoid using modules compiled for a different system. Bump
`MODULE_SERIALIZATION_VERSION` to "v6". ([#1664])
- cosmwasm-vm: Add `.wasm` extension to stored wasm files ([#1686]).

[#1629]: https://github.com/CosmWasm/cosmwasm/pull/1629
[#1631]: https://github.com/CosmWasm/cosmwasm/pull/1631
[#1664]: https://github.com/CosmWasm/cosmwasm/pull/1664
[#1686]: https://github.com/CosmWasm/cosmwasm/pull/1686

### Added

Expand Down Expand Up @@ -1773,7 +1826,7 @@ Some main points:

All future Changelog entries will reference this base

[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/v1.2.7...HEAD
[1.3.0-rc.0]: https://github.com/CosmWasm/cosmwasm/compare/v1.2.7...v1.3.0-rc.0
[1.2.7]: https://github.com/CosmWasm/cosmwasm/compare/v1.2.6...v1.2.7
[1.2.6]: https://github.com/CosmWasm/cosmwasm/compare/v1.2.5...v1.2.6
[1.2.5]: https://github.com/CosmWasm/cosmwasm/compare/v1.2.4...v1.2.5
Expand Down
48 changes: 15 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 13 additions & 31 deletions contracts/burner/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eec1333

Please sign in to comment.