refactor: Add more low-level methods to Executor (#14440)

This commit is contained in:
Arsenii Kulikov
2025-02-12 15:15:01 +04:00
committed by GitHub
parent 9a805b06db
commit 48bffd418f
9 changed files with 292 additions and 192 deletions

View File

@ -241,6 +241,10 @@ where
&mut self.state
}
fn into_state(self) -> State<Self::DB> {
self.state
}
fn with_state_hook(&mut self, hook: Option<Box<dyn OnStateHook>>) {
self.system_caller.with_state_hook(hook);
}