BlockId removal: refactor: CallExecutor trait (#13173)

* BlockId removal: refactor: CallExecutor trait

It changes the arguments of CallExecutor methods:
-  `call`, 'contextual_call', 'runtime_version', 'prove_execution'

from: `BlockId<Block>` to: `Block::Hash`

This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

* ".git/.scripts/commands/fmt/fmt.sh"

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: command-bot <>
This commit is contained in:
authored and GitHub committed 2023-01-24 12:52:01 +00:00
1 parent d2fcebef40
commit 025f9d9ba3
8 files changed
+55 -56

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ where
self.client
.executor()
.call(
&BlockId::Hash(block),
block,
&method,
&call_data,
self.client.execution_extensions().strategies().other,