Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anilcse committed Nov 9, 2024
1 parent 653a4eb commit cdad6ec
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ workflows:
filters:
branches:
only:
- master
- main
- docker-tagged:
filters:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Compile WASM contract
uses: actions-rs/cargo@v1
with:
command: wasm
command: run wasm
args: --locked
env:
RUSTFLAGS: "-C link-arg=-s"
Expand Down
10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
[package]
name = "cw-otc-dex"
description = "CosmWasm OTC Trading Platform"
version = "0.1.0"
authors = ["anilcse <[email protected]>"]
edition = "2021"

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

[lib]
crate-type = ["cdylib", "rlib"]

[[example]]
name = "schema"
path = "examples/schema.rs"


[lib]
crate-type = ["cdylib", "rlib"]

[profile.release]
opt-level = 3
debug = false
Expand All @@ -34,7 +36,7 @@ library = []
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.12.6
cosmwasm/rust-optimizer:0.14.0
"""

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pub mod contract;
pub mod error;
pub mod helpers;
pub mod msg;
pub mod state;
pub mod state;

0 comments on commit cdad6ec

Please sign in to comment.