Closed Kayanski closed 9 months ago
Latest commit: |
ee2ab1d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://83874985.cw-orchestrator.pages.dev |
Branch Preview URL: | https://update-separate-query-tx.cw-orchestrator.pages.dev |
Deprecation issues
The block_info function of TxHandler is now marked as deprecated but we can't implement the exact same function on the QueryHandler trait because it would conflict with this function as long as it exists.
I think that we need to publish a breaking version for this change because of that !
Traits can have the same function. When calling the function the user needs to have either of the traits imported. If they are both imported they need to specify which trait they want to use. i.e.
TxHandler::block_info(chain)
So no breaking change required here afaik
Deprecation issues
The block_info function of TxHandler is now marked as deprecated but we can't implement the exact same function on the QueryHandler trait because it would conflict with this function as long as it exists. I think that we need to publish a breaking version for this change because of that !
Traits can have the same function. When calling the function the user needs to have either of the traits imported. If they are both imported they need to specify which trait they want to use. i.e.
TxHandler::block_info(chain)
So no breaking change required here afaik
The error that show up at the following line shows exactly what I meant with this comment : https://github.com/AbstractSDK/cw-orchestrator/blob/update/separate-query-tx/contracts/counter/src/interface.rs#L48
Can we maybe start working with milestones in github for breaking versions? I created one for 0.20
Have you merged anything that was breaking?
Can we maybe start working with milestones in github for breaking versions? I created one for
0.20
--> OKHave you merged anything that was breaking? --> No
Attention: 491 lines
in your changes are missing coverage. Please review.
Comparison is base (
f39ab04
) 66.4% compared to head (ee2ab1d
) 65.4%. Report is 2 commits behind head on main.
In standby until https://github.com/AbstractSDK/cw-orchestrator/pull/318 is done
This PR aims at separating the querying and the transaction signing capabilities of CwEnv.
Closes ORC-61
Changes