Open ewoolsey opened 1 year ago
Hi Eric,
Could you clarify the issue? astroport-pair has astroport v2.8.0 dependency which can be found on crates.io.
Could you clarify the issue?
Ah yeah sorry if I wasn't clean. I'll give a concrete example.
So none of the versions line up between astroport-pair
and astro-port
.
fn example(deps: DepsMut, env: Env, info: MessageInfo) {
let msg = astroport::pair::ExecuteMsg::ClaimOwnership {}, // <--- The version of ExecuteMsg used here
astroport_pair::contract::execute(deps, env, info, msg); // <--- Is incompatible with the one expected here
}
For testing my smart contracts I'm using
cw-multi-test
which means that I need both the Message type definitions and the smart contract entry points (eg:execute
,query
) together. Bringing in both of these crates results in a type collision because they are not connected together properly on crates.io. This is likely due to the versions being incompatible.