mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Cherry-pick 28308dfe85387fe54c14076089a40c5af1f1b8f7
This commit is contained in:
@@ -66,24 +66,22 @@ pub fn create_benchmark_extrinsic(
|
||||
|
||||
runtime::UncheckedExtrinsic::new_signed(
|
||||
call.clone(),
|
||||
sp_runtime::AccountId32::from(sender.public()).into(),
|
||||
runtime::Signature::Sr25519(
|
||||
runtime::SignedPayload::from_raw(
|
||||
call,
|
||||
extra.clone(),
|
||||
(
|
||||
(),
|
||||
runtime::VERSION.spec_version,
|
||||
runtime::VERSION.transaction_version,
|
||||
client.block_hash(0).ok().flatten().unwrap(),
|
||||
client.chain_info().best_hash,
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
)
|
||||
.using_encoded(|e| sender.sign(e)),
|
||||
),
|
||||
sender.public(),
|
||||
runtime::SignedPayload::from_raw(
|
||||
call,
|
||||
extra.clone(),
|
||||
(
|
||||
(),
|
||||
runtime::VERSION.spec_version,
|
||||
runtime::VERSION.transaction_version,
|
||||
client.block_hash(0).ok().flatten().unwrap(),
|
||||
client.chain_info().best_hash,
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
)
|
||||
.using_encoded(|e| sender.sign(e)),
|
||||
extra,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user