mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 05:59:49 +00:00
Name all the tasks! (#6726)
* Remove any implementation of `Spawn` or `Executor` from our task executors * Fix compilation * Rename `SpawnBlockingExecutor` * Update primitives/core/src/traits.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Fix tests Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
1 parent
2ec131142b
commit
9310f15ac2
43 files changed
+280
-280
No files matched your search
@@ -871,7 +871,11 @@ mod tests {
|
||||
#[test]
|
||||
#[should_panic(expected = "Signature verification has not been called")]
|
||||
fn batching_still_finishes_when_not_called_directly() {
|
||||
let mut ext = sp_state_machine::BasicExternalities::with_tasks_executor();
|
||||
let mut ext = sp_state_machine::BasicExternalities::default();
|
||||
ext.register_extension(
|
||||
sp_core::traits::TaskExecutorExt::new(sp_core::testing::TaskExecutor::new()),
|
||||
);
|
||||
|
||||
ext.execute_with(|| {
|
||||
let _batching = SignatureBatching::start();
|
||||
sp_io::crypto::sr25519_verify(
|
||||
|
||||
Reference in new issue
Block a user