mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
Remove native call (#12201)
* Remove native call With the recent introduction of staging runtime apis the native call wasn't supported anymore. This removes the entire support for this as it is not used anymore. * FMT * Fix benchmarks * FIX ui tests
This commit is contained in:
@@ -322,7 +322,6 @@ mod tests {
|
||||
use sp_core::{
|
||||
map,
|
||||
traits::{CodeExecutor, RuntimeCode},
|
||||
NeverNativeValue,
|
||||
};
|
||||
use sp_io::{hashing::twox_128, TestExternalities};
|
||||
use substrate_test_runtime_client::{AccountKeyring, Sr25519Keyring};
|
||||
@@ -406,14 +405,7 @@ mod tests {
|
||||
};
|
||||
|
||||
executor()
|
||||
.call::<NeverNativeValue, fn() -> _>(
|
||||
&mut ext,
|
||||
&runtime_code,
|
||||
"Core_execute_block",
|
||||
&b.encode(),
|
||||
false,
|
||||
None,
|
||||
)
|
||||
.call(&mut ext, &runtime_code, "Core_execute_block", &b.encode(), false)
|
||||
.0
|
||||
.unwrap();
|
||||
})
|
||||
@@ -515,14 +507,7 @@ mod tests {
|
||||
};
|
||||
|
||||
executor()
|
||||
.call::<NeverNativeValue, fn() -> _>(
|
||||
&mut ext,
|
||||
&runtime_code,
|
||||
"Core_execute_block",
|
||||
&b.encode(),
|
||||
false,
|
||||
None,
|
||||
)
|
||||
.call(&mut ext, &runtime_code, "Core_execute_block", &b.encode(), false)
|
||||
.0
|
||||
.unwrap();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user