Skip to content

Commit

Permalink
Merge pull request #8 from FigureTechnologies/jerad/force-transfer-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeradhoy authored Dec 19, 2024
2 parents df4df2d + 7149c03 commit a498972
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 1,718 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
[workspace]
members = ["crates/*"]
members = ["crates/*"]
resolver = "2"

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ all: clean contracts

.PHONY: contracts
contracts:
make optimize -f crates/contract/Makefile
rm -rf target
@docker run --rm -v $(CURDIR):/code \
--mount type=volume,source="contract_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.16.0 ./crates/contract

.PHONY: clean
clean:
Expand Down
11 changes: 0 additions & 11 deletions crates/contract-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ exclude = [
[lib]
crate-type = ["cdylib", "rlib"]

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true

[features]
# use library feature to disable all instantiate/execute/query exports
library = []
Expand Down
Loading

0 comments on commit a498972

Please sign in to comment.