Skip to content

Commit

Permalink
fix: add block numbers and assertion text (#2481)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfaisal committed Feb 12, 2024
1 parent 943345c commit 5519682
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,14 @@ where
)
})?;

credential.parachain_block_number = self.req.parachain_block_number;
credential.sidechain_block_number = self.req.sidechain_block_number;

credential.credential_subject.endpoint =
self.context.data_provider_config.credential_endpoint.to_string();

credential.credential_subject.assertion_text = format!("{:?}", self.req.assertion);

credential.issuer.id =
Identity::Substrate(enclave_account.into()).to_did().map_err(|e| {
VCMPError::RequestVCFailed(
Expand Down

0 comments on commit 5519682

Please sign in to comment.