mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Remove deprecated host functions (#5038)
Sadly we need to keep one function `ext_blake2_256`. This function is manually defined in `sp-core`.
This commit is contained in:
@@ -33,7 +33,6 @@ fn call_wasm_method<HF: HostFunctionsT>(method: &str) -> TestExternalities {
|
||||
(
|
||||
HF,
|
||||
sp_io::SubstrateHostFunctions,
|
||||
sc_executor::deprecated_host_interface::SubstrateExternals
|
||||
)
|
||||
>(
|
||||
method,
|
||||
@@ -128,3 +127,8 @@ fn test_encoded_return_value_memory_is_freed() {
|
||||
fn test_array_return_value_memory_is_freed() {
|
||||
call_wasm_method::<HostFunctions>("test_array_return_value_memory_is_freed");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ext_blake2_256() {
|
||||
call_wasm_method::<HostFunctions>("test_ext_blake2_256");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user