Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump up cosmwasm from v1.1.9 to v1.4.0 #331

Merged
merged 884 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
884 commits
Select commit Hold shift + click to select a range
16a6990
Create hidden constructor for query responses
chipshort Jul 4, 2023
333952f
Remove Default impls
chipshort Jul 6, 2023
b4fc7f6
cosmwasm_std: remove dependency on DefaultHasher in tests
mina86 Jul 13, 2023
a3c9597
Convert test helper into assert_hash_works
webmaster128 Jul 15, 2023
854cd60
Implement QueryResponseType trait for responses
chipshort Jul 15, 2023
75d4a5e
Extend QueryResponseType constraints
chipshort Jul 15, 2023
eb00887
Remove into
chipshort Jul 15, 2023
aca2de1
Merge pull request #1777 from mina86/b
webmaster128 Jul 15, 2023
46fae64
cosmwasm_std: prefer core and alloc modules to prepare for no_std
mina86 Jul 15, 2023
7ef4f87
Merge pull request #1766 from CosmWasm/fix-delegator-withdraw-address
webmaster128 Jul 15, 2023
100f993
Fix compiler warning
chipshort Jul 17, 2023
2cf7f1b
Set version: 1.3.0
chipshort Jul 17, 2023
f3d57ce
Update changelog
chipshort Jul 17, 2023
8421fb9
Merge branch 'main' into merge-1-3
chipshort Jul 18, 2023
7fc21c3
Update packages/std/src/results/cosmos_msg.rs
chipshort Jul 20, 2023
2a0cfd9
Merge pull request #1776 from mina86/a
chipshort Jul 20, 2023
e3b9478
cosmwasm_std: simplify ‘T can be used with HashSet’ tests
mina86 Jul 14, 2023
e01f672
Update mergify config
chipshort Jul 21, 2023
a23ff66
Fix backport branch
chipshort Jul 21, 2023
0e48309
Merge pull request #1780 from CosmWasm/merge-1-3
webmaster128 Jul 24, 2023
9292c77
Refactore code to reuse an engine
webmaster128 Jul 5, 2023
cacb150
Let compile not create its own engine
webmaster128 Jul 5, 2023
3180fe7
Remove make_runtime_store/make_store_with_engine
webmaster128 Jun 27, 2023
f9bcc0b
Create new engines for each compilation
webmaster128 Jun 28, 2023
0fa5362
Migrate make_engine to make_runtime_engine
webmaster128 Jul 5, 2023
330f53f
Create new compiling engines when Wasm is recompiled
webmaster128 Jul 5, 2023
6480054
Remove some unused values
webmaster128 Jul 5, 2023
5c2032f
Add comment on runtime_engine
webmaster128 Jul 5, 2023
ec4ee77
Apply suggestions from code review
webmaster128 Jul 10, 2023
2d98110
Apply suggestions from code review
webmaster128 Jul 24, 2023
13f2373
Remove extra middlewares feature
webmaster128 Jul 24, 2023
7d6b017
Rename store.rs -> engine.rs
webmaster128 Jul 24, 2023
c856e1f
Use compile consistently
webmaster128 Jul 24, 2023
ba5efd5
Merge pull request #1753 from CosmWasm/one-engine
webmaster128 Jul 24, 2023
274191c
Bump MODULE_SERIALIZATION_VERSION
chipshort Jul 21, 2023
24707a5
Apply suggestion from code review
chipshort Jul 24, 2023
7f6d2dd
Merge pull request #1787 from CosmWasm/1732-bump-serialization-version
webmaster128 Jul 24, 2023
ad94727
Update base64 dependency to 0.21
mina86 Jul 19, 2023
55aafa4
Add key size to cache element size
webmaster128 Jul 24, 2023
ca55814
Elaborate on size estimation
webmaster128 Jul 24, 2023
48cf9e8
Merge pull request #1782 from mina86/b
chipshort Jul 24, 2023
259d5e6
Use size_of_val for the checksum size
webmaster128 Jul 24, 2023
83364ab
Merge pull request #1791 from CosmWasm/elaborate-on-cache-entry-size
webmaster128 Jul 25, 2023
fdfd37c
Upgrade Wasmer to 4.1.0
webmaster128 Jul 26, 2023
6849aac
Merge pull request #1793 from CosmWasm/wasmer-4.1
webmaster128 Jul 26, 2023
cdfd25d
Replace parity-wasm with wasmparser
chipshort Jul 19, 2023
b63b3a2
Fix tests
chipshort Jul 19, 2023
7eea2db
Fix contract lock files
chipshort Jul 20, 2023
f3a234a
Fix lint
chipshort Jul 20, 2023
d09523d
Validate function bodies
chipshort Jul 20, 2023
6bd9a8f
Refactor wasm validation
chipshort Jul 20, 2023
749586f
Adjust WasmFeatures for validation
chipshort Jul 20, 2023
bc7cd91
Reuse validator allocations
chipshort Jul 24, 2023
c23482f
Parse and validate wasm before static analysis
chipshort Jul 24, 2023
18faa26
Fix review comments
chipshort Jul 25, 2023
55cfdf1
Add changelog entry
chipshort Jul 26, 2023
3cdb420
Merge pull request #1786 from CosmWasm/1735-wasmparser
chipshort Jul 26, 2023
3c04c6a
Export missing query responses
chipshort Jul 26, 2023
1c84481
Export all types in query module
chipshort Jul 26, 2023
9c94a88
Reduce feature gates for queries
chipshort Jul 26, 2023
17c060d
Merge pull request #1795 from CosmWasm/export-responses
chipshort Jul 26, 2023
a908ba8
Add changelog entry
chipshort Jul 26, 2023
d36a571
Merge pull request #1796 from CosmWasm/release_1_3_1
chipshort Jul 26, 2023
9687af4
Set version: 1.3.1
chipshort Jul 26, 2023
025b7dc
Merge branch 'release/1.3' into merge-1-3
chipshort Jul 26, 2023
89f750e
Merge pull request #1797 from CosmWasm/merge-1-3
chipshort Jul 26, 2023
0785c0b
Implement Not for all integers
chipshort Jul 26, 2023
7b68997
Add tests for Not impl
chipshort Jul 27, 2023
e2a1458
Add changelog entry for Not impl
chipshort Jul 27, 2023
2dfe895
Merge pull request #1799 from CosmWasm/1754-not-impl
chipshort Jul 27, 2023
512e3f6
Upgrade k256 to 0.13.1
chipshort Jul 27, 2023
57e5da2
Update packages/std/src/testing/assertions.rs
mina86 Jul 27, 2023
91a0e5b
update docs
mina86 Jul 27, 2023
ae9cfb9
Merge remote-tracking branch 'up/main' into HEAD
mina86 Jul 27, 2023
c5f1cbc
Fix crypto benches
chipshort Jul 27, 2023
10d2fa7
Test both long and short width for integer padding
webmaster128 Jul 27, 2023
c8491b8
Merge pull request #1802 from CosmWasm/improve-padding-test-coverage
webmaster128 Jul 27, 2023
ed2d3f2
Upgrade bnum to 0.8.0
chipshort Jul 27, 2023
2459730
Merge pull request #1801 from CosmWasm/1790-remove-workaround
chipshort Jul 27, 2023
186a50c
Merge pull request #1784 from mina86/a
chipshort Jul 27, 2023
1cee2df
Avoid unwrapping recovery ID
webmaster128 Jul 27, 2023
d95543f
Merge pull request #1803 from CosmWasm/avoid-unwrap-secp256k1_recover…
chipshort Jul 28, 2023
d5eaa62
Merge pull request #1800 from CosmWasm/1789-upgrade-k256
chipshort Jul 31, 2023
56d4cb1
Start working on go code generator
chipshort Aug 1, 2023
7b46702
Improve go generator
chipshort Aug 2, 2023
2c84cee
Refactor codegen into own module
chipshort Aug 2, 2023
8d4f156
Use indenter to format go code
chipshort Aug 2, 2023
6a5f3f2
Cleanup
chipshort Aug 3, 2023
7af6cc0
Start enum type generation
chipshort Aug 3, 2023
4546e33
Fix struct indenting
chipshort Aug 3, 2023
0dea8c0
Allow generating go code from enums
chipshort Aug 3, 2023
249d5c3
Enable all cosmwasm features for go generator
chipshort Aug 3, 2023
ca122c3
Use iterator
chipshort Aug 3, 2023
126562b
Fail if no type generated
chipshort Aug 3, 2023
376ab1b
Refactor
chipshort Aug 3, 2023
591b198
Improve readme
chipshort Aug 3, 2023
3248b5b
Fix wasm_execute docs
chipshort Aug 14, 2023
fa4725c
Fix Validator struct docs
chipshort Aug 14, 2023
972c9a0
Add docs about label validation
chipshort Aug 14, 2023
521cf04
Update schema
chipshort Aug 14, 2023
9895b97
Fix typo
chipshort Aug 14, 2023
7b9baae
Merge pull request #1811 from CosmWasm/fix-docs
webmaster128 Aug 15, 2023
d40030d
Add missing error exports
chipshort Aug 14, 2023
87ec277
Add changelog entry for missing errors
chipshort Aug 15, 2023
2150dfd
Set version: 1.3.2
chipshort Aug 15, 2023
65617ca
Merge pull request #1816 from CosmWasm/release-1-3-2
chipshort Aug 15, 2023
5741162
feat: Provide native way to cast deps to empty
jawoznia Aug 14, 2023
cb4a6a6
Merge pull request #1813 from CosmWasm/cast_deps_to_empty
jawoznia Aug 15, 2023
0decbb2
Document usage of CosmWasm gas values
webmaster128 Aug 15, 2023
950db22
Merge pull request #1817 from CosmWasm/document-cosmwasm-gas
webmaster128 Aug 15, 2023
ec25a54
Implement IntoIterator for Coins
chipshort Aug 4, 2023
3b98fc3
Implement From<&Coin> for CoinRef
chipshort Aug 4, 2023
9f79447
Keep whole Coin struct in Coins helper
chipshort Aug 14, 2023
617d850
Merge branch 'release/1.3' into merge-1-3
chipshort Aug 16, 2023
87ed3a7
Fix Coins Display impl
chipshort Aug 14, 2023
1eafab9
Fix test
chipshort Aug 14, 2023
54fa676
Simplify coins formatting
chipshort Aug 15, 2023
f1776c0
Implement ExactSizeIterator for Coins iterators
chipshort Aug 15, 2023
b2460bb
Add changelog entry for Coins iterators
chipshort Aug 15, 2023
261cead
Apply suggestions from code review
chipshort Aug 15, 2023
9d1737d
Merge pull request #1806 from CosmWasm/1804-coin-iterator
chipshort Aug 16, 2023
c20cd6e
Merge pull request #1818 from CosmWasm/merge-1-3
chipshort Aug 16, 2023
ae4986e
Use doc comments
chipshort Aug 17, 2023
349f45a
Merge pull request #1820 from CosmWasm/doc-comments
chipshort Aug 17, 2023
98d2459
Document order of Coins::{to_vec, into_vec}
chipshort Aug 17, 2023
019be45
Merge pull request #1821 from CosmWasm/1809-document-order
chipshort Aug 17, 2023
60e6693
Replace acronyms
chipshort Aug 21, 2023
8dbbad3
Add test cases for all responses and queries
chipshort Aug 21, 2023
9cc4030
Constify Decimal/Decimal256 constructors
webmaster128 Aug 21, 2023
4923079
Merge pull request #1824 from CosmWasm/constify-decimal-constructors
webmaster128 Aug 22, 2023
550416f
Remove extra brackets
webmaster128 Aug 22, 2023
928f70b
Make ten constant const
webmaster128 Aug 22, 2023
3e01c3b
Add missing newline
chipshort Aug 22, 2023
ebb3785
Merge pull request #1827 from CosmWasm/use-const-ten
webmaster128 Aug 22, 2023
6877bb3
Fix acronym replacement
chipshort Aug 22, 2023
c966495
Improve docs of Validator::address
webmaster128 Aug 22, 2023
00ff6a5
feat: Provide native way to cast deps to empty
jawoznia Aug 14, 2023
943cdbf
Set version: 1.3.3
chipshort Aug 22, 2023
7cb25b4
Update changelog
chipshort Aug 22, 2023
8b2e4c8
Merge branch 'main' into merge-1-3
chipshort Aug 22, 2023
c16d31a
Merge pull request #1829 from CosmWasm/merge-1-3
webmaster128 Aug 22, 2023
0688df7
Make abs_diff const for all integers
webmaster128 Aug 22, 2023
2543067
Merge pull request #1831 from CosmWasm/abs-diff-const
webmaster128 Aug 22, 2023
03e3d46
Add TryFrom<Decimal256> impl for Decimal
chipshort Aug 23, 2023
d2ce7e0
Merge pull request #1832 from CosmWasm/1825-decimal-conversion
webmaster128 Aug 23, 2023
fb2e664
Merge pull request #1830 from CosmWasm/improve-Validator-address-docs
webmaster128 Aug 23, 2023
e88a0e6
Refactor AcknowledgementMsg in ibc-reflect and ibc-reflect-send
webmaster128 Aug 23, 2023
f28adbe
Add AcknowledgementMsgs to ibc-reflect-send schemas
webmaster128 Aug 23, 2023
b959315
Move ibc protocol to ibc subfolder
webmaster128 Aug 23, 2023
793bc1c
Rename AcknowledgementMsg::Err to ::Error
webmaster128 Aug 23, 2023
f0ab9bb
Merge pull request #1833 from CosmWasm/refactor-acknowledgement-msg
webmaster128 Aug 23, 2023
d6c0644
Add next_key and next_value to Storage trait
chipshort Aug 23, 2023
aef3f74
Add StdAck
webmaster128 Aug 23, 2023
4df0e34
Rename to StdAck::Success
webmaster128 Aug 23, 2023
94d0eea
Improve some docs around StdAck -> Binary conversion
webmaster128 Aug 23, 2023
c151a84
Merge pull request #1637 from CosmWasm/upstream-stdack
webmaster128 Aug 23, 2023
b11b89b
Add db_next_key and db_next_value imports to vm
chipshort Aug 23, 2023
d01f1b7
Add db_next_key and db_next_value imports to std
chipshort Aug 23, 2023
06066d3
Apply suggestions from code review
chipshort Aug 24, 2023
4c68932
cargo fmt
chipshort Aug 24, 2023
d2db5ed
Remove unnecessary capability
chipshort Aug 24, 2023
b92782b
Return null pointer when no more elements
chipshort Aug 24, 2023
05ece0b
Merge pull request #1805 from CosmWasm/go-codegen
webmaster128 Aug 24, 2023
7ee3ebf
Implement range_{keys, values} using new imports
chipshort Aug 24, 2023
28459fa
Use range_keys in burner contract
chipshort Aug 25, 2023
00730d8
Add changelog entry
chipshort Aug 28, 2023
4f68dd7
Fix changelog
chipshort Aug 28, 2023
1002245
Merge branch 'main' into 1498-key-only-iteration
chipshort Aug 28, 2023
f541c2b
Merge pull request #1834 from CosmWasm/1498-key-only-iteration
chipshort Aug 28, 2023
ab08351
Fix dead links / syntax
maurolacy Aug 28, 2023
ebf8c08
Update schema files
maurolacy Aug 28, 2023
b7a6d1a
Update to latest wasmer 4.1.x (4.1.2)
maurolacy Aug 28, 2023
23b3dfc
Update lock files
maurolacy Aug 28, 2023
85b5f24
Add changelog entry
chipshort Aug 28, 2023
e24ff62
Revert "Add changelog entry"
chipshort Aug 28, 2023
11cf89c
Impl nth for External(Partial)Iterator
chipshort Aug 28, 2023
8e4907a
Add changelog entry
chipshort Aug 28, 2023
f8f9598
Merge pull request #1838 from CosmWasm/1725-skip-iterator
chipshort Aug 29, 2023
495b5ae
Add optional delete field to burner migrate msg
chipshort Aug 29, 2023
569c366
Apply review feedback
chipshort Aug 29, 2023
f42f830
Use range_{keys, values} in queue contract
chipshort Aug 29, 2023
13efddc
Merge pull request #1840 from CosmWasm/queue-range-optimize
chipshort Aug 29, 2023
3a962cc
Refactor
chipshort Aug 29, 2023
0d9770a
Merge pull request #1839 from CosmWasm/1783-burner-contract
chipshort Aug 29, 2023
435edd9
Rename variable _gas_remaining -> _info
webmaster128 Aug 29, 2023
6a12dc2
Merge pull request #1842 from CosmWasm/rename-_gas_remaining
webmaster128 Aug 29, 2023
39da0b2
Upgrade clippy to 1.72.0 and adapt codebase
webmaster128 Aug 29, 2023
5b39dc1
Merge pull request #1843 from CosmWasm/clippy-1.72.0
chipshort Aug 29, 2023
f5844bd
Fix go-gen dependency version
chipshort Aug 29, 2023
e86c4d5
Set version: 1.4.0-beta.1
chipshort Aug 29, 2023
7424634
Update changelog
chipshort Aug 29, 2023
1dc5552
Merge pull request #1844 from CosmWasm/release-1-4-0-beta
chipshort Aug 29, 2023
b8f4777
Add cosmwasm_1_4 feature
chipshort Jul 21, 2023
77dd1c0
Add DelegationRewards query
chipshort Jul 21, 2023
ace26ab
Add DelegationTotalRewards query
chipshort Jul 21, 2023
0fc4bb3
Fix mock
chipshort Jul 21, 2023
5fde07a
Disable clippy lint
chipshort Jul 24, 2023
60dae3a
Link to protobuf files instead of generated code
chipshort Jul 25, 2023
306ea20
Add DelegatorValidators query
chipshort Jul 25, 2023
fbea4b8
Add cosmwasm_1_4 capability
chipshort Jul 25, 2023
8480348
Add tests for new distribution querier mocks
chipshort Jul 25, 2023
3210d26
Fix build
chipshort Jul 26, 2023
09d9a61
Use cosmwasm_1_4 feature in ci
chipshort Jul 26, 2023
e063fae
Add cosmwasm_1_4 export
chipshort Jul 26, 2023
52910b6
Add cosmwasm_1_4 capability docs
chipshort Jul 26, 2023
16ff40b
Enable cosmwasm_1_4 feature in go-gen
chipshort Aug 25, 2023
f493901
Add new query responses to go-gen tests
chipshort Aug 25, 2023
75bc92c
Fix DecCoin::amount
chipshort Aug 28, 2023
8193b2d
Add suggested DecCoin docs
chipshort Aug 28, 2023
8ebbaf3
Update cosmwasm_1_4 feature description
chipshort Aug 28, 2023
26d4956
Fix missing new line
chipshort Aug 30, 2023
ea4a20b
Add changelog entry
chipshort Aug 30, 2023
8d8901f
Merge pull request #1788 from CosmWasm/1154-delegation-queries
chipshort Aug 30, 2023
e3a17d1
Add must_use to Instance::recycle
webmaster128 Aug 30, 2023
c6a373c
Set version: 1.4.0-rc.1
chipshort Aug 30, 2023
4ed28b1
Update changelog
chipshort Aug 30, 2023
f8b64d4
Format changelog
chipshort Aug 30, 2023
e4ca164
Merge pull request #1846 from CosmWasm/must_use-recycle
webmaster128 Aug 30, 2023
22a923a
Update doc links
webmaster128 Aug 30, 2023
f9300b4
Add Int64/Int128/Int256/Int512 to MESSAGE_TYPES
webmaster128 Aug 30, 2023
ca2c7ed
Merge pull request #1848 from CosmWasm/doc-signed-ints
webmaster128 Aug 30, 2023
51bd8ea
Remove custom rustfmt.toml files from contracts
webmaster128 Aug 31, 2023
677b3fb
Enable cosmwasm_1_4 for reflect contract
chipshort Sep 1, 2023
4b45ed5
Update schema
chipshort Sep 1, 2023
6b03b02
Merge pull request #1850 from CosmWasm/rm-rustfmt
chipshort Sep 1, 2023
17b7dcc
Merge pull request #1851 from CosmWasm/reflect-enable-1-4
chipshort Sep 1, 2023
2ab4f01
Add migrating docs for 1.4
chipshort Sep 1, 2023
30744f2
Merge pull request #1852 from CosmWasm/1847-migrate-1-4-entry
webmaster128 Sep 4, 2023
76aa8d8
Set version: 1.4.0
chipshort Sep 4, 2023
f11b456
Update changelog
chipshort Sep 4, 2023
79abfdd
Merge tag 'v1.4.0' into bump/v1.4.0
da1suk8 Nov 8, 2023
06ab955
chore: fix schema
da1suk8 Nov 8, 2023
e43cc7a
fix: correct because the function was changed
da1suk8 Nov 8, 2023
51f7a3b
fix: modify according to the changes in https://github.com/CosmWasm/c…
da1suk8 Nov 8, 2023
694f741
fix: modify according to the changes in https://github.com/CosmWasm/c…
da1suk8 Nov 8, 2023
f97f4d1
fix: fix test
da1suk8 Nov 8, 2023
1812811
ci: change default rust toolchain from 1.60.0 to 1.67.0
da1suk8 Nov 8, 2023
aaa16b7
chore: fix schema of hackatom
da1suk8 Nov 8, 2023
acf0d93
fix: delete schema generator of cosmwasm-std
da1suk8 Nov 8, 2023
6bc3424
ci: change default rust toolchain from 1.67.0 to 1.70.0 of cosmwasm-vm
da1suk8 Nov 8, 2023
02a2d69
fix: checge get_local to local.get and convert_u/i32 to convert_i32_u
da1suk8 Nov 8, 2023
1dc3259
fix: modify to manually manage storage instead of cosmwasm-storage
da1suk8 Nov 16, 2023
625f980
fix: fix cargo clippy
da1suk8 Nov 16, 2023
70c93d3
fix: fix cargo clippy
da1suk8 Nov 16, 2023
811bc7c
fix: modify to conform to the specifications of the engine
da1suk8 Nov 30, 2023
8a44846
chore: update the version of rust-optimizer from 0.12.9 to 0.12.13
da1suk8 Nov 30, 2023
28a1dce
ci: change default rust toolchain from 1.67.0 to 1.70.0
da1suk8 Dec 6, 2023
1876304
chore: fix schema
da1suk8 Dec 6, 2023
cfe1074
fix: reflect comment
da1suk8 Dec 7, 2023
a64c0cc
fix: reflect comment
da1suk8 Dec 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.70.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v3
with:
path: ~/.cargo
key: cargocache-v2-benchmarking-rust:1.60.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-benchmarking-rust:1.70.0-{{ checksum "Cargo.lock" }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Run vm benchmarks (Singlepass)
Expand All @@ -51,15 +51,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.70.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v3
with:
path: ~/.cargo
key: cargocache-v2-package_crypto-rust:1.60.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_crypto-rust:1.70.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
Expand All @@ -80,15 +80,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.70.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v3
with:
path: ~/.cargo
key: cargocache-v2-package_vm-rust:1.60.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_vm-rust:1.70.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.70.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.70.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down Expand Up @@ -51,13 +51,13 @@ jobs:
if: ${{ steps.get_version.outputs.version != steps.get_latest_tag.outputs.tag }}
run: |
echo "Building all contracts under ./contracts"
docker run --volumes-from with_code cosmwasm/rust-optimizer:0.12.9 ./contracts/*/
docker run --volumes-from with_code cosmwasm/rust-optimizer:0.12.13 ./contracts/*/
- name: Check development contracts
if: ${{ steps.get_version.outputs.version != steps.get_latest_tag.outputs.tag }}
working-directory: ./
run: |
echo "Checking all contracts under ./artifacts"
docker run --volumes-from with_code rust:1.60.0 /bin/bash -e -c 'cd ./code/packages/check; export GLOBIGNORE=../../artifacts/floaty.wasm; cargo run ../../artifacts/*.wasm'
docker run --volumes-from with_code rust:1.70.0 /bin/bash -e -c 'cd ./code/packages/check; export GLOBIGNORE=../../artifacts/floaty.wasm; cargo run ../../artifacts/*.wasm'
docker cp with_code:/code/artifacts .

- name: Create Release
Expand Down
Loading
Loading