Skip to content

Commit

Permalink
deps: promote rust-optimizer to 0.15 (#22)
Browse files Browse the repository at this point in the history
* deps: promoted cosmwasm/optimizer

* ci: bumped optimizer for owner

* deps(testing/owner): bumped optimizer

* docs: updated readme
  • Loading branch information
srdtrk authored Nov 22, 2023
1 parent 2fdc401 commit 4c56599
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="devcontract_cache_burner",target=/code/contracts/burner/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.14.0 ./testing/contracts/cw-ica-owner
cosmwasm/optimizer:0.15.0 ./testing/contracts/cw-ica-owner
- name: Install cargo-run-script
uses: actions-rs/cargo@v1
with:
Expand Down
8 changes: 1 addition & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ repository = "https://github.com/srdtrk/cw-ica-controller"
license = "Apache-2.0"
readme = "README.md"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
Expand Down Expand Up @@ -41,7 +35,7 @@ export = []
optimize = """docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.14.0
cosmwasm/optimizer:0.15.0
"""

[dependencies]
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ pub struct InstantiateMsg {
/// If not specified, the IBC channel is not initialized, and the relayer must.
#[serde(skip_serializing_if = "Option::is_none")]
pub channel_open_init_options: Option<options::ChannelOpenInitOptions>,
/// The contract address that the channel and packet lifecycle callbacks are sent to.
/// If not specified, then no callbacks are sent.
#[serde(skip_serializing_if = "Option::is_none")]
pub send_callbacks_to: Option<String>,
}
```

Expand Down
8 changes: 1 addition & 7 deletions testing/contracts/cw-ica-owner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ version = "0.1.0"
authors = ["srdtrk <srdtrk@hotmail.com>"]
edition = "2021"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
Expand All @@ -36,7 +30,7 @@ library = []
optimize = """docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.14.0
cosmwasm/optimizer:0.15.0
"""

[dependencies]
Expand Down

0 comments on commit 4c56599

Please sign in to comment.