mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
Prevent double allocation of the payload when calling sp_io::storage::get (#11523)
* Expose allocation stats in `FreeingBumpHeapAllocator` * Return allocation stats when calling into the runtime * Bump `parity-scale-codec` to 3.1.3 (fork) * Prevent double allocation of the payload when calling `sp_io::storage::get` * Fix tests * Remove unnecessary `mut` * Enable the `bytes` feature for `parity-scale-codec` in `sp-runtime-interface` * Update client/allocator/src/freeing_bump.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Bump `parity-scale-codec` to 3.1.3 * Fix some of the UI tests Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Generated
+4
@@ -6516,6 +6516,7 @@ dependencies = [
|
||||
"arrayvec 0.7.2",
|
||||
"bitvec",
|
||||
"byte-slice-cast",
|
||||
"bytes",
|
||||
"impl-trait-for-tuples",
|
||||
"parity-scale-codec-derive",
|
||||
"serde",
|
||||
@@ -9731,6 +9732,7 @@ dependencies = [
|
||||
name = "sp-io"
|
||||
version = "6.0.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"futures",
|
||||
"hash-db",
|
||||
"libsecp256k1",
|
||||
@@ -9889,6 +9891,7 @@ dependencies = [
|
||||
name = "sp-runtime-interface"
|
||||
version = "6.0.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"impl-trait-for-tuples",
|
||||
"parity-scale-codec",
|
||||
"primitive-types",
|
||||
@@ -9938,6 +9941,7 @@ dependencies = [
|
||||
name = "sp-runtime-interface-test-wasm"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"sp-core",
|
||||
"sp-io",
|
||||
"sp-runtime-interface",
|
||||
|
||||
Reference in New Issue
Block a user