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: merge original version 0.16.3 #148

Merged
merged 501 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
501 commits
Select commit Hold shift + click to select a range
768ebf6
typo
uint Jul 13, 2021
2704592
Merge pull request #999 from CosmWasm/cleanup-native_
webmaster128 Jul 14, 2021
290318b
Typo in IBC.md
uint Jul 14, 2021
ff5ab38
Make mock_ibc_{channel, packet} private
uint Jul 14, 2021
e74e905
Change new release version to 0.16
uint Jul 14, 2021
82b6c2c
Merge pull request #996 from CosmWasm/update-ibc-types
webmaster128 Jul 14, 2021
db0a935
Add custom events to IBC response types
uint Jul 14, 2021
64b5001
Add the cosmwasm-* version changes to MIGRATING.md
webmaster128 Jul 14, 2021
effb562
Merge pull request #1002 from CosmWasm/migrating-cosmwasm-versions
webmaster128 Jul 14, 2021
75835f0
Update IBC contracts
uint Jul 14, 2021
bcf6b58
Test the new events field in IBC response types
uint Jul 14, 2021
bc285e5
Merge pull request #1001 from CosmWasm/ibc-response-custom-events
webmaster128 Jul 14, 2021
f8d4394
attr construction should panic for reserved names
uint Jul 14, 2021
02adf91
type in packages/std/src/results/attribute.rs
uint Jul 14, 2021
1258ea2
Merge pull request #1004 from CosmWasm/reserve-underscore-attr-keys
webmaster128 Jul 14, 2021
fb6283c
Collect Attribute and Event in events.rs
webmaster128 Jul 14, 2021
9f1d772
Merge pull request #1005 from CosmWasm/events.rs
webmaster128 Jul 14, 2021
1df3bfb
cargo update
maurolacy Jul 15, 2021
cec2bcb
Update to latest k256 v0.9.4
maurolacy Jul 15, 2021
5ebccd4
Update Cargo.lock
maurolacy Jul 15, 2021
c03a22e
Fix deprecation warning in benches
maurolacy Jul 15, 2021
41ee435
Update contract lock files
maurolacy Jul 15, 2021
91e38d4
Merge pull request #1006 from CosmWasm/crypto-update-k256-version
webmaster128 Jul 15, 2021
eb26893
Move counterparty_version to IbcChannelOpenMsg
uint Jul 14, 2021
455b49a
Diff between the 6 different IBC entry points
uint Jul 15, 2021
429ca60
Update contracts
uint Jul 15, 2021
8bc7ae9
Fix clippy +1.53.0 warnings
maurolacy Jul 16, 2021
d797d6e
Add changelog entry for to_hex() change
maurolacy Jul 16, 2021
96a1f88
Merge pull request #1013 from CosmWasm/fix-clippy-warnings-local
webmaster128 Jul 16, 2021
f28520d
style
uint Jul 19, 2021
71ead80
Update vm test contracts
uint Jul 19, 2021
c9d8088
Update docs re IBC channel entrypoint changes
uint Jul 19, 2021
ed2f744
Update docs
uint Jul 19, 2021
d1256a4
Merge pull request #1008 from CosmWasm/different-channel-types
webmaster128 Jul 19, 2021
87b905f
Set version: 0.16.0-rc1
uint Jul 19, 2021
17693a6
Update NOTICE file
webmaster128 Jul 20, 2021
442c5d6
Export GovMsg
uint Jul 20, 2021
63905b1
Make IBC Msg types serialize as snake case
uint Jul 20, 2021
eac0242
CHANGELOG update
uint Jul 20, 2021
ba16920
Merge pull request #1016 from CosmWasm/fix-govmsg-missing
webmaster128 Jul 20, 2021
0831c14
Merge pull request #1015 from CosmWasm/update-license
ethanfrey Jul 20, 2021
b7e568e
Merge pull request #1017 from CosmWasm/ibc-msg-snake-case
webmaster128 Jul 20, 2021
44010d7
Set version: 0.15.1
uint Jul 20, 2021
d31d13a
Merge branch '0.15'
uint Jul 20, 2021
68c6aec
Set version: 0.16.0-rc2
uint Jul 20, 2021
7151583
Export VoteOption
giansalex Jul 20, 2021
6ba2262
Run format on std
giansalex Jul 20, 2021
8202901
Builder-esque pattern for Response
uint Jul 21, 2021
d13b440
Revert "Builder-esque pattern for Response" (oops)
uint Jul 21, 2021
15b4e80
CHANGELOG update
giansalex Jul 21, 2021
b651abc
Merge pull request #1018 from giansalex/fix-voteoption-missing
uint Jul 21, 2021
924ebe8
Set version: 0.15.2
uint Jul 21, 2021
92be20d
CHANGELOG update - 0.15.2
uint Jul 21, 2021
2bf3bd5
Merge branch '0.15'
uint Jul 21, 2021
a4752c2
Fix CHANGELOG
uint Jul 21, 2021
f86a62a
Set version: 0.16.0-rc3
uint Jul 21, 2021
839feab
Use _contract_address rather than contract_address
ethanfrey Jul 22, 2021
7e9f00b
Rebuild vm test contracts
ethanfrey Jul 22, 2021
29e64ab
Update event attributes for test (_contract_address)
ethanfrey Jul 22, 2021
a7273d2
Fix compiler errors
ethanfrey Jul 22, 2021
207b0ac
Add mock_wasmd_attr helper
ethanfrey Jul 22, 2021
9e366f1
Merge pull request #1023 from CosmWasm/1022-rename-_contract_address
ethanfrey Jul 22, 2021
2b01441
cosmwasm-std: Rename IbcAcknowledgementWithPacket -> IbcPacketAckMsg
ethanfrey Jul 22, 2021
91e7a16
Update ibc-reflect-send contract
ethanfrey Jul 22, 2021
f8516c9
Update test contract for vm
ethanfrey Jul 22, 2021
b53ed48
Update CHANGELOG and MIGRATING
ethanfrey Jul 22, 2021
db7cea8
Fixed integration tests
ethanfrey Jul 22, 2021
0a85df0
Merge pull request #1024 from CosmWasm/1021-simplify-ibc-packet-ack-msg
uint Jul 22, 2021
6c92447
Set version: 0.16.0-rc4
uint Jul 22, 2021
6346db5
Response: builder pattern instead of literals
uint Jul 22, 2021
648f0b6
Handy traits for Attribute
uint Jul 22, 2021
1b3133b
Make Response::add_attribute more flexible
uint Jul 22, 2021
5ee348e
cargo fmt
uint Jul 22, 2021
ab2629d
Add bulk setters for Response
uint Jul 26, 2021
402e328
Update contracts
uint Jul 26, 2021
5eee387
Docs update
uint Jul 26, 2021
582380a
Switch back to `add_attribute` accepting 2 params
uint Jul 26, 2021
390c12a
Improve docs
uint Jul 26, 2021
c1a34f1
style
uint Jul 26, 2021
2b23022
Apply the new "builder" pattern to IBC responses
uint Jul 26, 2021
b16db90
Make `Event` non_exhaustive
uint Jul 26, 2021
4eb9c7c
CHANGELOG update
uint Jul 26, 2021
f1ce08c
Merge pull request #1025 from CosmWasm/response-builder2
uint Jul 26, 2021
64f4fe5
Make IBC Msgs non_exhaustive
uint Jul 26, 2021
6478891
Mark IbcAcknowledgement non_exhaustive
uint Jul 26, 2021
f67d466
Mark IbcChannel and IbcPacket as non_exhaustive
uint Jul 26, 2021
39d2060
Make `mock_ibc_channel` public again
uint Jul 27, 2021
d672cdc
CHANGELOG update
uint Jul 27, 2021
da0a20e
Update MIGRATING
uint Jul 27, 2021
22e0185
Merge branch 'main' into events-builder
uint Jul 27, 2021
92c02ff
Add constructors for IbcChannel and IbcPacket
uint Jul 27, 2021
3ce4511
Refactor event construction test
uint Jul 27, 2021
e696a1d
Merge pull request #1026 from CosmWasm/events-builder
uint Jul 27, 2021
4817c83
Set version: 0.16.0-rc5
uint Jul 27, 2021
1e1eec1
fix a typo
loloicci Jul 28, 2021
ee2aa82
execute cargo schema in some contracts
loloicci Jul 28, 2021
be6986c
Merge pull request #1027 from loloicci/patch-1
uint Jul 28, 2021
3733d06
Make sure all features are enabled for docs.rs
uint Jul 28, 2021
1877efc
Improve events documentation
uint Jul 28, 2021
06c6f52
Fix broken docs link
uint Jul 28, 2021
e0c08eb
Disable `backtraces` feature in docs builds
uint Jul 28, 2021
108fc24
update schemas
uint Jul 28, 2021
312b31c
Fully removed all generic implementations of Into<String>, and some o…
lukerhoads Jul 29, 2021
9853006
Resolve merge conflict
lukerhoads Jul 29, 2021
ace2c36
Remove merge conflict #2 im rlly stupid
lukerhoads Jul 29, 2021
e716d24
Pulled from main, I just realized
lukerhoads Jul 29, 2021
4c69f41
Merge pull request #1032 from CosmWasm/docs-update
uint Jul 29, 2021
ef56646
Got all of them (I think)
lukerhoads Jul 29, 2021
fbba526
Fixed links to other CosmWasm projects
ethanfrey Jul 29, 2021
9a7d15a
Improved the "Creating a Smart Contract" section
ethanfrey Jul 29, 2021
0462e86
Update Wasm entry points
ethanfrey Jul 29, 2021
0a2368e
Update Rust entry points
ethanfrey Jul 29, 2021
49e9e3f
Added `into_string` function to `Addr`
hashedone Jul 29, 2021
2c9ecef
Merge pull request #1034 from CosmWasm/addr-into-inner
hashedone Jul 29, 2021
85c959c
Merge branch 'main' into reformat-generics
lukerhoads Jul 29, 2021
42ebbef
Removed the final ones
lukerhoads Jul 29, 2021
5df1252
Removed all of them!!!!
lukerhoads Jul 29, 2021
0e98314
Fixed formatting
lukerhoads Jul 29, 2021
4ed505d
Fixed the return type things... idk why they aren't working
lukerhoads Jul 29, 2021
75bfd00
Format
lukerhoads Jul 29, 2021
8f972e2
Thanks for the tip, forgot abt cargo fmt :)
lukerhoads Jul 29, 2021
579dbfe
Merge pull request #1033 from lukerhoads/reformat-generics
uint Jul 30, 2021
e4ad87d
Merge pull request #1035 from CosmWasm/update-readme
webmaster128 Aug 2, 2021
703b874
Document Minimum Supported Rust Version (MSRV)
webmaster128 Aug 2, 2021
051c618
Turn bullet points into real sentences
webmaster128 Aug 2, 2021
b26ed56
Merge pull request #1038 from CosmWasm/document-msrv
webmaster128 Aug 2, 2021
f7f4b85
Implement exported_function_names for both Wasmer and parity
webmaster128 Aug 3, 2021
33e3add
Use exported_function_names in required_features_from_module
webmaster128 Aug 3, 2021
0110c78
Inline required_features_from_wasmer_instance
webmaster128 Aug 3, 2021
6715af9
Change Instance::required_features
webmaster128 Aug 3, 2021
f3a3f7b
Add required_features field to AnalysisReport
webmaster128 Aug 3, 2021
eb54b53
Merge pull request #1039 from CosmWasm/improve-export-scanning
webmaster128 Aug 4, 2021
ac25bdb
Pull out check_interface_version check
webmaster128 Aug 4, 2021
ad4d5c3
Remove too old test contract
webmaster128 Aug 4, 2021
32fda1f
Update compatibility table for CosmWasm 0.16
webmaster128 Aug 4, 2021
d018775
Pull out INTERFACE_VERSION_PREFIX and SUPPORTED_INTERFACE_VERSION
webmaster128 Aug 4, 2021
79a7595
Remove misleading hint from error message
webmaster128 Aug 4, 2021
d33a3af
Switch to loupe to estimate the module size in bytes
maurolacy Aug 4, 2021
4be12cc
Add loupe to module_size reporting
maurolacy Aug 4, 2021
1e81939
Add clarifying comment
maurolacy Aug 4, 2021
c1dec35
Fix clippy warning
maurolacy Aug 4, 2021
2cd5fe7
Move module_size out of fs_cache
maurolacy Aug 4, 2021
25b08d0
Add test check_interface_version_works
webmaster128 Aug 4, 2021
b8072de
Avoid unnecessary vector when working with iterator
webmaster128 Aug 4, 2021
f7171f5
Merge pull request #1041 from CosmWasm/module_size-loupe
webmaster128 Aug 4, 2021
ac25028
Merge pull request #1040 from CosmWasm/interface_version_strictness
webmaster128 Aug 4, 2021
67c69f9
Set version: 0.16.0-rc6
webmaster128 Aug 4, 2021
c149378
Set version: 0.16.0
webmaster128 Aug 5, 2021
992012d
Add `From` conversions for `Cow<Addr>`
uint Aug 10, 2021
31cf5f9
Merge pull request #1045 from CosmWasm/cow-addr-conversions
uint Aug 10, 2021
6650cba
Parse contract address from instantiate event, not message event
ethanfrey Aug 10, 2021
82dd0df
Fix linting error
ethanfrey Aug 10, 2021
031c3fb
Rebuild ibc-reflect test contract
ethanfrey Aug 11, 2021
36f60b0
Merge pull request #1046 from CosmWasm/fix-ibc-contract-event-parsing
uint Aug 11, 2021
adb76f3
fix a test for std with backtraces
loloicci Aug 12, 2021
8582549
execute cargo fmt
loloicci Aug 12, 2021
ec727d1
Merge pull request #1048 from loloicci/fix-test-backtraces
uint Aug 12, 2021
ae7be5f
Run multiple clippy jobs in CI
webmaster128 Aug 24, 2021
ecc4edc
Use config version 2.1
webmaster128 Aug 24, 2021
9aaa793
Fix needless borrow warnings
webmaster128 Aug 24, 2021
be39818
Merge pull request #1055 from CosmWasm/multiple-clippy-jobs
webmaster128 Aug 24, 2021
1cf7567
Don't pass too long input to VM in addr_validate/addr_canonicalize
webmaster128 Aug 5, 2021
9d68ac2
Implement Isqrt for Uint128
uint Aug 27, 2021
ee4ba68
Implement Isqrt for Uint64
uint Aug 27, 2021
b1f0b38
Implement Uint256
uint Aug 27, 2021
0cecd60
Expose Uint128::full_mul with a Uint256 result
uint Aug 30, 2021
946eb9e
Add a big number test for Uint256::isqrt()
uint Aug 30, 2021
2512ac8
Fix Uint256::try_from(&str) to expect dec values
uint Aug 30, 2021
259a8a3
More idiomatic names for Uint256 constructors
uint Aug 30, 2021
122c49b
Simplify Uint256::Shr implementations
uint Aug 30, 2021
9727bf6
Test endianness of Uint256
uint Aug 30, 2021
5509062
Fix uint256 shr tests
uint Aug 30, 2021
98b9fa1
Export ConversionOverflowError
uint Aug 30, 2021
726ae0c
Docs and CHANGELOG
uint Aug 30, 2021
82d6fb9
Implement Uint256::checked_shr
uint Aug 30, 2021
de98232
Format .md files
uint Aug 30, 2021
d032dfc
Merge pull request #1059 from CosmWasm/isqrt-for-uint128-uint256
webmaster128 Aug 30, 2021
7d1407a
Merge pull request #1057 from CosmWasm/dont-pass-long-input-to-vm-0.16
webmaster128 Aug 30, 2021
1c47a00
Expose Uint64::full_mul
uint Aug 30, 2021
359245b
Implement Uint512
uint Aug 30, 2021
510d058
Implement Uint256::full_mul
uint Aug 30, 2021
a53e42e
Merge pull request #1062 from CosmWasm/uint-type-improvements
uint Aug 31, 2021
c780f74
Set version: 0.16.1
uint Aug 31, 2021
bfa5775
CHANGELOG update
uint Aug 31, 2021
2f30b5d
Test Uint{128,256,64}::multiply_ratio with large inputs
webmaster128 Aug 31, 2021
092ea4e
Merge pull request #1063 from CosmWasm/update-multiply_ratio-testing
uint Aug 31, 2021
4c0f35a
Implement `Decimal::from_ratio` using full multiplication
webmaster128 Aug 31, 2021
e27c48a
Merge pull request #1064 from CosmWasm/fix-decimal-from_ratio
uint Aug 31, 2021
5f24578
Make Decimal hold a Uint128 internally
uint Aug 31, 2021
305e698
Fix clippy
uint Sep 1, 2021
c35885a
style (suggestions from code review)
uint Sep 1, 2021
1811f05
Code comments
uint Sep 1, 2021
c92ac5b
Update CHANGELOG
uint Sep 1, 2021
c7ffc05
CHANGELOG update
uint Sep 1, 2021
a4ed308
style fixes for Uint*
uint Sep 1, 2021
2ad50d6
Update CHANGELOG
uint Sep 1, 2021
a0fff16
Merge pull request #1065 from CosmWasm/decimal256
uint Sep 1, 2021
8335878
Update dependency k256 to ^0.9.6
webmaster128 Sep 2, 2021
93961d9
Use rust-optimizer 0.12.1
webmaster128 Sep 2, 2021
7085568
Merge pull request #1068 from CosmWasm/update-k256
uint Sep 2, 2021
f00fafd
Add a test for Uint* Display padding
uint Sep 2, 2021
eb2284f
Fix the padding bug for Uint256 and Uint512
uint Sep 2, 2021
ff232e0
Merge pull request #1069 from CosmWasm/uint-padding-fix
uint Sep 2, 2021
f0fced5
Merge pull request #1070 from CosmWasm/update-rust-optmizer
webmaster128 Sep 3, 2021
c16f74c
Add CHANGELOG entry for OverflowOperation::Shr
webmaster128 Sep 3, 2021
3b4e615
Remove extra ` from CHANGELOG
webmaster128 Sep 3, 2021
0dddda6
Merge pull request #1073 from CosmWasm/changelog-fixes
webmaster128 Sep 6, 2021
d365955
Add Shl implementation
webmaster128 Sep 3, 2021
992eaf5
Make Uint256::from_le_bytes const
webmaster128 Sep 2, 2021
9d754e0
Make Uint256::from_be_bytes const
webmaster128 Sep 3, 2021
6a97909
Make Uint256::new const
webmaster128 Sep 3, 2021
e76043e
Improve Uint256::new docs
webmaster128 Sep 4, 2021
604e6af
Merge pull request #1071 from CosmWasm/const-constructors
webmaster128 Sep 6, 2021
d032c3d
Make FunctionDeterministic private
webmaster128 Sep 6, 2021
2bd42d4
Implement FunctionDeterministic::default()
webmaster128 Sep 6, 2021
22f6af7
Replace Deterministic::new with ::default
webmaster128 Sep 6, 2021
eed0e99
Add configurations to FunctionDeterministic
webmaster128 Sep 6, 2021
6cd960a
Pull out MIDDLEWARE_NAME
webmaster128 Sep 6, 2021
d3ac125
Make error message specific to floats
webmaster128 Sep 6, 2021
6067324
Rename Deterministic -> Gatekeeper
webmaster128 Sep 6, 2021
38835ea
Add note on Gatekeeper
webmaster128 Sep 6, 2021
26e4fcd
Pull out GatekeeperConfig
webmaster128 Sep 6, 2021
f00f4e3
Rename allow_float -> allow_floats
webmaster128 Sep 6, 2021
4dc1b92
Merge pull request #1074 from CosmWasm/middleware-readability
webmaster128 Sep 6, 2021
7cd3efc
Implement Decimal256
uint Sep 1, 2021
5415967
Fix some Decimal256 bugs
uint Sep 1, 2021
fe5157f
Fix Decimal256 tests
uint Sep 1, 2021
c89c79c
Update Decimal256 comments
uint Sep 1, 2021
e00b962
clippy
uint Sep 1, 2021
3a4c7f6
CHANGELOG update
uint Sep 1, 2021
c155d33
Add a comment about Decimal*::sqrt algorithm
uint Sep 2, 2021
6c4d53b
Define DECIMAL_PLACES as a const in Decimal*
uint Sep 2, 2021
23be43e
Decimal256: 18 decimal places + const fns
uint Sep 6, 2021
e493593
Decimal256: DECIMAL_FRACTIONAL* are now constants
uint Sep 6, 2021
89dc781
Update CHANGELOG
uint Sep 6, 2021
65dbffb
Apply suggestions from code review
uint Sep 7, 2021
2aa7a61
Fix CHANGELOG
uint Sep 7, 2021
8907d4a
Merge pull request #1067 from CosmWasm/decimal256
uint Sep 7, 2021
623118a
Set version: 0.16.2
uint Sep 7, 2021
93ea53e
CHANGELOG - new release
uint Sep 7, 2021
a3de3ac
feat: Merge branch 'cosmwasm-0-16-2' into versionup-work
loloicci Dec 13, 2021
edcc939
fix: update voting-with-uuid
loloicci Dec 14, 2021
338cf5c
fix: update rust version for git workflow
loloicci Dec 20, 2021
592b8cc
chore: update reflect contract schema
loloicci Dec 22, 2021
f97b8d0
chore: formating
loloicci Dec 22, 2021
c503ec7
chore: cargo clippy
loloicci Dec 22, 2021
9c09778
chore: cargo fmt for #147
loloicci Dec 22, 2021
45de8b7
fix: fix crypt bench
loloicci Feb 1, 2022
032a7aa
fix: update github workflow's rust optimizer
loloicci Feb 1, 2022
811d14d
feat: pin dependent uint version 0.9.1
loloicci Feb 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.50.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-benchmarking-rust:1.50.0-{{ checksum "Cargo.lock" }}
key: cargocache-v2-benchmarking-rust:1.57.0-{{ checksum "Cargo.lock" }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Run vm benchmarks (Singlepass)
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.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [closed]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -20,10 +20,10 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
override: true
- name: Get version
id: get_version
run: |
Expand All @@ -37,7 +37,6 @@ jobs:
with:
version: ${{ steps.get_version.outputs.version }}
git_tag_prefix: v

- name: Create new tag
run: |
if [ -z "${{ steps.get_version.outputs.version }}" ]; then
brew0722 marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -57,12 +56,12 @@ jobs:
- name: Build development contracts
run: |
echo "Building all contracts under ./contracts"
docker run --volumes-from with_code cosmwasm/rust-optimizer:0.11.0 ./contracts/*/
docker run --volumes-from with_code cosmwasm/rust-optimizer:0.12.1 ./contracts/*/
- name: Check development contracts
working-directory: ./
run: |
echo "Checking all contracts under ./artifacts"
docker run --volumes-from with_code rust:1.51.0 /bin/bash -e -c 'cd ./code/packages/vm; ./examples/check_contract.sh ../../artifacts/*.wasm'
docker run --volumes-from with_code rust:1.54.0 /bin/bash -e -c 'cd ./code/packages/vm; ./examples/check_contract.sh ../../artifacts/*.wasm'
docker cp with_code:/code/artifacts .
- name: Create Release
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_crypto-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_crypto-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
Expand All @@ -48,15 +48,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_schema-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_schema-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
Expand All @@ -77,15 +77,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_std-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_std-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -130,15 +130,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_storage-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_storage-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build library for native target
Expand All @@ -162,15 +162,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_vm-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-package_vm-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
Expand All @@ -197,15 +197,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_burner-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_burner-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -243,15 +243,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_crypto_verify-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_crypto_verify-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -289,15 +289,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-hackatom_verify-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-hackatom_verify-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -335,15 +335,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_ibc_reflect-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_ibc_reflect-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -381,15 +381,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_ibc_reflect_send-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_ibc_reflect_send-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -427,15 +427,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_queue-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_queue-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -473,15 +473,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_reflect-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_reflect-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -519,15 +519,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-contract_staking-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-contract_staking-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
Expand Down Expand Up @@ -565,15 +565,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-fmt-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-fmt-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add rustfmt component
Expand Down Expand Up @@ -611,15 +611,15 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.57.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-clippy-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
key: cargocache-v2-clippy-rust:1.57.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add clippy component
Expand Down
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pull_request_rules:
- "status-success=ci/circleci: contract_hackatom"
- "status-success=ci/circleci: contract_ibc_reflect"
- "status-success=ci/circleci: contract_ibc_reflect_send"
- "status-success=ci/circleci: contract_floaty"
- "status-success=ci/circleci: contract_queue"
- "status-success=ci/circleci: contract_reflect"
- "status-success=ci/circleci: contract_staking"
Expand Down
9 changes: 8 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"proseWrap": "always"
"overrides": [
{
"files": "*.md",
"options": {
"proseWrap": "always"
}
}
]
}
Loading