Skip to content

Commit

Permalink
linera-execution: remove redundant TODO
Browse files Browse the repository at this point in the history
We actually can't remove this `Send` and `Sync` until we can send the
`ExecutionStateRequest`s via `postMessage`, i.e. issue linera-io#2552.  That
issue is far enough divorced from this code that I don't want to link
it here, so let's just remove the TODO.
  • Loading branch information
Twey committed Nov 4, 2024
1 parent 8821dbe commit 09a970e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion linera-execution/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ pub type UserContractInstance = Box<dyn UserContract>;
pub type UserServiceInstance = Box<dyn UserService>;

/// A factory trait to obtain a [`UserContract`] from a [`UserContractModule`]
// TODO: remove `Send` and `Sync` from here
pub trait UserContractModule: dyn_clone::DynClone + Any + task::Post + Send + Sync {
fn instantiate(
&self,
Expand Down

0 comments on commit 09a970e

Please sign in to comment.