Use named parameters for indirect calls (#1823)

This commit is contained in:
Serban Iorga
2023-01-27 14:13:25 +02:00
committed by Bastian Köcher
parent a417c707d6
commit 5d875d05d3
12 changed files with 77 additions and 43 deletions
@@ -96,7 +96,7 @@ mod tests {
set_id: 6,
operating_mode: BasicOperatingMode::Normal,
};
let call = BridgeRococoGrandpaCall::initialize(init_data);
let call = BridgeRococoGrandpaCall::initialize { init_data };
let tx = Call::BridgeRococoGrandpa(call);
// encode call as hex string