-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update osmosis tests #512
Update osmosis tests #512
Conversation
Deploying abstract-docs with Cloudflare Pages
|
Depends on AbstractSDK/cw-orchestrator#511 |
for $interface_name<Chain> | ||
{ | ||
fn wasm(_chain: &::cw_orch::prelude::ChainInfoOwned) -> ::cw_orch::prelude::WasmPath { | ||
let build_postfix = { | ||
#[cfg(feature = "mock-deployment")] | ||
{ | ||
cw_orch::build::BuildPostfix::Custom("mock".to_string()) | ||
} | ||
#[cfg(not(feature = "mock-deployment"))] | ||
{ | ||
cw_orch::build::BuildPostfix::None | ||
} | ||
}; | ||
let wasm_name = env!("CARGO_CRATE_NAME").replace('-', "_"); | ||
::cw_orch::prelude::ArtifactsDir::auto(Some(env!("CARGO_MANIFEST_DIR").to_string())) | ||
.find_wasm_path(&wasm_name) | ||
.find_wasm_path_with_build_postfix(&wasm_name, build_postfix) | ||
.unwrap() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this one, but I don't know how to solve it better in current implementation.
Issue that it will require the module to have exactly module-deployment
feature. This issue comes out because we generate this code with macro and feature checks is happening after macro gets evaluated inside user crate, and not on abstract-app
level
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buckram123 so this will be removed with the new solution right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Buckram123 so this will be removed with the new solution right?
Drafting this PR for now. But yes, hopefully all magic would be limited in a build script
Closed in favor #528 |
Now that osmosis and test-tube updated to cosmwasm v2 we can enable integration and tests back
This PR introduces mock binaries and
mock-deploy
feature with open mnemonic to the abstract, it allows publishing abstract in a mocked chains: local, test tubes or starship