Box large arguments of GRANDPA pallet (#1154)

* box large arguments

* benchmarks

* fix
This commit is contained in:
Svyatoslav Nikolsky
2021-09-22 13:20:10 +03:00
committed by Bastian Köcher
parent 782d37522f
commit 084da4343d
18 changed files with 67 additions and 33 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ pub enum SystemCall {
pub enum BridgeGrandpaRococoCall {
#[codec(index = 0)]
submit_finality_proof(
<PolkadotLike as Chain>::Header,
Box<<PolkadotLike as Chain>::Header>,
bp_header_chain::justification::GrandpaJustification<<PolkadotLike as Chain>::Header>,
),
#[codec(index = 1)]