Skip to content
Snippets Groups Projects

update to runtime 800

Merged Hugo Trentesaux requested to merge hugo-dev into master
2 unresolved threads
5 files
+ 168
60
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 7
2
@@ -13,13 +13,18 @@ pub async fn request_distance_evaluation(data: &Data) -> Result<(), subxt::Error
}
/// request distance evaluation for someone else (must be unvalidated)
pub async fn request_distance_evaluation_for(data: &Data, target: IdtyId) -> Result<(), subxt::Error> {
pub async fn request_distance_evaluation_for(
data: &Data,
target: IdtyId,
) -> Result<(), subxt::Error> {
submit_call_and_look_event::<
runtime::distance::events::EvaluationRequested,
Payload<runtime::distance::calls::types::RequestDistanceEvaluationFor>,
>(
data,
&runtime::tx().distance().request_distance_evaluation_for(target),
&runtime::tx()
.distance()
.request_distance_evaluation_for(target),
)
.await
}
Loading