Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwelde committed Oct 26, 2021
1 parent 9b23194 commit 5069bb2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const chainProperties = TYPE_REGISTRY.createType('ChainProperties', {
ss58Format: 38,
})
TYPE_REGISTRY.setChainProperties(chainProperties)
TYPE_REGISTRY.register({
AttestationAttestationsAttestationDetails: 'AttestationDetails',
})

const AccountId = TYPE_REGISTRY.getOrThrow('AccountId')

Expand Down Expand Up @@ -41,7 +44,9 @@ const chainQueryReturnTuples: {
},
attestation: {
// Attestations: claim-hash -> (ctype-hash, attester-account, delegation-id?, revoked, deposit)?
attestations: TYPE_REGISTRY.getOrUnknown('AttestationDetails'),
attestations: TYPE_REGISTRY.getOrUnknown(
'AttestationAttestationsAttestationDetails'
),
// DelegatedAttestations: delegation-id -> [claim-hash]
delegatedAttestations: TYPE_REGISTRY.getOrUnknown('Hash'),
},
Expand Down

0 comments on commit 5069bb2

Please sign in to comment.