@@ -49,9 +49,9 @@ impl frame_benchmarking_cli::ExtrinsicBuilder for RemarkBuilder {
49
49
fn build ( & self , nonce : u32 ) -> std:: result:: Result < OpaqueExtrinsic , & ' static str > {
50
50
with_client ! {
51
51
self . client. as_ref( ) , client, {
52
- use runtime:: { Call , SystemCall } ;
52
+ use runtime:: { RuntimeCall , SystemCall } ;
53
53
54
- let call = Call :: System ( SystemCall :: remark { remark: vec![ ] } ) ;
54
+ let call = RuntimeCall :: System ( SystemCall :: remark { remark: vec![ ] } ) ;
55
55
let signer = Sr25519Keyring :: Bob . pair( ) ;
56
56
57
57
let period = polkadot_runtime_common:: BlockHashCount :: get( ) . checked_next_power_of_two( ) . map( |c| c / 2 ) . unwrap_or( 2 ) as u64 ;
@@ -92,9 +92,9 @@ impl frame_benchmarking_cli::ExtrinsicBuilder for TransferKeepAliveBuilder {
92
92
fn build ( & self , nonce : u32 ) -> std:: result:: Result < OpaqueExtrinsic , & ' static str > {
93
93
with_client ! {
94
94
self . client. as_ref( ) , client, {
95
- use runtime:: { Call , BalancesCall } ;
95
+ use runtime:: { RuntimeCall , BalancesCall } ;
96
96
97
- let call = Call :: Balances ( BalancesCall :: transfer_keep_alive {
97
+ let call = RuntimeCall :: Balances ( BalancesCall :: transfer_keep_alive {
98
98
dest: self . dest. clone( ) . into( ) ,
99
99
value: self . value. into( ) ,
100
100
} ) ;
@@ -113,14 +113,14 @@ impl frame_benchmarking_cli::ExtrinsicBuilder for TransferKeepAliveBuilder {
113
113
///
114
114
/// Should only be used for benchmarking since it makes strong assumptions
115
115
/// about the chain state that these calls will be valid for.
116
- trait BenchmarkCallSigner < Call : Encode + Clone , Signer : Pair > {
116
+ trait BenchmarkCallSigner < RuntimeCall : Encode + Clone , Signer : Pair > {
117
117
/// Signs a call together with the signed extensions of the specific runtime.
118
118
///
119
119
/// Only works if the current block is the genesis block since the
120
120
/// `CheckMortality` check is mocked by using the genesis block.
121
121
fn sign_call (
122
122
& self ,
123
- call : Call ,
123
+ call : RuntimeCall ,
124
124
nonce : u32 ,
125
125
current_block : u64 ,
126
126
period : u64 ,
@@ -130,12 +130,12 @@ trait BenchmarkCallSigner<Call: Encode + Clone, Signer: Pair> {
130
130
}
131
131
132
132
#[ cfg( feature = "polkadot" ) ]
133
- impl BenchmarkCallSigner < polkadot_runtime:: Call , sp_core:: sr25519:: Pair >
133
+ impl BenchmarkCallSigner < polkadot_runtime:: RuntimeCall , sp_core:: sr25519:: Pair >
134
134
for FullClient < polkadot_runtime:: RuntimeApi , PolkadotExecutorDispatch >
135
135
{
136
136
fn sign_call (
137
137
& self ,
138
- call : polkadot_runtime:: Call ,
138
+ call : polkadot_runtime:: RuntimeCall ,
139
139
nonce : u32 ,
140
140
current_block : u64 ,
141
141
period : u64 ,
@@ -186,12 +186,12 @@ impl BenchmarkCallSigner<polkadot_runtime::Call, sp_core::sr25519::Pair>
186
186
}
187
187
188
188
#[ cfg( feature = "westend" ) ]
189
- impl BenchmarkCallSigner < westend_runtime:: Call , sp_core:: sr25519:: Pair >
189
+ impl BenchmarkCallSigner < westend_runtime:: RuntimeCall , sp_core:: sr25519:: Pair >
190
190
for FullClient < westend_runtime:: RuntimeApi , WestendExecutorDispatch >
191
191
{
192
192
fn sign_call (
193
193
& self ,
194
- call : westend_runtime:: Call ,
194
+ call : westend_runtime:: RuntimeCall ,
195
195
nonce : u32 ,
196
196
current_block : u64 ,
197
197
period : u64 ,
@@ -240,12 +240,12 @@ impl BenchmarkCallSigner<westend_runtime::Call, sp_core::sr25519::Pair>
240
240
}
241
241
242
242
#[ cfg( feature = "kusama" ) ]
243
- impl BenchmarkCallSigner < kusama_runtime:: Call , sp_core:: sr25519:: Pair >
243
+ impl BenchmarkCallSigner < kusama_runtime:: RuntimeCall , sp_core:: sr25519:: Pair >
244
244
for FullClient < kusama_runtime:: RuntimeApi , KusamaExecutorDispatch >
245
245
{
246
246
fn sign_call (
247
247
& self ,
248
- call : kusama_runtime:: Call ,
248
+ call : kusama_runtime:: RuntimeCall ,
249
249
nonce : u32 ,
250
250
current_block : u64 ,
251
251
period : u64 ,
@@ -294,12 +294,12 @@ impl BenchmarkCallSigner<kusama_runtime::Call, sp_core::sr25519::Pair>
294
294
}
295
295
296
296
#[ cfg( feature = "rococo" ) ]
297
- impl BenchmarkCallSigner < rococo_runtime:: Call , sp_core:: sr25519:: Pair >
297
+ impl BenchmarkCallSigner < rococo_runtime:: RuntimeCall , sp_core:: sr25519:: Pair >
298
298
for FullClient < rococo_runtime:: RuntimeApi , RococoExecutorDispatch >
299
299
{
300
300
fn sign_call (
301
301
& self ,
302
- call : rococo_runtime:: Call ,
302
+ call : rococo_runtime:: RuntimeCall ,
303
303
nonce : u32 ,
304
304
current_block : u64 ,
305
305
period : u64 ,
0 commit comments