Skip to content

Commit

Permalink
Merge pull request #1664 from CosmWasm/hash-Target
Browse files Browse the repository at this point in the history
Hash target (triple + CPU features) into module cache directory
  • Loading branch information
webmaster128 committed Apr 24, 2023
2 parents e40146a + f7d2546 commit 94e1eb4
Show file tree
Hide file tree
Showing 15 changed files with 149 additions and 67 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ and this project adheres to
[cosmwasm-check](https://crates.io/crates/cosmwasm-check) instead ([#1511]).
- cosmwasm-vm: Avoid using loupe for getting the `Module` size in the file
system cache to prepare for the Wasmer 3 upgrade.
- 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 "v5". ([#1664])

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

## [1.2.4] - 2023-04-17

Expand Down
9 changes: 9 additions & 0 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/burner/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/crypto-verify/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/cyberpunk/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/floaty/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/hackatom/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/ibc-reflect-send/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/ibc-reflect/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/queue/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/reflect/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/staking/Cargo.lock

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

5 changes: 3 additions & 2 deletions contracts/virus/Cargo.lock

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

3 changes: 3 additions & 0 deletions packages/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench = false

[dependencies]
clru = "0.4.0"
crc32fast = "1.3.2"
# Uses the path when built locally; uses the given version from crates.io when published
cosmwasm-std = { path = "../std", version = "1.2.4", default-features = false }
cosmwasm-crypto = { path = "../crypto", version = "1.2.4" }
Expand Down Expand Up @@ -64,12 +65,14 @@ bitflags = "1.1.0" # https://github.com/CensoredUsername/dynasm-rs/pull/74

[dev-dependencies]
criterion = { version = "0.4", features = [ "html_reports" ] }
glob = "0.3.1"
hex-literal = "0.3.1"
tempfile = "3.1.0"
wat = "1.0"
clap = "2.33.3"
rand = "0.8"
leb128 = "0.2"
target-lexicon = "0.12"

[[bench]]
name = "main"
Expand Down
Loading

0 comments on commit 94e1eb4

Please sign in to comment.