Closed bbbbbbboc closed 5 months ago
Hey, to setup workspace from this repo all you need to do is 4 really small steps:
contracts
directory and app-name
inside itexamples/
, src/
tests/
and Cargo.toml
inside app-name
justfile
rename cosmwasm/rust-optimizer
to cosmwasm/workspace-optimizer
(there are 2 arm and non-arm based)
[workspace]
members = ["contracts/*"]
resolver = "2"
[profile.release] rpath = false lto = true overflow-checks = true opt-level = 3 debug = false debug-assertions = false codegen-units = 1 panic = 'abort' incremental = false
1 commit example: 44cd2bf
@bbbbbbboc we've also just released a new version of the template that is a workspace. You can choose to do it with packages as well: https://github.com/AbstractSDK/app-template/releases/tag/v0.22.0-rc.1
thanks guys, i'm already using the latest version that supports multi contracts!
I want to have a multiple contract app with structure like this
I see the carrot saving repo has this structure, how is that repo instantiated?