-
Notifications
You must be signed in to change notification settings - Fork 20
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
Separate Querier and TxHandler #298
Conversation
Deploying with Cloudflare Pages
|
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.
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 Have you merged anything that was breaking? |
|
Codecov ReportAttention:
Additional details and impacted files
|
In standby until #318 is done |
* show POC of generalized querier getter * update * fix merge and impl for all envs * Doon't verify mockj error anymore * Fixed test * update `QueryHandler` and WasmQuerier functions * fix smart query URL * fix compile * format and clippy --------- Co-authored-by: Kayanski <kowalski.kowalskin@gmail.com>
* Added instantiate2 * some fixes * Added instantiate2 addr getter * Format * Nits
…orchestrator into update/separate-query-tx
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.
Think some code can be removed and daemon queriers should be constructed with runtime by default
|
||
impl QuerierGetter<Staking> for Daemon { | ||
fn querier(&self) -> Staking { | ||
Staking::new_async(self.channel()) |
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.
Can it not get the runtime handle from the daemon object?
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.
But it can. Keeping the same structure as for Queriers with traits
This PR aims at separating the querying and the transaction signing capabilities of CwEnv.
Closes ORC-61
Changes